---------------------------------------------------------------------- Secunia CSI integrated with Microsoft WSUS and Microsoft SCCM for 3rd party Patch Management Free webinars http://secunia.com/vulnerability_scanning/corporate/webinars/ ---------------------------------------------------------------------- TITLE: OneCMS Multiple Vulnerabilities SECUNIA ADVISORY ID: SA39395 VERIFY ADVISORY: Secunia.com http://secunia.com/advisories/39395/ Customer Area (Credentials Required) https://ca.secunia.com/?page=viewadvisory&vuln_id=39395 RELEASE DATE: 2010-06-28 DISCUSS ADVISORY: http://secunia.com/advisories/39395/#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/39395/ 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=39395 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: Some vulnerabilities have been reported in OneCMS, which can be exploited by malicious users to conduct script insertion attacks and by malicious people to conduct cross-site scripting and SQL injection attacks. 1) Input passed via the "[database prefix]_username" cookie (e.g. "oncecms_username") to admin/admin.php or through various scripts (e.g. admin/admin.php, admin/files.php, admin/settings.php) to config.php or functions.php and via the "cat" parameter to admin/admin.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 2) Input passed via the "cat" parameter to admin/admin.php and via the URL through various scripts (e.g. admin/admin.php, admin/ads.php, admin/affiliates.php, admin/comments.php) to functions.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. 3) Input passed to the "search" parameter in search.php (when "view" is set to "forums") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 4) Input passed to the "id" parameter in index.php (when "load" is set to "af" and "view" is set to "click") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 5) Input passed via the "Short" parameter to admin/admin.php when adding or editing articles is not properly sanitised before being displayed to the user. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site. Successful exploitation of this vulnerability requires "Staff" permissions. SOLUTION: Edit the source code to ensure that input is properly sanitised. Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ PROVIDED AND/OR DISCOVERED BY: 1, 2) Russ McRee via Secunia. Also partially independently discovered by High-Tech Bridge SA. 3, 4, 5) High-Tech Bridge SA ORIGINAL ADVISORY: 1, 2) http://holisticinfosec.org/content/view/142/45/ http://www.htbridge.ch/advisory/xss_vulnerability_in_onecms.html 3) http://www.htbridge.ch/advisory/sql_injection_vulnerability_in_onecms_search_module.html 4) http://www.htbridge.ch/advisory/sql_injection_vulnerability_in_onecms.html 5) http://www.htbridge.ch/advisory/xss_vulnerability_in_news_module_of_onecms.html 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 ----------------------------------------------------------------------