---------------------------------------------------------------------- "From 2007 to 2009 vulnerabilities in a typical end-user PC almost doubled from about 220 to 420." Non-Microsoft software to blame for increase in vulnerabilities affecting typical Windows end-users, read more: http://secunia.com/gfx/pdf/Secunia_Half_Year_Report_2010.pdf ---------------------------------------------------------------------- TITLE: GetSimple CMS Multiple Vulnerabilities SECUNIA ADVISORY ID: SA40428 VERIFY ADVISORY: Secunia.com http://secunia.com/advisories/40428/ Customer Area (Credentials Required) https://ca.secunia.com/?page=viewadvisory&vuln_id=40428 RELEASE DATE: 2010-07-16 DISCUSS ADVISORY: http://secunia.com/advisories/40428/#comments AVAILABLE ON SITE AND IN CUSTOMER AREA: * Last Update * Popularity * Comments * Criticality Level * Impact * Where * Solution Status * Operating System / Software * CVE Reference(s) http://secunia.com/advisories/40428/ ONLY AVAILABLE IN CUSTOMER AREA: * Authentication Level * Report Reliability * Secunia PoC * Secunia Analysis * Systems Affected * Approve Distribution * Remediation Status * Secunia CVSS Score * CVSS https://ca.secunia.com/?page=viewadvisory&vuln_id=40428 ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI: * AUTOMATED SCANNING http://secunia.com/vulnerability_scanning/personal/ http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/ DESCRIPTION: Leonard of Quirm has discovered multiple vulnerabilities in GetSimple CMS, which can be exploited by malicious people to disclose sensitive information or conduct cross-site scripting and script insertion attacks. 1) Input passed to the "i" parameter in admin/image.php, the "log" parameter in admin/log.php, the "t" and "f" parameter in admin/theme-edit.php, the "id" parameter in admin/backup-edit.php (when "p" is set), and the "err" parameter in admin/template/error_checking.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. 2) Input passed to the "title" parameter in admin/template/header.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. Successful exploitation of this vulnerability requires that "register_globals" is enabled. 3) Input passed to various parameters in admin/template/error_checking.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. Examples: http://[host]/admin/template/error_checking.php?upd=bak-success&i18n[ER_BAKUP_DELETED]=[code] http://[host]/admin/template/error_checking.php?upd=bak-err&i18n[ER_REQ_PROC_FAIL]=[code] http://[host]/admin/template/error_checking.php?upd=bak-err&i18n[ERROR]=[code] http://[host]/admin/template/error_checking.php?upd=edit-success&ptype=edit&i18n[ER_YOUR_CHANGES]=[code] http://[host]/admin/template/error_checking.php?upd=edit-success&ptype=restore&i18n[ER_HASBEEN_REST]=[code] http://[host]/admin/template/error_checking.php?upd=edit-success&ptype=delete&i18n[ER_HASBEEN_DEL]=[code] http://[host]/admin/template/error_checking.php?upd=edit-success&ptype=delete&i18n[UNDO]=[code] http://[host]/admin/template/error_checking.php?upd=edit-index&i18n[ER_CANNOT_INDEX]=[code] http://[host]/admin/template/error_checking.php?restored=true&i18n[ER_OLD_RESTORED]=[code] http://[host]/admin/template/error_checking.php?upd=pwd-success&i18n[ER_NEW_PWD_SENT]=[code] http://[host]/admin/template/error_checking.php?upd=pwd-error&i18n[ER_SENDMAIL_ERR]=[code] http://[host]/admin/template/error_checking.php?upd=del-success&i18n[ER_FILE_DEL_SUC]=[code] http://[host]/admin/template/error_checking.php?upd=del-error&i18n[ER_PROBLEM_DEL]=[code] http://[host]/admin/template/error_checking.php?upd=comp-success&i18n[ER_COMPONENT_SAVE]=[code] http://[host]/admin/template/error_checking.php?upd=comp-restored&i18n[ER_COMPONENT_REST]=[code] http://[host]/admin/template/error_checking.php?cancel=test&i18n[ER_CANCELLED_FAIL]=[code] http://[host]/admin/template/error_checking.php?err=true&msg=[code] Successful exploitation of this vulnerability requires that "register_globals" is enabled. 4) Input passed via the "userid" parameter to admin/index.php is not properly sanitised before being displayed to the user while viewing failed login attempts. This can be exploited to insert arbitrary HTML and script code, which will be executed in the administrative user's browser session in context of an affected site when the failed login attempts are being viewed." 5) Input passed to the "LANG" parameter in admin/inc/404-mailer.php and admin/inc/contactform.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal sequences and URL-encoded NULL bytes. Successful exploitation of this vulnerability requires that "register_globals" is enabled and "magic_quotes_gpc" is disabled. 6) Input passed to the "dir" parameter in admin/inc/ajax.php is not properly verified before being used to read directory contents. This can be exploited to list files in arbitrary directories on the local system via directory traversal sequences. The vulnerabilities are confirmed in version 2.01. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised and verified. PROVIDED AND/OR DISCOVERED BY: Leonard of Quirm OTHER REFERENCES: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ DEEP LINKS: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXTENDED DESCRIPTION: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXTENDED SOLUTION: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXPLOIT: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help private users 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 ----------------------------------------------------------------------