Skip to content
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Stored XSS in Netgear-SRX5308 Router

Overview

* Type: Stored XSS
* Supplier: Netgear (https://www.netgear.com/)
* URL: https://192.168.1.1/scgi-bin/platform.cgi?page=ike_policies.htm
* Product: SRX5308 – ProSAFE Quad WAN Gigabit SSL VPN Firewall
* Affect version: (lastest) 4.3.5-3
* Firmware download: https://www.downloads.netgear.com/files/GDC/SRX5308/SRX5308_V4.3.5-3.zip

Description

The stored XSS vulnerability is at the web management interface of the affected routers. The vulnerability results from improper validation of user-supplied input in the web-based management interface. An attacker could exploit the vulnerability by sending the crafted HTTP request to affected devices.

The injection exits at the parameter "IpsecIKEPolicy.IKEPolicyName" parameter which isn't sanitized.

Business Impact

The stored XSS vulnerability is severe and could result in serious damage. Thus the vulnerability is very dangerous which could also result in reputational damage for the business through the impact on customers' trust.

Steps to Reproduce

I have put the PoC (exp.py) in attachments, configure several parameters and execute it, you will see an alert window poping up. The parameters are as below:

  1. username, password: visit the device's web interface (default: admin, password).
  2. device_web_ip: web IP address of the target device.

Proof of Concept

After executing the PoC, the xss payload is injected into the device, then login the web through browser and visit victim url "https://192.168.1.1/scgi-bin/platform.cgi?page=ike_policies.htm", an alert window will pop up.