|
MidiCart PHP Shopping Cart Cross-Site Scripting and SQL Injection
|
|
Secunia Advisory:
|
SA15269
|
|
|
Release Date:
|
2005-05-06
|
|
Last Update:
|
2006-02-21
|
|
Popularity:
|
7,357 views
|
|
|
Critical:
|
 Moderately critical
|
|
Impact:
|
Cross Site Scripting Manipulation of data Exposure of system information
|
|
Where:
|
From remote
|
|
Solution Status:
|
Unpatched
|
|
| Software: | MidiCart PHP Shopping Cart
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2005-1502 CVE-2005-1503 CVE-2005-2601 CVE-2005-1501
|
|
Description: Exoduks has reported some vulnerabilities in MidiCart PHP Shopping Cart, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.
1) Some input isn't 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 a vulnerable site.
Examples:
http://[host]/shop/search_list.php?chose=item&searchstring=[code]
http://[host]/shop/item_list.php?secondgroup=[code]
http://[host]/shop/item_list.php?maingroup=[code]
2) Some input isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation requires that "magic_quotes_gpc" is disabled.
Examples:
http://[host]/shop/search_list.php?chose=item&searchstring=a%'[code]
http://[host]/shop/item_list.php?maingroup=-99 '[code]
http://[host]/shop/item_list.php?secondgroup=-99 '[code]
http://[host]/shop/item_show.php?code_no=99 '[code]
It is also possible to disclose the full path to "search_list.php", "item_list.php" and "item_show.php" by accessing them directly.
Solution: Edit the source code to ensure that input is properly sanitised.
Provided and/or discovered by: Exoduks, HackGen Team
Changelog: 2005-05-13: Added CVE references.
2005-09-28: Added CVE reference.
2006-02-21: Added CVE reference.
|
|
|
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.
|