We have helped our customers to fix 24 442 vulnerabilities
ImmuniWeb® by High-Tech Bridge


High-Tech Bridge Newsletter

Subscribe to our newsletter and receive some or all of our corporate news, invitations to security events or HTB Security Advisories – you choose what you want to receive.

Multiple Vulnerabilities in Wikipad

Advisory ID:HTB22826
Product:Wikipad
Vendor:Cherry-Design
Vulnerable Versions:1.6.0 and probably prior
Tested Version:1.6.0
Advisory Publication:February 1, 2011 [without technical details]
Vendor Notification:February 1, 2011
Public Disclosure:February 15, 2011
Latest Update:February 15, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
Path Traversal [CWE-22]
Cross-Site Request Forgery [CWE-352]
Risk Level:Medium
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
5 (AV:N/AC:L/Au:N/C:P/I:N/A:N)
5.1 (AV:N/AC:H/Au:N/C:P/I:P/A:P)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered vulnerabilities in Wikipad which could be exploited to perform cross-site scripting and cross-site request forgery attacks and disclose potentially sensitive information.

1) Cross-site scripting (XSS) vulnerability in Wikipad
The vulnerability exists due to input sanitation error in the "id" parameter in pages.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation examples:
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 >


2) Directory traversal vulnerability in Wikipad
The vulnerability exists due to insufficient sanitation of input data in pages.php. A remote attacker can read arbitrary files on the target system using directory traversal sequences.
Exploitation example:
http://host/pages.php?id=./../../../../../txt_file

3) Cross-site request forgery (CSRF) vulnerability in Wikipad
The vulnerability exists due to insufficient validation of the request origin in pages.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and modify arbitrary pages on the target system.
Exploitation example:
<form action="http://host/pages.php?action=edit&id=./../../../../../txt_file&title=tes t " method="post" name="main">
<input type="hidden" name="data[text]" value='new content"><script>alert(document.cookie)</script>'>
</form>
<script>
document. main.submit ();
</script>


ImmuniWeb® On-Demand Web Application Penetration Test


Solution:
Update to the most recent version.


References:
[1] High-Tech Bridge Advisory HTB22826 - https://www.htbridge.com/advisory/HTB22826 - Multiple Vulnerabilities in Wikipad
[2] Wikipad - cherry-software.spb.ru - Wikipad is an online notebook.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments and Opinions


Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.