VvvebJs
VvvebJs copied to clipboard
Directory Traversal in /save.php allows arbitrary file write via file parameter
VvvebJs suffers from a directory traversal vulnerability in the /save.php endpoint. The issue allows remote attackers to write arbitrary files outside the intended directory via the file POST parameter due to insufficient sanitization of user input.
This vulnerability exists only when the application is run using Node.js, following the project documentation (node save.js).
POC:
# Start the application with:
node save.js
# Send the malicious request:
curl -X POST http://localhost:8080/save.php \
-d 'file=../flag.txt&html=exploit'
This will create a file named flag.txt one level above the server root, demonstrating path traversal and arbitrary file write.
Thanks for the vulnerability report.