Total Tests:

Multiple Vulnerabilities in Habari

Advisory ID:HTB22731
Product:Habari
Vendor:Habari
Vulnerable Versions:0.6.5 and probably prior
Tested Version:0.6.5
Advisory Publication:December 2, 2010 [without technical details]
Vendor Notification:December 2, 2010
Public Disclosure:December 16, 2010
Latest Update:December 9, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
Information Exposure Through Externally-generated Error Message [CWE-211]
CVE References:CVE-2010-4608
CVE-2010-4607
Risk Level:Medium
CVSSv2 Base Scores:5 (AV:N/AC:L/Au:N/C:P/I:N/A:N)
2.6 (AV:N/AC:H/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 Habari which could be exploited to perform cross-site scripting attacks and gain potentially sensitive information.

1) Information disclosure weakness in Habari: CVE-2010-4608
The weakness was found in the "/system/admin/header.php" and "/system/admin/comments_items.php" scripts. A remote attacker can obtain knowledge of the application`s installation path by directly accessing the system/admin/header.php and system/admin/comments_items.php scripts.
Exploitation example:
http://[host]/system/admin/header.php
http://[host]/system/admin/comments_i tems.php


2) Cross-site scripting (XSS) vulnerabilities in Habari: CVE-2010-4607
2.1 The vulnerability exists due to input sanitation error in the "additem_form" parameter in system/admin/dash_additem.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. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface and that register_globals is on.
Exploitation example:
http://[host]/system/admin/dash_additem.php?additem_form=<script>alert('XSS' );</script>
2.2 The vulnerability exists due to input sanitation error in the "status_data" parameter in system/admin/dash_status.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. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface and that register_globals is on.
Exploitation example:
http://habari/system/admin/dash_status.php?status_data[1]=<script>alert('XSS ');</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:
Upgrade to version 0.6.6.


References:
[1] High-Tech Bridge Advisory HTB22731 - https://www.immuniweb.com/advisory/HTB22731 - Multiple Vulnerabilities in Habari
[2] Habari - habariproject.org - Habari is a free and open source blog engine written in PHP and currently supports MySQL, SQLite and PostgreSQL for the database backend.
[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