Vendor Statistics
High-Tech Bridge Security Advisories are CVE Compatible    High-Tech Bridge Security Advisories CWE Compatibility    High-Tech Bridge Security Advisories CVSS Adopters

Patch Available Upon Disclosure

2014 Q1 87%2013 Q2 92%
2013 Q4 67%2013 Q1 100%
2013 Q3 77%2012 Q4 68%

Vendor Average Time to Patch

2014 Q1 5 days 2013 Q2 30 days
2013 Q4 8 days 2013 Q1 13 days
2013 Q3 13 days 2012 Q4 26 days

286 software vendors have fixed 926 vulnerabilities in their products thanks to High-Tech Bridge Security Research Lab.

High-Tech Bridge Newsletter

Subscribe to our newsletter and receive some or all of our corporate news, invitations to security events or HTB Security Advisories – you choose what you want to receive.

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_items.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>


Solution:
Upgrade to version 0.6.6.


ImmuniWeb® by High-Tech Bridge


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