Writeups tagged sudo
4 writeups
HTB: Nibbles
easy, Linux
A comment on the front page names a Nibbleblog install, a one-shot password guess opens its admin panel, the My image plugin stores a PHP file as given, and a sudo rule for a script under the web user's own home turns that user into root.
HTB: FluxCapacitor
medium, Linux
A command injection behind a ModSecurity blocklist is reached by sending a quote and a space unencoded and a backslash before every letter, and a sudo rule for a script that runs base64 from its argument turns nobody into root.
HTB: Bashed
easy, Linux
A developer leaves a PHP web shell in a publicly accessible directory, then compounds the mistake with a sudo misconfiguration and a root cron job reading from a user-writable directory. Three independent failures chain into full system compromise.
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.