|
OpenCart Script Insertion and Cross-Site Scripting
|
|
Secunia Advisory:
|
SA30177
|
|
|
Release Date:
|
2008-07-01
|
|
Last Update:
|
2008-07-17
|
|
Popularity:
|
1,520 views
|
|
|
Critical:
|
 Moderately critical
|
|
Impact:
|
Cross Site Scripting
|
|
Where:
|
From remote
|
|
Solution Status:
|
Unpatched
|
|
| Software: | OpenCart 0.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2008-3130
|
|
Description: Thomas Pollet has discovered two vulnerabilities in OpenCart, which can be exploited by malicious people to conduct cross-site scripting and script insertion attacks.
1) Input passed to the "firstname" parameter in index.php (when "controller" is set to "account_create") is not properly sanitised before being stored. This can be exploited to insert arbitrary HTML and script code, which is executed in a user's browser session in context of an affected site when the malicious data is viewed.
2) Input passed to the "search" parameter in index.php (when "controller" is set to "search" and "action" to "page") 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.
The vulnerabilities are confirmed in version 0.7.7. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised.
Provided and/or discovered by: Thomas Pollet
Changelog: 2008-07-17: 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.
|