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

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>'>


2. Cross-Site Scripting: