header-logo
Suggest Exploit
vendor:
D1500 Home Router
by:
Securityium
8,8
CVSS
HIGH
Stored XSS
79
CWE
Product Name: D1500 Home Router
Affected Version From: V1.0.0.21_1.0.1PE
Affected Version To: V1.0.0.21_1.0.1PE
Patch Exists: NO
Related CWE: N/A
CPE: h:netgear:d1500-100pes-a
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: NetGear D1500 Home Router
2018

NetGear D1500 V1.0.0.21_1.0.1PE – ‘Wireless Repeater’ Stored Cross-Site Scripting (XSS)

If any admin is logged on the router admin panel. if he/she try to connect any other SSID for Wireless Repeating Function. that time they need to check available SSID surrounding. that name is not sanitized properly before showing on the web's admin panel which leads to Stored XSS.

Mitigation:

Input validation should be done to sanitize the user input before displaying it on the web page.
Source

Exploit-DB raw data:

# Exploit Title: NetGear D1500 V1.0.0.21_1.0.1PE - 'Wireless Repeater' Stored Cross-Site Scripting (XSS)
# Date: 21 Dec 2018
# Exploit Author: Securityium 
# Vendor Homepage: https://www.netgear.com/
# Version: V1.0.0.21_1.0.1PE
# Tested on: NetGear D1500 Home Router
# Contact: assessors@securityium.com


Version :
Hardware version: D1500-100PES-A
Firmware Version : V1.0.0.21_1.0.1PE

Step to Reproduce Video: https://www.youtube.com/watch?v=JcRYxH93E5E

Tested Network: Local LAN

SSID Details:
Attacker SSID : <script>confirm(222)</sciprt>

Attack Description :
If any admin is logged on the router admin panel. if he/she try to connect any other SSID for Wireless Repeating Function. that time they need to check available SSID surrounding. that name is not sanitized properly before showing on the web's admin panel which leads to Stored XSS. This issue was discovered by Touhid M.Shaikh (@touhidshaikh22)

Attack Impact:
The attacker can steal the cookies of the admin.

Step to Reproduce:
For Attacker:
1) First, you need to create a hotspot with a vulnerable SSID name. (which you want to get executed on the remote router's admin panel.)
2) In my case, I have created a hotspot from my mobile phone and gives an SSID name to <script>confirm(22)</script>

For routers admin
3) Logged in as admin.
2) Go to Advanced --> Advanced Setup --> Wireless Repeating Function
3) Enable Wireless Repeating Function
4) click on check.

wait for the checking scan to finish and display the surrounding networks list.