HTB: SmartHire
A CTF write-up of the HackTheBox SmartHire machine. The attack chain exploits MLflow’s PyFunc model deserialization vulnerability: after gaining access to an MLflow instance via default credentials, the attacker overwrites pickled model artifacts through the artifacts API, achieving remote code execution when the AI HR platform scores resumes. Privilege escalation leverages a sudo script that adds a writable directory to Python’s path, allowing execution of malicious configuration files as code during Python startup.
This post is licensed under CC BY 4.0 by the author.