---------------------------------------------------------------------- Do you need accurate and reliable IDS / IPS / AV detection rules? Get in-depth vulnerability details: http://secunia.com/binary_analysis/sample_analysis/ ---------------------------------------------------------------------- TITLE: H2O-CMS Cookie Security Bypass and Code Execution Vulnerabilities SECUNIA ADVISORY ID: SA32433 VERIFY ADVISORY: http://secunia.com/advisories/32433/ CRITICAL: Highly critical IMPACT: Security Bypass, System access WHERE: >From remote SOFTWARE: H2O-CMS 3.x http://secunia.com/advisories/product/20273/ 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 ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------