ZeroHour

CVE-2024-6842

PoC moderate

Unauthenticated API Key Disclosure in Mintplex Labs AnythingLLM /setup-complete

CVSS 3.0
7.5 high
EPSS
31%p98
Published
()
Modified
AI analysis

CVE-2024-6842 is a missing-authentication flaw (CWE-306) in Mintplex Labs AnythingLLM, in which the /setup-complete API endpoint in version 1.5.5 can be reached without any credentials. An unauthenticated network attacker simply sends a request to /setup-complete and receives the output of the currentSettings function, which includes sensitive configuration such as third-party search-engine API keys. By harvesting these keys the attacker can abuse the victim's third-party API accounts, potentially incurring costs or depleting quota (loss of user assets); the CVSS 7.5 score reflects high confidentiality impact with no integrity or availability impact. Any AnythingLLM 1.5.5 deployment whose HTTP API is reachable from an untrusted network (e.g., a Docker-based server instance) is affected, while installs bound to localhost are largely out of remote attackers' reach. Exploitation has not been confirmed in the wild and the issue is not on CISA's KEV list, but a public proof-of-concept exists and EPSS assigns a high 31.1% probability of exploitation within 30 days.

What to do: Upgrade AnythingLLM to a patched release as soon as one is available (check the vendor's GitHub releases; the advisory does not state a fixed version). As an interim mitigation, restrict network access to the /setup-complete endpoint (bind the service to localhost or place it behind authentication or a firewall) and rotate any search-engine API keys configured in the instance. Review access logs for unauthenticated requests to /setup-complete that may indicate keys were already exposed.

Affected
mintplexlabs anythingllm1.5.5 (version cited in the advisory; exact affected and fixed ranges not specified in the available data)
Estimated exposure
moderate≈1,000–10,000 internet-exposed instances — Basis: AnythingLLM is a widely deployed open-source self-hosted LLM application (large GitHub following and heavy Docker usage), but deployment patterns indicate most desktop/localhost installs are not remotely reachable, leaving an…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

In version 1.5.5 of mintplex-labs/anything-llm, the `/setup-complete` API endpoint allows unauthorized users to access sensitive system settings. The data returned by the `currentSettings` function includes sensitive information such as API keys for search engines, which can be exploited by attackers to steal these keys and cause loss of user assets.

Vendors
mintplexlabs
Products
anythingllm
Weakness
CWE-306
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

In the news

No ingested article mentions this CVE yet.