Skip to main content

Relative Path Traversal

CVE-2024-6985

Severity Medium
Score 6.9/10

Summary

A path traversal vulnerability exists in the "api open_personality_folder" endpoint of "parisneo/lollms-webui". This vulnerability allows an attacker to read any folder in the "personality_folder" on the victim's computer, even though "sanitize_path" is set. The issue arises due to improper sanitization of the "personality_folder" parameter, which can be exploited to traverse directories and access arbitrary files. This issue affects lollms versions 9.3.0 through 9.5.1.

  • LOW
  • LOCAL
  • NONE
  • UNCHANGED
  • NONE
  • HIGH
  • HIGH
  • NONE

CWE-23 - Relative Path Traversal

The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.

Advisory Timeline

  • Published