Overview
GoAhead Webserver 2.18 and possibly previous or newer versions, are vulnerable to multiple stored and reflective cross site scripting (XSS) vulnerabilities.
Description
GoAhead Webserver software fails to sanitize POST requests sent to the multiple functions. As a result, stored and reflective cross site scripting (XSS) attacks can be conducted. An attacker can inject javascript code that will be run each time the specified webpage is accessed by inserting javascript code in the affected parameter. According to the reporter the following webpages and parameters are affected by stored and reflective XSS vulnerabilities:
group=<script>alert(1337)</script>&privilege=4&method=1&enabled=on&ok=OK Results: Reflected XSS displayed in addgroup.asp, stored XSS in: adduser.asp, addlimit.asp, delgroup.asp.
url=<script>alert(1337)</script>&group=test&method=3&ok=OK Results: Stored when user requests dellimit.asp.
addgroup.asp. In this example, you can swap out the group=<script>alert(1337) for whichever group name you added. password= and passconf= can also be modified to whichever password you want the new user to have. POST /goform/AddUser HTTP/1.1 user=%3Cscript%3Ealert%281337%29%3C%2Fscript%3E&group=%3Cscript%3Ealert%281337%2 9%3C%2Fscript%3E&enabled=on&password=test&passconf=test&ok=OK Result: Reflected in reply, stored in: deluser.asp,dspuser.asp. |
Impact
An attacker with access to the GoAhead Webserver can conduct a cross site scripting attack, which could be used to result in information leakage, privilege escalation, and/or denial of service. |
Solution
We are currently unaware of a practical solution to this problem. |
Restrict access |
Vendor Information
The reporter was unable to confirm if any previous or newer versions are vulnerable to these stored cross site scripting (XSS) vulnerabilities. |
CVSS Metrics
Group | Score | Vector |
---|---|---|
Base | ||
Temporal | ||
Environmental |
References
Acknowledgements
Thanks to Silent Dream for reporting this vulnerability.
This document was written by Michael Orlando.
Other Information
CVE IDs: | None |
Severity Metric: | 0.49 |
Date Public: | 2011-10-10 |
Date First Published: | 2011-10-10 |
Date Last Updated: | 2011-10-10 12:58 UTC |
Document Revision: | 21 |