Skip to content
CriticalVulnerability

CVE-2024-0404: anything-llm mass assignment in /api/invite/:code allows admin account creation

Identifier
CVE-2024-0404
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A mass assignment vulnerability in the `/api/invite/:code` endpoint of mintplex-labs/anything-llm lets an attacker create high-privileged accounts. By intercepting and modifying the HTTP request during account creation via an invitation link, an attacker can add a `role` property set to `admin` and gain administrative access. The flaw exists because the endpoint lacks property allowlisting and blocklisting.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.