Penetration Test of Hack The Box 'Jewel' Machine Finds Critical Remote Compromise Path
A security assessment report documents a penetration test of the Hack The Box machine 'Jewel', conducted under PTES and NIST SP 800-115 methodologies and rated critical. The tester scanned the Linux host and found three open TCP ports, including SSH and two HTTP services, one of which exposed the blog application's source code via Gitweb. The blog, built on Ruby on Rails, was found to use a version vulnerable to CVE-2020-8165, an insecure deserialization flaw that allowed remote code execution through a crafted object in the profile update feature. Privilege escalation was then achieved by abusing a sudo-permitted gem and bypassing Google Authenticator two-factor authentication, leading to full administrative control. The assessment concluded with successful retrieval of both the user and root flags.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in