Secunia Logo  
 
H2O-CMS Cookie Security Bypass and Code Execution Vulnerabilities
Secunia Advisory: SA32433
Release Date: 2008-10-29
Popularity: 873 views

Critical:
Highly critical
Impact: Security Bypass
System access
Where: From remote
Solution Status: Unpatched

Software:H2O-CMS 3.x

Subscribe: Instant alerts on relevant vulnerabilities


Description:
Some vulnerabilities have been discovered in H2O-CMS, which can be exploited by malicious people to bypass certain security restrictions or by malicious users to compromise a vulnerable system.

1) A vulnerability is caused due to the application allowing access to the admin interface by checking if specific cookies exist. This can be exploited to gain administrative access to the application by creating the cookies "admin" with the value "1", "id" with the value "1" and "user" with the value "admin".

2) Input passed to the "site_title", "login_stat", "colour", "menu_home", "user_menu_news_posting", "user_menu_news_manager", "user_menu_messagebox", "news_posting_auto_approval", "bottom_text", "db_name", "db_username", "db_password" and "db_server" parameters in SaveConfig.php is not properly sanitised before being written to includes/config.php. This can be exploited to execute arbitrary PHP code.

Successful exploitation of this vulnerability requires administrative privileges (see vulnerability #1).

These vulnerabilities are confirmed in version 3.4. Other versions may also be affected.

Solution:
Ensure that proper access restrictions are implemented and that input is properly sanitised.

Provided and/or discovered by:
StAkeR

Original Advisory:
http://milw0rm.com/exploits/6861


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Drupal Project Module File Upload and Cross-Site Scripting // 51 views
2. Internet Explorer Data Binding Memory Corruption Vulnerability // 41 views
3. SmbFTPD Long Command Processing Vulnerability // 39 views
4. Sun Java JDK / JRE Multiple Vulnerabilities // 38 views
5. Cisco Global Site Selector DNS Request Denial of Service // 33 views
6. Drupal Project Issue Tracking Module Multiple Vulnerabilities // 31 views
7. Lasso OpenSSL "DSA_verify()" Spoofing Vulnerability // 28 views
8. FreeBSD update for lukemftpd // 26 views
9. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 25 views
10. PHP-Fusion Members CV Module "sortby" SQL Injection Vulnerability // 25 views