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