CVE-2024-4084 SSRF vulnerability in mintplex-labs/anything-llm

High 7.7 Published Updated

Attackers can bypass IP restrictions to access internal network assets and AWS metadata via insufficient URL validation in AnythingLLM.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-4084?

CVE-2024-4084 is a high-severity server-side request forgery vulnerability in Mintplexlabs Anythingllm, published on 5 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A Server-Side Request Forgery (SSRF) vulnerability exists in the latest version of mintplex-labs/anything-llm, allowing attackers to bypass the official fix intended to restrict access to intranet IP addresses and protocols. Despite efforts to filter out intranet IP addresses starting with 192, 172, 10, and 127 through regular expressions and limit access protocols to HTTP and HTTPS, attackers can still bypass these restrictions using alternative representations of IP addresses and accessing other ports running on localhost. This vulnerability enables attackers to access any asset on the internal network, attack web services on the internal network, scan hosts on the internal network, and potentially access AWS metadata endpoints. The vulnerability is due to insufficient validation of user-supplied URLs, which can be exploited to perform SSRF attacks.

Weakness: CWE-918

Which versions are affected by CVE-2024-4084?

It affects 1 product.

Products include Mintplexlabs Anythingllm.

How do I fix CVE-2024-4084?

No fix has been published for CVE-2024-4084 yet. Limit exposure of the affected software until one is available.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2024-4084 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-4084 exists.

All Mintplexlabs Anythingllm vulnerabilities

Sources

Also known as GHSA-r92q-jwg4-7cxv.

Is CVE-2024-4084 in your software?

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

Check your SBOMs for free