Parisneo Lollms Path Traversal Vulnerability in Wipe Database Endpoint Allowing Arbitrary Directory Deletion

Vulnerability

A path traversal vulnerability has been identified in the '/wipe_database' endpoint of Parisneo Lollms version 12. This vulnerability allows an attacker to delete any directory on the system by exploiting improper validation of the 'key' parameter, which is used to construct file paths. By sending a specially crafted HTTP request, an attacker can manipulate the file path to target arbitrary directories for deletion.

Impact

Exploitation of this vulnerability allows for the deletion of any directory on the system, potentially leading to loss of important data or application functionality.

Reproduction

To reproduce this vulnerability, send a DELETE request to the '/wipe_database' endpoint with a crafted 'key' parameter that includes path traversal sequences. This will manipulate the file path to target a specific directory for deletion. The request can be made using a tool like Postman or curl, ensuring to include the necessary headers such as 'Content-Type' and 'User-Agent'.

Remediation

The vulnerability can be addressed by adding proper path sanitization to the endpoint, ensuring that the 'key' parameter is validated to prevent traversal attacks.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.6
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.