CVE-2022-23080 directus - SSRF which leads to internal port scan
A low-privileged user can exploit SSRF in Directus media upload to perform internal network port scans, exposing internal services.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-23080?
CVE-2022-23080 is a medium-severity server-side request forgery vulnerability in directus, published on 22 Jun 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In directus versions v9.0.0-beta.2 through 9.6.0 are vulnerable to server-side request forgery (SSRF) in the media upload functionality which allows a low privileged user to perform internal network port scans.
Weakness: CWE-918
Which versions are affected by CVE-2022-23080?
2 open source packages ship an affected version, including directus. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
directus npm | From 9.0.0-beta.2 | 9.7.0 |
directus npm | From 9.0.0-beta.2 | 9.7.0 |
Products include Rangerstudio Directus.
How do I fix CVE-2022-23080?
Upgrade directus to 9.7.0 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2022-23080 being exploited?
There is no known exploitation of CVE-2022-23080 in the wild and no public exploit code.
Other vulnerabilities in directus
Sources
Also known as GHSA-5h75-pvq4-82c9.