A detailed walkthrough of the HackTheBox machine 'Orion', a Linux box running Craft CMS 5.6.16. The exploit chain starts with CVE-2025-32432, an unauthenticated RCE in Craft's image transform endpoint that abuses an object injection flaw in the Yii2 framework. By poisoning a PHP session file with a crafted URL parameter and using the PhpManager gadget to execute it, a shell is obtained as www-data. Database credentials from the .env file lead to a bcrypt hash crack (password: darkangel) for lateral movement to user 'adam'. Root access is achieved by abusing inetd-served telnet's authentication bypass, smuggling '-f root' through the USER environment variable.
616 Impressions