Cross-site Scripting Vulnerability Identified in OpenCart

Information

Advisory by Netsparker (now Invicti)
Name: XSS Vulnerability in OpenCart
Affected Software: OpenCart
Affected Versions: v2.1.0.1 and possibly below
Vendor Homepage: http://www.opencart.com 
Vulnerability Type: Cross-site Scripting
Severity: Important
Status: Fixed
CVE-ID: CVE-2015-4671
Invicti Advisory Reference: NS-15-023

Technical Details

Proof of Concept URLs for XSS in OpenCart v2.1.0.1:

/opencart/index.php?route=account/address/add
(zone_id - POST)

For more information on cross-site scripting vulnerabilities, see Cross-site Scripting (XSS).

Advisory Timeline

07/12/2015 – First Contact
16/12/2015 – Vendor Fixed
05/01/2016 – Advisory Released

Solution

https://github.com/opencart/opencart/commit/303fa88fe664ded4bf8753b997abd916f0a3c03f

Credits & Authors

These issues have been discovered by Ziyahan Albeniz while testing Invicti Web Application Security Scanner.

About Invicti

Invicti Security is transforming the way web applications are secured. Invicti empowers organizations in every industry to scale their overall security operations, make the best use of their security resources, and engage developers in helping to improve their overall security posture.