Skip to content
Access control Write-up Intermediate

A Critical Vulnerability at AnythingLLM — Understanding and Mitigating CVE-2024–0765

The /export-data endpoint in AnythingLLM allowed authenticated users to export sensitive data without proper authorisation and erase traces of the extraction. An attacker with a valid account could exfiltrate data stealthily.

elniak Follow

Published on systemweakness.com

Today, we’re diving into a topic that’s caught the cybersecurity world by a bit of a storm — CVE-2024–0765 (CVSS 9.6).

ElNiak, on systemweakness.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An authenticated user could exfiltrate sensitive data and erase traces of the extraction, making detection difficult.

What the attacker needed

Authenticated user account

The fix

The export/import functionality and its endpoints were removed to prevent exploitation.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

AnythingLLM is a tool for chatting with documents using AI. A flaw let any logged-in user download data they should not have been able to see, and cover their tracks. The fix removed the export feature entirely.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by elniak

View all

28 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.