CVE-2014-7193 CORS Token Disclosure in crumb
Remote attackers can obtain sensitive information and spoof requests via a crafted website when CORS is enabled in hapi routes using the Crumb plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2014-7193?
CVE-2014-7193 is a medium-severity vulnerability in n/a, published on 25 Dec 2014. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The Crumb plugin before 3.0.0 for Node.js does not properly restrict token access in situations where a hapi route handler has CORS enabled, which allows remote attackers to obtain sensitive information, and potentially obtain the ability to spoof requests to non-CORS routes, via a crafted web site that is visited by an application consumer.
Weakness: CWE-284
Which versions are affected by CVE-2014-7193?
2 open source packages ship an affected version, including crumb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
crumb npm | All versions | 3.0.0 |
crumb npm | All versions | 3.0.0 |
Products include Sideway Hapi Crumb.
How do I fix CVE-2014-7193?
Upgrade crumb to 3.0.0 or later.
Is CVE-2014-7193 being exploited?
There is no known exploitation of CVE-2014-7193 in the wild and no public exploit code.
Sources
Also known as GHSA-84fq-6626-w5fg.