CVE-2022-23080 directus - SSRF which leads to internal port scan

Medium 5.0 Published Updated

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.

PackageAffectedFixed in
directus npmFrom 9.0.0-beta.29.7.0
directus npmFrom 9.0.0-beta.29.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.

Sources

Also known as GHSA-5h75-pvq4-82c9.

Is CVE-2022-23080 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free