CVE-2018-12457 express-cart allows any user to create an admin user

High 8.8 Published Updated

Remote attackers can create an admin user by manipulating the Referer header, leading to full administrative control of the expressCart application.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-12457?

CVE-2018-12457 is a high-severity missing authorization vulnerability in n/a, published on 15 Jun 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

expressCart before 1.1.6 allows remote attackers to create an admin user via a /admin/setup Referer header.

Weakness: CWE-732

Which versions are affected by CVE-2018-12457?

2 open source packages ship an affected version, including express-cart. It affects 1 product.

PackageAffectedFixed in
express-cart npmAll versions1.1.6
express-cart npmAll versions1.1.6

Products include Expresscart Project Expresscart.

How do I fix CVE-2018-12457?

Upgrade express-cart to 1.1.6 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2018-12457 being exploited?

There is no known exploitation of CVE-2018-12457 in the wild and no public exploit code.

Sources

Also known as GHSA-hr89-w7p6-pjmq.

Is CVE-2018-12457 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free