Writeups tagged nodejs
2 writeups
HTB: Node
medium, Linux
An Express API that returns its user collection to anyone gives up an admin password hash, the admin backup contains the application source and a database password that is also an SSH password, a scheduler runs database rows as shell commands for a second user, and a setuid backup binary with a deny-list filter runs a newline-injected command as root.
HTB: Holiday
hard, Linux
SQL injection in a Node.js login form, a stored XSS that survives an image-only filter and runs in a headless admin browser, command execution through an export parameter limited to lower case, digits, ampersand, space and slash, and a sudo rule on npm install for root.