Secunia Logo
 
Cosmoshop SQL Injection and Disclosure of Sensitive Information
Secunia Advisory: SA20177
Release Date: 2006-05-19
Last Update: 2006-07-19
Popularity: 5,415 views

Critical:
Moderately critical
Impact: Manipulation of data
Exposure of sensitive information
Where: From remote
Solution Status: Unpatched

Software:Cosmoshop 8.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-2474
CVE-2006-2475


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

Changelog:
2006-07-19: Added CVE references.


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. VLC Media Player Real Demuxer Integer Overflow Vulnerability // 90 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 67 views
3. phpBB Cross Site Scripting and Unspecified Vulnerabilities // 37 views
4. Microsoft Office Communications Server SIP INVITE Denial of Service // 36 views
5. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 34 views
6. Active Photo Gallery "username" and "password" SQL Injection // 29 views
7. CAPICOM CAPICOM.Certificates ActiveX Control Vulnerability // 28 views
8. Basic PHP CMS "id" SQL Injection Vulnerability // 25 views
9. Adobe Acrobat/Reader Multiple Vulnerabilities // 24 views
10. Active eWebquiz "useremail" and "password" SQL Injection Vulnerabilities // 22 views