GHSA-cxcf-78mr-wpg7 Malicious Package in oauth-validator
A malicious version of the oauth-validator npm package steals credit card and password data from web forms, requiring users to upgrade or downgrade.
- 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
- None listed
What is GHSA-cxcf-78mr-wpg7?
GHSA-cxcf-78mr-wpg7 is a vulnerability in oauth-validator, published on 1 Sep 2020. 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
Version 1.0.2 of oauth-validator contained malicious code. The code when executed in the browser would enumerate password, cvc, cardnumber fields from forms and send the extracted values to https://js-metrics.com/minjs.php?pl=
Recommendation
If version 1.0.2 of this module is found installed you will want to replace it with a version before or after 1.0.2. In addition to replacing the installed module, you will also want to evaluate your application to determine whether or not user data was compromised.
Users may consider downgrading to version 1.0.1
Which versions are affected by GHSA-cxcf-78mr-wpg7?
2 open source packages ship an affected version, including oauth-validator.
| Package | Affected | Fixed in |
|---|---|---|
oauth-validator npm | All versions | None |
oauth-validator npm | All versions | None |
How do I fix GHSA-cxcf-78mr-wpg7?
No fix has been published for GHSA-cxcf-78mr-wpg7 yet. Limit exposure of the affected software until one is available.
Is GHSA-cxcf-78mr-wpg7 being exploited?
There is no known exploitation of GHSA-cxcf-78mr-wpg7 in the wild and no public exploit code.