Skip to content

RDKB-65516 : SSO - Local LAN Bypass - #228

Open
pavankumar464 wants to merge 1 commit into
developfrom
bug/RDKB-65516
Open

pavankumar464 wants to merge 1 commit into
developfrom
bug/RDKB-65516

Conversation

@pavankumar464

Copy link
Copy Markdown
Contributor

Reason for change: WebUI - SSO - Local LAN Bypass
Test Procedure: Test for WebUI access
Risks: Low
Priority: P1

@pavankumar464
pavankumar464 requested review from a team as code owners October 27, 2026 08:49
Copilot AI balanced review requested due to automatic review settings October 27, 2026 08:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The token callback bypasses the interface restriction, while the POST restriction rejects supported Ethernet/PON MSO access.

2 open issues
What changed in this PR

This PR aims to prevent local-LAN bypass of MSO single sign-on in the WebUI authentication handler.

Changes:

  • Restricts MSO POST logins to the cm_ip interface classification.
  • Checks token type and segment count before JWT verification.
  • Normalizes cable-modem interface addresses before comparison.
File Description
source/​Styles/​xb3/​jst/​check.jst Adds login-interface restrictions, token format checks, and IP normalization.

Review effort: Balanced

Comment on lines +430 to +431
if ($cnt == 3) {
$tokenvalid = VerifyToken( $ADToken );
if ($_POST["username"] == "mso")
{
if ($iface == "lan_ip" || $iface == "docsis_ip") {
if($iface != "cm_ip"){
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants