JeecgBoot
cpe:2.3:a:jeecg:jeecg-boot:*:*:*:*:*:*:*, +1 more
- 3.0
- 3.1
- 3.2
- 3.3
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
- 3.9.0
A path traversal vulnerability has been identified in JeecgBoot versions prior to 3.9.0, specifically within the Retrieval-Augmented Generation module. The issue arises in the '/airag/knowledge/doc/edit' file, where the 'filePath' parameter can be manipulated to traverse directories. This vulnerability allows authenticated attackers to access arbitrary local files outside the web root, potentially leading to unauthorized information disclosure.
Exploitation of this vulnerability allows for restricted arbitrary file read, where the application is tricked into reading files outside of its intended directory, as long as those files have the right extensions.
To reproduce this vulnerability, log into the JeecgBoot application and navigate to the AI RAG module. Create a new knowledge base and upload a file. Then, send a request to the '/jeecgboot/airag/knowledge/doc/edit' endpoint with a JSON payload that includes a 'filePath' value crafted to include directory traversal sequences, such as '../'. If successful, the response will contain the contents of the traversed file, demonstrating the exploitation of the path traversal vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.