<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Suid on ioctl</title><link>https://ioctl.lol/tags/suid/</link><description>Recent content in Suid on ioctl</description><generator>Hugo</generator><language>en</language><copyright>ioctl</copyright><lastBuildDate>Sat, 24 Feb 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://ioctl.lol/tags/suid/index.xml" rel="self" type="application/rss+xml"/><item><title>PG: Astronaut</title><link>https://ioctl.lol/ctf/offsec/astronaut/</link><pubDate>Sat, 24 Feb 2024 00:00:00 +0000</pubDate><guid>https://ioctl.lol/ctf/offsec/astronaut/</guid><description>&lt;div class="box-info">
 &lt;table>
 &lt;tr>&lt;th colspan="2">ターゲット // Astronaut&lt;/th>&lt;/tr>
 &lt;tr>&lt;td>Platform&lt;/td>&lt;td>OffSec Proving Grounds&lt;/td>&lt;/tr>
 &lt;tr>&lt;td>OS&lt;/td>&lt;td>Linux&lt;/td>&lt;/tr>
 &lt;tr>&lt;td>Difficulty&lt;/td>&lt;td>Easy&lt;/td>&lt;/tr>
 &lt;tr>&lt;td>IP&lt;/td>&lt;td>&lt;code>192.168.155.12&lt;/code>&lt;/td>&lt;/tr>
 &lt;/table>
&lt;/div>
&lt;style>
 .box-info table {
 max-width: 400px;
 margin: 1.5em 0;
 }
 .box-info th {
 text-align: center;
 font-size: 1.1em;
 letter-spacing: 0.08em;
 }
&lt;/style>

&lt;hr>
&lt;h2 id="enumeration">Enumeration&lt;/h2>
&lt;h3 id="nmap">Nmap&lt;/h3>
&lt;details class="collapse-section">
 &lt;summary>▶ Nmap output&lt;/summary>
 &lt;div class="collapse-content">
 &lt;pre tabindex="0">&lt;code>PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 8.2p1 Ubuntu 4ubuntu0.5 (Ubuntu Linux; protocol 2.0)
80/tcp open http Apache httpd 2.4.41 ((Ubuntu))
&lt;/code>&lt;/pre>
 &lt;/div>
&lt;/details>
&lt;style>
 .collapse-section {
 border: 1px dashed var(--accent-alpha-20);
 padding: 0.5em 1em;
 margin: 1em 0;
 cursor: pointer;
 }
 .collapse-section[open] summary {
 margin-bottom: 0.8em;
 border-bottom: 1px dashed var(--accent-alpha-20);
 padding-bottom: 0.5em;
 }
 .collapse-section summary {
 font-weight: 700;
 color: var(--accent);
 outline: none;
 }
 .collapse-content {
 padding-top: 0.5em;
 }
&lt;/style>

&lt;p>Two ports. SSH is a dead end without creds, so the web server is the way in. The Apache directory listing on port 80 exposes a &lt;code>grav-admin/&lt;/code> folder — a &lt;a href="https://getgrav.org/">Grav CMS&lt;/a> install. &lt;code>robots.txt&lt;/code> confirms a stock Grav layout (&lt;code>/user/&lt;/code>, &lt;code>/system/&lt;/code>, &lt;code>/cache/&lt;/code>…).&lt;/p></description></item><item><title>PG: Dibble</title><link>https://ioctl.lol/ctf/offsec/dibble/</link><pubDate>Tue, 07 Mar 2023 00:00:00 +0000</pubDate><guid>https://ioctl.lol/ctf/offsec/dibble/</guid><description>&lt;div class="box-info">
 &lt;table>
 &lt;tr>&lt;th colspan="2">ターゲット // Dibble&lt;/th>&lt;/tr>
 &lt;tr>&lt;td>Platform&lt;/td>&lt;td>OffSec Proving Grounds&lt;/td>&lt;/tr>
 &lt;tr>&lt;td>OS&lt;/td>&lt;td>Linux&lt;/td>&lt;/tr>
 &lt;tr>&lt;td>Difficulty&lt;/td>&lt;td>Medium&lt;/td>&lt;/tr>
 &lt;tr>&lt;td>IP&lt;/td>&lt;td>&lt;code>192.168.179.110&lt;/code>&lt;/td>&lt;/tr>
 &lt;/table>
&lt;/div>
&lt;style>
 .box-info table {
 max-width: 400px;
 margin: 1.5em 0;
 }
 .box-info th {
 text-align: center;
 font-size: 1.1em;
 letter-spacing: 0.08em;
 }
&lt;/style>

