SecurityContext

CVE-2024-5211: mintplex-labs/anything-llm - Path Traversal

  • Cve: CVE-2024-5211
  • Name: mintplex-labs/anything-llm - Path Traversal
  • Description: A path traversal vulnerability in mintplex-labs/anything-llm allowed a manager to bypass the `normalizePath()` function, intended to defend against path traversal attacks. This vulnerability enables the manager to read, delete, or overwrite the 'anythingllm.db' database file and other files stored in the 'storage' directory, such as internal communication keys and .env secrets. Exploitation of this vulnerability could lead to application compromise, denial of service (DoS) attacks, and unauthorized admin account takeover. The issue stems from improper validation of user-supplied input in the process of setting a custom logo for the app, which can be manipulated to achieve arbitrary file read, deletion, or overwrite, and to execute a DoS attack by deleting critical files required for the application's operation.
  • Impact: Attackers can access sensitive files, delete or overwrite critical data, leading to application compromise, denial of service, and potential admin account takeover.
  • Remediation: Implement proper input validation and sanitization for file paths, and update to the latest version with security patches.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, file_system_write, denial_of_service
  • Requirement type: admin_privileges
  • Requirements: Attacker needs to have manager privileges
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01046
  • Epss percentile: 0.65031
  • Assignee: [email protected]
  • Published at: 2024-06-12T12:15:10Z
  • Age in days: 895
  • Modified at: 2026-06-17T08:15:25Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-5211
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-29Path Traversal: '\..\filename'

Public exploits

UrlSourceAdded date
https://huntr.com/bounties/38f282cb-7226-435e-9832-2d4a102dad4bnvd2024-06-12

References

UrlSourceTags
https://github.com/mintplex-labs/anything-llm/commit/e208074ef4c240fe03e4147ab097ec3b52b97619nvdPatch
https://huntr.com/bounties/38f282cb-7226-435e-9832-2d4a102dad4bnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
mintplexlabs:anythingllm< 1.0.0nonvd/v1/products/mintplexlabs/anythingllm

Projects

RepositoryLink kindsIndexedUrl
Mintplex-Labs/anything-llmcommit, fixyes/v1/repositories/Mintplex-Labs/anything-llm

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-06-12
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts