---------------------------------------------------------------------- Secunia is hiring! Find your next job here: http://secunia.com/company/jobs/ ---------------------------------------------------------------------- TITLE: PHPShop CMS Free Multiple Vulnerabilities SECUNIA ADVISORY ID: SA47294 VERIFY ADVISORY: Secunia.com http://secunia.com/advisories/47294/ Customer Area (Credentials Required) https://ca.secunia.com/?page=viewadvisory&vuln_id=47294 RELEASE DATE: 2011-12-20 DISCUSS ADVISORY: http://secunia.com/advisories/47294/#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/47294/ 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=47294 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: High-Tech Bridge SA has discovered multiple vulnerabilities in PHPShop CMS Free, which can be exploited by malicious users to conduct SQL injection attacks and by malicious people to conduct cross-site scripting attacks. 1) Input passed via the URL to multiple scripts is not properly sanitised in the "Compile()" function in phpshop/class/admgui.class.php 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]/phpshop/admpanel/gbook/adm_gbook_new.php/[script] http://[host]/phpshop/admpanel/banner/adm_baner_new.php/[script] http://[host]/phpshop/admpanel/links/adm_links_new.php/[script] http://[host]/phpshop/admpanel/menu/adm_menu_new.php/[script] 2) Input passed via various parameters to multiple scripts is not properly sanitised in the "setInput()" function in class/admgui.class.php 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]/phpshop/admpanel/catalog/admin_cat_content.php?pid=[script] http://[host]/phpshop/admpanel/catalog/adm_catalog_new.php?id=[script] http://[host]/phpshop/admpanel/page/adm_pages_new.php?catalogID=[script] http://[host]/phpshop/admpanel/photo/admin_photo_content.php?pid=[script] 3) Input passed via the "id" parameter to phpshop/admpanel/catalog/adm_catalog_new.php is not properly sanitised in the "select()" function in phpshop/class/orm.class.php before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Successful exploitation of this vulnerability requires the "Base Operator" privilege. 4) Input passed via the "catalogID" parameter to phpshop/admpanel/page/adm_pages_new.php and via the "pid" parameter to phpshop/admpanel/catalog/admin_cat_content.php and phpshop/admpanel/photo/admin_photo_content.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Successful exploitation of this vulnerability requires the "Base Operator" privilege. The vulnerabilities are confirmed in version 3.4.2.7. Other versions may also be affected. SOLUTION: Reportedly fixed in version 3.4.3.1. PROVIDED AND/OR DISCOVERED BY: High-Tech Bridge SA ORIGINAL ADVISORY: HTB23058: https://www.htbridge.ch/advisory/multiple_vulnerabilities_in_phpshop_cms_free.html PHPShop CMS Free: http://www.phpshopcms.ru/release.html http://forum.phpshopcms.ru/index.php?showtopic=1508 OTHER REFERENCES: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ DEEP LINKS: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ EXTENDED DESCRIPTION: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ EXTENDED SOLUTION: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ EXPLOIT: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------