Secunia Security Advisory - Thomas Pollet has discovered two vulnerabilities in OpenCart, which can be exploited by malicious people to conduct cross-site scripting and script insertion attacks.
f90d09b7f38410d01e927ac5652fbad4f83ce45cd2161b1506fe6aa01d7f0b29
----------------------------------------------------------------------
Want a new job?
http://secunia.com/secunia_security_specialist/
http://secunia.com/hardcore_disassembler_and_reverse_engineer/
International Partner Manager - Project Sales in the IT-Security
Industry:
http://corporate.secunia.com/about_secunia/64/
----------------------------------------------------------------------
TITLE:
OpenCart Script Insertion and Cross-Site Scripting
SECUNIA ADVISORY ID:
SA30177
VERIFY ADVISORY:
http://secunia.com/advisories/30177/
CRITICAL:
Moderately critical
IMPACT:
Cross Site Scripting
WHERE:
>From remote
SOFTWARE:
OpenCart 0.x
http://secunia.com/product/19206/
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
----------------------------------------------------------------------
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.
----------------------------------------------------------------------