<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Web on mermehr's blog</title><link>https://mermehr.github.io/tags/web/</link><description>Recent content in Web on mermehr's blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 21 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://mermehr.github.io/tags/web/index.xml" rel="self" type="application/rss+xml"/><item><title>DevHub - HTB Walkthrough</title><link>https://mermehr.github.io/posts/htb-devhub/</link><pubDate>Wed, 21 Oct 2026 00:00:00 +0000</pubDate><guid>https://mermehr.github.io/posts/htb-devhub/</guid><description>&lt;h2 id="machine-summary"&gt;Machine Summary:&lt;/h2&gt;
&lt;p&gt;DevHub focuses mainly on exploiting vulnerable development tools and internal service enumeration. We first discover an active MCP Inspector service on port 6274 running a version of MCPJam vulnerable to an unauthenticated remote code execution exploit (CVE-2026-23744). Gaining access via this vulnerability drops us into an initial shell as the mcp-dev user. Enumerating internal services reveals a Jupyter server running locally on port 8888, and reading its systemd configuration file allows us to extract a valid server token. We set up an SSH local port forward to reach it and use the token to log in, gaining a shell as the analyst user. We then discover a local MCP server running on port 5000 and analyze its configuration file to uncover a hardcoded API key and a hidden administrative tool. From there, we port forward the internal service and craft an authenticated POST request to dump the root user&amp;rsquo;s private SSH key, granting us full root access.&lt;/p&gt;</description></item><item><title>Vmdak - OffSec PG Walkthrough</title><link>https://mermehr.github.io/posts/pg-vmdak/</link><pubDate>Sun, 11 Oct 2026 00:00:00 +0000</pubDate><guid>https://mermehr.github.io/posts/pg-vmdak/</guid><description>&lt;h2 id="machine-summary"&gt;Machine Summary:&lt;/h2&gt;
&lt;p&gt;Vmdak focuses mainly on web enumeration and exploitation. We first discover information disclosure on an FTP service, then find a web application on port 9443 with an SQLi vulnerability in its login form. Gaining access to the administration panel exposes another user&amp;rsquo;s credentials stored in a profile description. From there, we exploit a file upload vulnerability via the controlled user&amp;rsquo;s profile picture to land an initial shell.&lt;/p&gt;
&lt;p&gt;Enumerating system users allows us to use credential reuse to move laterally and gain SSH access as a local user. We then discover an internal Jenkins instance running on port 8080 and set up an SSH local port forward to reach it. Enumerating Jenkins reveals it is vulnerable to CVE-2024-23897, allowing us to read the initial admin password, log in, and abuse the internal Groovy scripting engine to drop a shell as root.&lt;/p&gt;</description></item><item><title>Cockpit - OffSec PG Walkthrough</title><link>https://mermehr.github.io/posts/pg-cockpit/</link><pubDate>Sun, 06 Sep 2026 00:00:00 +0000</pubDate><guid>https://mermehr.github.io/posts/pg-cockpit/</guid><description>&lt;h2 id="machine-summary"&gt;Machine Summary:&lt;/h2&gt;
&lt;p&gt;Cockpit demonstrates how a SQLi vulnerability and insecure credential storage can allow an attacker to move laterally into the system, gaining user-level write access and exploiting weak SSH security to obtain a fully interactive shell. As the compromised user, a sudo backup command containing a wildcard injection vulnerability can then be found and exploited, leading to full root access.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" src="https://mermehr.github.io/posts/pg-cockpit/index-1791757522515.png"&gt;&lt;/p&gt;
&lt;h2 id="recon"&gt;Recon&lt;/h2&gt;
&lt;h3 id="nmap-scan-results"&gt;Nmap Scan Results&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;PORT STATE SERVICE VERSION
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;22/tcp open ssh OpenSSH 8.2p1 Ubuntu 4ubuntu0.5 &lt;span style="color:#f92672"&gt;(&lt;/span&gt;Ubuntu Linux; protocol 2.0&lt;span style="color:#f92672"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| ssh-hostkey:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| &lt;span style="color:#ae81ff"&gt;3072&lt;/span&gt; 98:4e:5d:e1:e6:97:29:6f:d9:e0:d4:82:a8:f6:4f:3f &lt;span style="color:#f92672"&gt;(&lt;/span&gt;RSA&lt;span style="color:#f92672"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;| &lt;span style="color:#ae81ff"&gt;256&lt;/span&gt; 57:23:57:1f:fd:77:06:be:25:66:61:14:6d:ae:5e:98 &lt;span style="color:#f92672"&gt;(&lt;/span&gt;ECDSA&lt;span style="color:#f92672"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;|_ &lt;span style="color:#ae81ff"&gt;256&lt;/span&gt; c7:9b:aa:d5:a6:33:35:91:34:1e:ef:cf:61:a8:30:1c &lt;span style="color:#f92672"&gt;(&lt;/span&gt;ED25519&lt;span style="color:#f92672"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;80/tcp open http Apache httpd 2.4.41 &lt;span style="color:#f92672"&gt;((&lt;/span&gt;Ubuntu&lt;span style="color:#f92672"&gt;))&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;|_http-server-header: Apache/2.4.41 &lt;span style="color:#f92672"&gt;(&lt;/span&gt;Ubuntu&lt;span style="color:#f92672"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;|_http-title: blaze
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;9090/tcp open http Cockpit web service &lt;span style="color:#ae81ff"&gt;198&lt;/span&gt; - &lt;span style="color:#ae81ff"&gt;220&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;|_http-title: Did not follow redirect to https://192.168.210.10:9090/
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="http-port-9090"&gt;HTTP Port 9090&lt;/h3&gt;
&lt;p&gt;HTTP on port 9090 leads to a Cockpit administration page for the web service. No immediate vulnerabilities can be found, so we&amp;rsquo;ll move on for now.
&lt;img loading="lazy" src="https://mermehr.github.io/posts/pg-cockpit/Cockpit-1791646142339.png"&gt;&lt;/p&gt;</description></item></channel></rss>