CVE-2024-0455 SSRF on AWS deployed instances of AnythingLLM via /metadata

Critical 9.9 Published Updated

Authorized users can exploit SSRF to steal AWS EC2 instance credentials, potentially leading to infrastructure compromise.

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-2024-0455?

CVE-2024-0455 is a critical server-side request forgery vulnerability in Mintplexlabs Anythingllm, published on 25 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The inclusion of the web scraper for AnythingLLM means that any user with the proper authorization level (manager, admin, and when in single user) could put in the URL ``` http://169.254.169.254/latest/meta-data/identity-credentials/ec2/security-credentials/ec2-instance ``` which is a special IP and URL that resolves only when the request comes from within an EC2 instance. This would allow the user to see the connection/secret credentials for their specific instance and be able to manage it regardless of who deployed it.

The user would have to have pre-existing knowledge of the hosting infra which the target instance is deployed on, but if sent - would resolve if on EC2 and the proper `iptable` or firewall rule is not configured for their setup.

Weakness: CWE-918

Which versions are affected by CVE-2024-0455?

It affects 1 product.

Products include Mintplexlabs Anythingllm.

How do I fix CVE-2024-0455?

Apply the vendor's patch.

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

Is CVE-2024-0455 being exploited?

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

All Mintplexlabs Anythingllm vulnerabilities

Sources

Also known as GHSA-32rv-jjcf-cmrm, MINI-v2j4-v2w7-pmwj.

Is CVE-2024-0455 in your software?

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

Check your SBOMs for free