CVE-2022-24794
Last modified
CVE-2022-24794 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. Express OpenID Connect is an Express JS middleware implementing sign on for Express web apps using OpenID Connect. Users of the `requiresAuth` middleware, either directly or through the default `authRequired` option, are vulnerable to an Open Redirect when the middleware is applied to a catch all route. EPSS estimates a 0.71% chance of exploitation in the next 30 days.
Description
Express OpenID Connect is an Express JS middleware implementing sign on for Express web apps using OpenID Connect. Users of the `requiresAuth` middleware, either directly or through the default `authRequired` option, are vulnerable to an Open Redirect when the middleware is applied to a catch all route. If all routes under `example.com` are protected with the `requiresAuth` middleware, a visit to `http://example.com//google.com` will be redirected to `google.com` after login because the original url reported by the Express framework is not properly sanitized. This vulnerability affects versions prior to 2.7.2. Users are advised to upgrade. There are no known workarounds.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Auth0 | Express Openid Connect | < 2.7.2 |
References
- https://github.com/auth0/express-openid-connect/commit/0947b92164a2c5f661ebcc183d37e7f21de719adPatch, Third Party Advisory
- https://github.com/auth0/express-openid-connect/commit/0947b92164a2c5f661ebcc183d37e7f21de719adPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-24794?
How severe is CVE-2022-24794?
How do I fix CVE-2022-24794?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-24789C1 CMS is an open-source, .NET based Content Management Syst…7.6
- CVE-2022-2479Insufficient validation of untrusted input in File in Google…4.3
- CVE-2022-24790Puma is a simple, fast, multi-threaded, parallel HTTP 1.1 se…7.5
- CVE-2022-24791Wasmtime is a standalone JIT-style runtime for WebAssembly, …9.8
- CVE-2022-24792PJSIP is a free and open source multimedia communication lib…7.5
- CVE-2022-24793PJSIP is a free and open source multimedia communication lib…7.5
- CVE-2022-24795yajl-ruby is a C binding to the YAJL JSON parsing and genera…7.5
- CVE-2022-24796RaspberryMatic is a free and open-source operating system fo…9.8
- CVE-2022-24797Pomerium is an identity-aware access proxy. In distributed s…9.1
- CVE-2022-24798Internet Routing Registry daemon version 4 is an IRR databas…7.5
- CVE-2022-24799wire-webapp is the web application interface for the wire me…6.1
- CVE-2022-2480Use after free in Service Worker API in Google Chrome prior …8.8
Are you affected by CVE-2022-24794?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
