CVE-2018-12457 express-cart allows any user to create an admin user
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.
| Package | Affected | Fixed in |
|---|---|---|
express-cart npm | All versions | 1.1.6 |
express-cart npm | All versions | 1.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.