San Francisco: +1 (415) 635 3784  |  Geneva: +41 (22) 723 2424   |  
ImmuniWeb®: Login | Register
ImmuniWeb® by High-Tech Bridge

Stay in touch

Enter your email and get the latest news and researches on cybersecurity, receive invitations to private security events and conferences.

Cross-Site Scripting (XSS) in WikkaWiki

Advisory ID:HTB23170
Vendor:Wikka Development Team
Vulnerable Versions:1.3.4 and probably prior
Tested Version:1.3.4
Advisory Publication:August 21, 2013 [without technical details]
Vendor Notification:August 21, 2013
Vendor Fix:August 31, 2013
Public Disclosure:September 11, 2013
Latest Update:September 2, 2013
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE Reference:CVE-2013-5586
Risk Level:Medium
CVSSv2 Base Score:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab

Advisory Details:

High-Tech Bridge Security Research Lab discovered vulnerability in WikkaWiki, which can be exploited to perform Cross-Site Scripting (XSS) attacks against users of vulnerable application.

1) Cross-Site Scripting (XSS) in WikkaWiki: CVE-2013-5586
The vulnerability exists due to insufficient sanitisation of user-supplied data in "wakka" HTTP GET parameter passed to "/sql/" URL. A remote attacker can trick a logged-in user to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.
The exploitation example below uses JavaScript "alert()" function to display user's cookies:
http://[host]/sql/?wakka=sql&wakka=%22onmouseover=%22javascript:alert%28document .cookie%29;%22%3Elink%3C/a%3E

ImmuniWeb® On-Demand Web Application Penetration Test

Update to Wikka 1.3.4-p1

More Information:

[1] High-Tech Bridge Advisory HTB23170 - - Cross-Site Scripting (XSS) in WikkaWiki.
[2] WikkaWiki - - WikkaWiki is a flexible, standards-compliant and lightweight wiki engine written in PHP, which uses MySQL to store pages.
[3] Common Vulnerabilities and Exposures (CVE) - - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
[5] ImmuniWeb® - a PCI compliant web application penetration test combined with managed vulnerability scan. Configure, schedule, and manage online 24/7.
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.