Stay in Touch

Application security insights and invitations to exclusive events in your inbox

Your data will stay confidential Private and Confidential

Multiple Vulnerabilities in Wikipad

Advisory ID:HTB22826
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:
htt p://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:

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 =test " method="post" name="main">
<input type="hidden" name="data[text]" value='new content"><script>alert(document.cookie)</script>'>
docum ent.main.submit ();

ImmuniWeb® On-Demand Web Application Penetration Test

Update to the most recent version.

[1] High-Tech Bridge Advisory HTB22826 - - Multiple Vulnerabilities in Wikipad
[2] Wikipad - - Wikipad is an online notebook.
[3] Common Weakness Enumeration (CWE) - - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments
Add Comment

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.
Quick Start
Free Trial