GHSA-v66p-w7qx-wv98 Authentication Bypass in express-laravel-passport
Attackers can bypass authentication and impersonate users due to improper JWT validation in the express-laravel-passport library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-v66p-w7qx-wv98?
GHSA-v66p-w7qx-wv98 is an authentication bypass vulnerability in express-laravel-passport, published on 4 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
All versions of express-laravel-passport are vulnerable to an Authentication Bypass. The package fails to properly validate JWTs, allowing attackers to send HTTP requests impersonating other users.
Recommendation
Upgrade to version 2.0.5 or later.
Which versions are affected by GHSA-v66p-w7qx-wv98?
2 open source packages ship an affected version, including express-laravel-passport.
| Package | Affected | Fixed in |
|---|---|---|
express-laravel-passport npm | From 0.0.0 | None |
express-laravel-passport npm | From 0.0.0 | None |
How do I fix GHSA-v66p-w7qx-wv98?
No fix has been published for GHSA-v66p-w7qx-wv98 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is GHSA-v66p-w7qx-wv98 being exploited?
There is no known exploitation of GHSA-v66p-w7qx-wv98 in the wild and no public exploit code.