CVE-2024-6971: Path Traversal in parisneo/lollms-webui

Published Oct 11, 2024
·
Updated

A path traversal vulnerability exists in the ParisNeo/lollms repository, specifically in the lollmsfilesystem.py file. The functions addragdatabase, togglemountragdatabase, and vectorizefolder do not implement security measures such as sanitizepathfromendpoint or sanitizepath. This allows an attacker to perform vectorize operations on .sqlite files in any directory on the victim's computer, potentially installing multiple packages and causing a crash.

Other sources

A path traversal vulnerability exists in the parisneo/lollms-webui repository, specifically in the lollmsfilesystem.py file. The functions addragdatabase, togglemountragdatabase, and vectorizefolder do not implement security measures such as sanitizepathfromendpoint or sanitizepath. This allows an attacker to perform vectorize operations on .sqlite files in any directory on the victim's computer, potentially installing multiple packages and causing a crash.

MITRE

Affected Software

2 affected components
pip/lollms<=9.5.1
lollms lollms-webui=9.8

Event History

Oct 11, 2024
CVE Published
via MITRE·12:14 PM
Data Sourced
via MITRE·12:14 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
Affected Software
Advisory Published
via GitHub·03:30 PM
Jun 3, 57474
Event
via NVD·07:47 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-6971?

CVE-2024-6971 is classified as a medium severity vulnerability due to the potential for unauthorized file access.

2

How do I fix CVE-2024-6971?

To fix CVE-2024-6971, update to a version of the lollms package that applies security measures to prevent path traversal.

3

What software is affected by CVE-2024-6971?

CVE-2024-6971 affects the lollms package version 9.5.1 and below.

4

What caused CVE-2024-6971?

CVE-2024-6971 was caused by the lack of proper path sanitization in specific functions within the lollms_file_system.py file.

5

Can CVE-2024-6971 lead to data exfiltration?

Yes, CVE-2024-6971 can potentially lead to data exfiltration due to unrestricted file system access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203