Netgear SPH200D Multiple Vulnerabilities

EDB-ID: 24441 CVE: N/A OSVDB-ID: 89748...
Verified: Author: m-1-k-3 Published: 2013-01-31
Download Exploit: Source Raw Download Vulnerable App: N/A
Device Name: SPH200D
Vendor: Netgear

============ Vulnerable Firmware Releases: ============

Firmware Version :
Kernel Version : 4.1-18
Web Server Version : 1.5

============ Device Description: ============

============ Shodan Torks ============

Shodan Search: SPH200D
=> Results 337 devices

============ Vulnerability Overview: ============

* directory traversal: 

Access local files of the device. You need to be authenticated or you have to find other methods for accessing the device.


HTTP/1.0 200 OK
Content-type: text/plain
Expires: Sat, 24 May 1980.7:00:00.GMT
Pragma: no-cache
Server: simple httpd 1.0

demo:x:5000:100:Demo User:/home/demo:/bin/bash

If you request a directory you will get a very nice directory listing for browsing through the filesystem:

HTTP/1.0 200 OK
Content-type: text/html
Expires: Sat, 24 May 1980.7:00:00.GMT
Pragma: no-cache
Server: simple httpd 1.0

<H1>Index of ../../var/</H1>

<p><a href="/../../var/.">.</a></p>
<p><a href="/../../var/..">..</a></p>
<p><a href="/../../var/.Skype">.Skype</a></p>
<p><a href="/../../var/jffs2">jffs2</a></p>
<p><a href="/../../var/htdocs">htdocs</a></p>
<p><a href="/../../var/cnxt">cnxt</a></p>
<p><a href="/../../var/ppp">ppp</a></p>
<p><a href="/../../var/conf">conf</a></p>
<p><a href="/../../var/bin">bin</a></p>
<p><a href="/../../var/usr">usr</a></p>
<p><a href="/../../var/tmp">tmp</a></p>

So with this information you are able to access the skype configuration with the following request:


* For changing the current password there is no request to the current password 

With this vulnerability an attacker is able to change the current password without knowing it. The attacker needs access to an authenticated browser.

* local path disclosure: 


The requested URL '/var/htdocs/%3C/' was not found on this server.


* reflected Cross Site Scripting 

Appending scripts to the URL reveals that this is not properly validated for malicious input.<script>alert(1)</script>e51c012502f


============ Solution ============

No known solution available.

============ Credits ============

The vulnerability was discovered by Michael Messner
Mail: devnull#at#s3cur1ty#dot#de
Advisory URL:
Twitter: @s3cur1ty_de

============ Time Line: ============

August 2012 - discovered vulnerability
07.08.2012 - reported vulnerability to Netgear
08.08.2012 - case closed by Netgear
29.01.2013 - public release

===================== Advisory end =====================