Authored by Ian Chong, Daniel Teo | Site

AbanteCart e-commerce platform versions prior to 1.3.2 suffer from cross site scripting and file upload vulnerabilities.

advisories | CVE-2021-42050, CVE-2021-42051

SEC Consult Vulnerability Lab Security Advisory < 20211213-0 >
title: Multiple vulnerabilities
product: AbanteCart e-commerce platform
vulnerable version: <1.3.2
fixed version: 1.3.2
CVE number: CVE-2021-42050, CVE-2021-42051
impact: Medium
found: 2021-07-19
by: Daniel Teo (Office SG)
Ian Chong (Office SG)
SEC Consult Vulnerability Lab

An integrated part of SEC Consult, an Atos company
Europe | Asia | North America


Vendor description:
"The meaning of the word 'abante' is to move forward or lead.
AbanteCart community stand behind exceptional work quality and dedication to
creating outstanding eCommerce software services. Our inspiration comes from
the developers that like developing with AbanteCart and constantly work to
expand and keep this project alive."


Business recommendation:
SEC Consult recommends all companies who are using the AbanteCart software, to
upgrade to the latest version which is available at the vendor's official

An in-depth security analysis performed by security professionals is highly
advised, as the software may be affected from further security issues.

Vulnerability overview/description:
1) Unrestricted File Upload (CVE-2021-42051)
Any low privileged user with file upload permissions can upload malicious SVG
files that contain a JavaScript payload.

By proceeding to the SVG file location, the payload will be executed on the

2) DOM Based Cross-Site Scripting (CVE-2021-42050)
DOM Based XSS is an XSS attack wherein the attack payload is executed as a
result of modifying the DOM "environment" in the victim's browser used by the
original client-side script, so that the client-side code runs in an
"unexpected" manner.

The application was found to have a cross-site scripting vulnerability where
user supplied input is directly reflected in the Document Object Model, leading to
execution of arbitrary code. The vulnerable location is an input form which
allows users to perform search actions.

Proof of concept:
1) Unrestricted File Upload (CVE-2021-42051)

A PoC SVG file can be created as follows:

* ************************************************************************** *
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"

<svg version="1.1" baseProfile="full" xmlns="">
<rect width="300" height="100" style="fill:rgb(0,0,255);
stroke-width:3;stroke:rgb(0,0,0)" />
<script type="text/javascript">
alert("sectest XSS");
* ************************************************************************** *

2) DOM Based Cross-Site Scripting (CVE-2021-42050)

A payload was used in the search engine:

* ************************************************************************** *
* ************************************************************************** *

Vulnerable / tested versions:
The following product version has been tested which was the latest version available
during the time of the test:
* v1.3.0

Vendor contact timeline:
2021-08-16: Contacting vendor through [email protected]
2021-08-27: Vendor responded and indicated that the AbanteCart team have
scheduled a release on 25 September 2021 to address the issues.
2021-12-07: Multiple emails to check with the vendor on the release date.
However, no response from the AbanteCart team but noticed that
they had released the new version on 26 Nov 2021.
2021-12-13: Release of security advisory

Upgrade to the latest version available v1.3.2 at the vendor's download page:


Advisory URL:


SEC Consult Vulnerability Lab

SEC Consult, an Atos company
Europe | Asia | North America

About SEC Consult Vulnerability Lab
The SEC Consult Vulnerability Lab is an integrated part of SEC Consult, an
Atos company. It ensures the continued knowledge gain of SEC Consult in the
field of network and application security to stay ahead of the attacker. The
SEC Consult Vulnerability Lab supports high-quality penetration testing and
the evaluation of new offensive and defensive technologies for our customers.
Hence our customers obtain the most current information about vulnerabilities
and valid recommendation about the risk profile of new technologies.

Interested to work with the experts of SEC Consult?
Send us your application

Interested in improving your cyber security with the experts of SEC Consult?
Contact our local offices

Mail: research at sec-consult dot com

EOF Daniel Teo, Ian Chong / @2021