Total Tests:

Multiple XSS in KnowledgeTree Community Edition

Advisory ID:HTB23065
Product:KnowledgeTree Commercial and Community Editions
Vendor:KnowledgeTree Inc.
Vulnerable Versions:3.7.0.2 and probably prior
Tested Version:3.7.0.2
Advisory Publication:December 21, 2011 [without technical details]
Vendor Notification:December 21, 2011
Vendor Fix:December 23, 2011
Public Disclosure:January 11, 2012
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE Reference:CVE-2012-0988
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 SA Security Research Lab has discovered multiple vulnerabilities in KnowledgeTree Community Edition, which can be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerabilities in KnowledgeTree Community Edition: CVE-2012-0988
Input appended to the URL after multiple files is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
The following PoC code is available:
http://[host]/login.php/%22onmouseover=alert%28document.cookie%29;%3E
http://[host]/admin.php/%22onmouseover=alert%28document.cookie%29;%3E
http://[host]/admin.php/%22onmouseover=alert%28document.cookie%29;%3E
http://[host]/preferences.php/%22onmouseover=alert%28document.cookie%29;%3E
Successful exploitation of these vulnerabilities requires that Apache's directive "AcceptPathInfo" is set to "on" or "default" (default value is "default").

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:
Apply Vendor patch:
http://www.knowledgetree.org/Security_advisory:_URL_Manipulation


References:
[1] High-Tech Bridge Advisory HTB23065 - https://www.immuniweb.com/advisory/HTB23065 - Multiple XSS in KnowledgeTree Community Edition
[2] KnowledgeTree Community Edition - knowledgetree.org - KnowledgeTree Community Edition is an open source edition of the KnowledgeTree document management application licensed under the GNU GPL version 3.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - 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) - 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