&lt;hr>
&lt;h2 id="enumeration">Enumeration&lt;/h2>
&lt;h3 id="nmap">Nmap&lt;/h3>
&lt;details class="collapse-section">
 &lt;summary>▶ Nmap output&lt;/summary>
 &lt;div class="collapse-content">
 &lt;pre tabindex="0">&lt;code>PORT STATE SERVICE VERSION
21/tcp open ftp vsftpd 3.0.3
22/tcp open ssh OpenSSH 8.3 (protocol 2.0)
80/tcp open http Apache httpd 2.4.46 ((Fedora))
3000/tcp open http Node.js (Express middleware)
27017/tcp open mongodb MongoDB 4.2.9
&lt;/code>&lt;/pre>
 &lt;/div>
&lt;/details>
&lt;style>
 .collapse-section {
 border: 1px dashed var(--accent-alpha-20);
 padding: 0.5em 1em;
 margin: 1em 0;
 cursor: pointer;
 }
 .collapse-section[open] summary {
 margin-bottom: 0.8em;
 border-bottom: 1px dashed var(--accent-alpha-20);
 padding-bottom: 0.5em;
 }
 .collapse-section summary {
 font-weight: 700;
 color: var(--accent);
 outline: none;
 }
 .collapse-content {
 padding-top: 0.5em;
 }
&lt;/style>

&lt;p>Fedora box with a busy surface. Anonymous FTP is allowed but the listing hangs and holds nothing. Port 80 is a stock &lt;strong>Drupal 9.0.6&lt;/strong> install page (&lt;code>/core/install.php&lt;/code>) — a red herring that goes nowhere. The two ports that matter are the &lt;strong>MongoDB&lt;/strong> on 27017 (exposed with no auth) and the &lt;strong>Node.js/Express&lt;/strong> app on 3000.&lt;/p></description></item><item><title>PG: Nibbles</title><link>https://ioctl.lol/ctf/offsec/nibbles/</link><pubDate>Tue, 07 Mar 2023 00:00:00 +0000</pubDate><guid>https://ioctl.lol/ctf/offsec/nibbles/</guid><description>&lt;div class="box-info">
 &lt;table>
 &lt;tr>&lt;th colspan="2">ターゲット // Nibbles&lt;/th>&lt;/tr>
 &lt;tr>&lt;td>Platform&lt;/td>&lt;td>OffSec Proving Grounds&lt;/td>&lt;/tr>
 &lt;tr>&lt;td>OS&lt;/td>&lt;td>Linux&lt;/td>&lt;/tr>
 &lt;tr>&lt;td>Difficulty&lt;/td>&lt;td>Medium&lt;/td>&lt;/tr>
 &lt;tr>&lt;td>IP&lt;/td>&lt;td>&lt;code>192.168.184.47&lt;/code>&lt;/td>&lt;/tr>
 &lt;/table>
&lt;/div>
&lt;style>
 .box-info table {
 max-width: 400px;
 margin: 1.5em 0;
 }
 .box-info th {
 text-align: center;
 font-size: 1.1em;
 letter-spacing: 0.08em;
 }
&lt;/style>

&lt;hr>
&lt;h2 id="enumeration">Enumeration&lt;/h2>
&lt;h3 id="nmap">Nmap&lt;/h3>
&lt;details class="collapse-section">
 &lt;summary>▶ Nmap output&lt;/summary>
 &lt;div class="collapse-content">
 &lt;pre tabindex="0">&lt;code>PORT STATE SERVICE VERSION
21/tcp open ftp vsftpd 3.0.3
22/tcp open ssh OpenSSH 7.9p1 Debian 10+deb10u2 (protocol 2.0)
80/tcp open http Apache httpd 2.4.38 ((Debian))
5437/tcp open postgresql PostgreSQL DB 11.3 - 11.9
&lt;/code>&lt;/pre>
 &lt;/div>
&lt;/details>
&lt;style>
 .collapse-section {
 border: 1px dashed var(--accent-alpha-20);
 padding: 0.5em 1em;
 margin: 1em 0;
 cursor: pointer;
 }
 .collapse-section[open] summary {
 margin-bottom: 0.8em;
 border-bottom: 1px dashed var(--accent-alpha-20);
 padding-bottom: 0.5em;
 }
 .collapse-section summary {
 font-weight: 700;
 color: var(--accent);
 outline: none;
 }
 .collapse-content {
 padding-top: 0.5em;
 }
&lt;/style>

&lt;p>Four services on a Debian 10 (Buster) box. FTP rejects anonymous login, SSH is a dead end without creds, and Apache serves nothing worth fuzzing. The odd one out is &lt;strong>PostgreSQL on 5437&lt;/strong> — not the default 5432. A database exposed straight to the network, on a port someone deliberately moved, is where the attention goes.&lt;/p></description></item></channel></rss>