CVE-2024-0455 SSRF on AWS deployed instances of AnythingLLM via /metadata
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.
Other vulnerabilities in Mintplexlabs Anythingllm
- CVE-2024-3025 Path Traversal in mintplex-labs/anything-llm
- CVE-2026-32626 AnythingLLM has a Streaming Phase XSS to RCE via LLM Response Injection
- CVE-2024-3104 Remote Code Execution in mintplex-labs/anything-llm
- CVE-2024-3149 SSRF in mintplex-labs/anything-llm
- CVE-2024-0765 Default user role exporting save state of instance
Sources
Also known as GHSA-32rv-jjcf-cmrm, MINI-v2j4-v2w7-pmwj.