TITLE: Cosmoshop SQL Injection and Disclosure of Sensitive Information SECUNIA ADVISORY ID: SA20177 VERIFY ADVISORY: http://secunia.com/advisories/20177/ CRITICAL: Moderately critical IMPACT: Manipulation of data, Exposure of sensitive information WHERE: >From remote SOFTWARE: Cosmoshop 8.x http://secunia.com/product/5635/ DESCRIPTION: l0om has reported some vulnerabilities in Cosmoshop, which can be exploited by malicious users to disclose sensitive information and by malicious people to conduct SQL injection attacks. 1) Input passed to the "file" parameter in edit_mailtexte.cgi and bestmail.cgi isn't properly sanitised before being used to view files. This can be exploited to disclose the content of arbitrary files via directory traversal attacks. Examples: http://[host]/cgi-bin/admin/bestellvorgang/edit_mailtexte.cgi?file=../../[file]%00 http://[host]/cgi-bin/admin/bestmail.cgi?action=view&file=../../[file]%00 Successful exploitation requires administrative privileges. 2) Input passed to the "artnum" parameter in lshop.cgi isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Example: http://[host]/cgi-bin/lshop.cgi?action=showdetail&artnum=[code]&wkid=2002g&ls=d&nocache= The vulnerabilities have been reported in version 8.11.106. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised. PROVIDED AND/OR DISCOVERED BY: l0om ---------------------------------------------------------------------- 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/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/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 ----------------------------------------------------------------------