Skip to content

RDKEMW-25984 : Remove GET parameter support to prevent CSRF in ajaxSet_wireless_network_configuration - #204

Open
andrejz2 wants to merge 6 commits into
developfrom
topic/RDKEMW-25984
Open

andrejz2 wants to merge 6 commits into
developfrom
topic/RDKEMW-25984

Conversation

@andrejz2

@andrejz2 andrejz2 commented Sep 30, 2026 •

Copy link
Copy Markdown

RDKEMW-25984: Remove GET parameter support to prevent CSRF in ajaxSet_wireless_network_configuration

Remove GET parameter support for configInfo in both ajaxSet_wireless_network_configuration.jst and ajaxSet_wireless_network_configuration_onewifi.jst. This prevents CSRF attacks where an attacker could use GET requests to trigger WiFi configuration changes (WPS PushButton, MAC filter rewrite) via cross-site image tags or similar techniques. The endpoint now only accepts POST requests.

Adds a focused security regression test that verifies GET support is removed.

Parent Story: RDKEMW-25944

Reason for change: Security remediation for vulnerability identified in FAIM harness analysis.

Test Procedure: Run the focused security regression test added in this PR. Verify the security fix is in place and the vulnerability is mitigated.

Risks: Low

Priority: P2

Parent Story: RDKEMW-25944

…_wireless_network_configuration

Remove GET parameter support for configInfo in both ajaxSet_wireless_network_configuration.jst and ajaxSet_wireless_network_configuration_onewifi.jst. This prevents CSRF attacks where an attacker could use GET requests to trigger WiFi configuration changes (WPS PushButton, MAC filter rewrite) via cross-site image tags or similar techniques. The endpoint now only accepts POST requests.

Adds a focused security regression test that verifies GET support is removed.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 30, 2026 03:25
@andrejz2
andrejz2 requested review from a team as code owners September 30, 2026 03:25

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@andrejz2 andrejz2 changed the title RDKEMW-25984: Remove GET parameter support to prevent CSRF in ajaxSet_wireless_network_configuration RDKEMW-25984 : Remove GET parameter support to prevent CSRF in ajaxSet_wireless_network_configuration Sep 30, 2026
@andrejz2 andrejz2 changed the title RDKEMW-25984 : Remove GET parameter support to prevent CSRF in ajaxSet_wireless_network_configuration RDKEMW-25984 : Remove GET parameter support to prevent CSRF in ajaxSet_wireless_network_configuration Sep 30, 2026
azerom960 and others added 5 commits September 30, 2026 01:13
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com]
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…al retry)

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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