CVE-2023-34247 @keystone-6/auth Open Redirect vulnerability
Attackers can redirect users to malicious external sites by bypassing the redirect filter in the Keystone auth package.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-34247?
CVE-2023-34247 is a medium-severity vulnerability in keystonejs keystone, published on 13 Jun 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Keystone is a content management system for Node.JS. There is an open redirect in the `@keystone-6/auth` package versions 7.0.0 and prior, where the redirect leading `/` filter can be bypassed. Users may be redirected to domains other than the relative host, thereby it might be used by attackers to re-direct users to an unexpected location. To mitigate this issue, one may apply a patch from pull request 8626 or avoid using the `@keystone-6/auth` package.
Weakness: CWE-601
Which versions are affected by CVE-2023-34247?
2 open source packages ship an affected version, including @keystone-6/auth. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@keystone-6/auth npm | All versions | 7.0.0 |
@keystone-6/auth npm | All versions | 7.0.0 |
Products include Keystonejs Keystone.
How do I fix CVE-2023-34247?
Upgrade @keystone-6/auth to 7.0.0 or later.
Is CVE-2023-34247 being exploited?
There is no known exploitation of CVE-2023-34247 in the wild and no public exploit code.
Other vulnerabilities in keystonejs keystone
- CVE-2022-39382 NODE_ENV in Keystone defaults to development with esbuild
- CVE-2022-29354 File upload in n/a
- CVE-2022-39322 @keystone-6/core vulnerable to field-level access-control bypass for multiselect field
- CVE-2017-16570 Cross-Site Request Forgery (CSRF) in keystone
- CVE-2017-15879 Keystone is vulnerable to CSV injection
Sources
Also known as GHSA-jqxr-vjvv-899m.