Skip to content

Autonomous OODA-loop pentesting agent. Hermes brain, Kali + Playwright tools over MCP, ATT&CK as the Orient language.

feat(web): expand landing page + add pentest report example

irraz830ea2eb121b
diff --git a/docs/index.html b/docs/index.html
index 4d1d027..cac8170 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -79,6 +79,21 @@
An OODA pentest driven by <strong>Hermes</strong> talking
<strong>directly</strong> to a <strong>Kali</strong> container via MCP.
</p>
+ <div class="hero__cta">
+ <a class="cta-btn cta-btn--primary" href="https://github.com/irraz/vulnerator-ai" rel="noopener" target="_blank">
+ <svg class="cta-icon" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z"/></svg>
+ View on GitHub
+ </a>
+ <a class="cta-btn cta-btn--secondary" href="#quick-start">Quick Start</a>
+ </div>
+ <div class="hero__badges">
+ <span class="hbadge">
+ <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 .587l3.668 7.568L24 9.306l-6 5.849 1.416 8.245L12 19.083l-7.416 4.317L6 15.155 0 9.306l8.332-1.151z"/></svg>
+ <span id="gh-stars">—</span> stars
+ </span>
+ <span class="hbadge">v<span id="version-badge">1.4.0</span></span>
+ <span class="hbadge hbadge--green">Open Source · MIT</span>
+ </div>
</div>
</header>
@@ -154,15 +169,272 @@
</aside>
</div>
</section>
+
+ <!-- ── Engagement modes ── -->
+ <section class="section" aria-labelledby="modes-title" id="modes">
+ <div class="wrap">
+ <h2 class="section__title" id="modes-title">Engagement modes</h2>
+ <p class="prose">Declare the mode at the start of every engagement. The agent enforces the scope itself.</p>
+ <ul class="cards" role="list">
+ <li class="card card--green">
+ <h3 class="card__name card__name--green">mode: pentest</h3>
+ <p class="card__body">
+ Stop at exploitability evidence. Confirms the crash, documents the CVE, records CVSS,
+ affected / patched versions and remediation steps. <strong>No root shell.</strong>
+ Delivers an enriched Markdown + HTML report.
+ </p>
+ </li>
+ <li class="card card--red">
+ <h3 class="card__name">mode: redteam · ctf</h3>
+ <p class="card__body">
+ Full compromise. Exploit, escalate, capture objectives (flags, credentials, data).
+ Uses all available resources. The agent stops only when the objective is reached
+ or all routes are exhausted.
+ </p>
+ </li>
+ </ul>
+ </div>
+ </section>
+
+ <!-- ── OODA engine features ── -->
+ <section class="section" aria-labelledby="features-title" id="features">
+ <div class="wrap">
+ <h2 class="section__title" id="features-title">OODA engine</h2>
+ <p class="section__lead">Observe &rarr; Orient &rarr; Decide &rarr; Act &rarr; Report</p>
+ <ul class="feature-list" role="list">
+ <li class="feature-item">
+ <span class="feature-icon">&#9651;</span>
+ <div>
+ <strong>Direct MCP execution</strong> — Hermes calls tools directly on Kali. No intermediate API, no validation layer, no overhead. When it calls <code>mcp_kali_kali_run</code>, the shell command runs for real and returns real output.
+ </div>
+ </li>
+ <li class="feature-item">
+ <span class="feature-icon">&#9651;</span>
+ <div>
+ <strong>Evidence discipline</strong> — only real tool output counts as evidence. The agent cannot cite a CVE or advisory it did not find in an actual tool result. Failed searches count as steps without progress.
+ </div>
+ </li>
+ <li class="feature-item">
+ <span class="feature-icon">&#9651;</span>
+ <div>
+ <strong>Durable finding store</strong> — <code>record_finding</code> / <code>read_findings</code> persist across context compression and session restarts. The ORIENT phase always reloads the store before reasoning.
+ </div>
+ </li>
+ <li class="feature-item">
+ <span class="feature-icon">&#9651;</span>
+ <div>
+ <strong>OODA task list</strong> — structured <code>todo_list</code> (OBSERVE / ORIENT / DECIDE / ACT / REPORT) survives context compression and is visible in the session chat throughout the engagement.
+ </div>
+ </li>
+ <li class="feature-item">
+ <span class="feature-icon">&#9651;</span>
+ <div>
+ <strong>Web + CLI in parallel</strong> — Playwright MCP gives the agent a real Chromium browser for web pentesting (DOM, XSS, JS-rendered SPAs) alongside Kali CLI tools. No native browser toolset.
+ </div>
+ </li>
+ <li class="feature-item">
+ <span class="feature-icon">&#9651;</span>
+ <div>
+ <strong>Two-layer pentest report</strong> — <code>report_gen.py</code> produces a structured Markdown base from the finding store; the agent enriches it with session context and renders a standalone HTML report with the Vulnerator-AI visual theme.
+ </div>
+ </li>
+ <li class="feature-item">
+ <span class="feature-icon">&#9651;</span>
+ <div>
+ <strong>MCP front door</strong> — the <code>vulnerator-mcp</code> container exposes Hermes runs as MCP tools so any MCP client (Claude Code, Kiro, custom tooling) can trigger, steer and observe a pentest programmatically.
+ </div>
+ </li>
+ <li class="feature-item">
+ <span class="feature-icon">&#9651;</span>
+ <div>
+ <strong>Hermes web dashboard</strong> — built-in browser UI at <code>:9119</code> with the Vulnerator-AI skin (dark red/green cyber theme, custom OODA spinner verbs, block ASCII banner). No TUI required.
+ </div>
+ </li>
+ </ul>
+ </div>
+ </section>
+
+ <!-- ── Quick start ── -->
+ <section class="section" aria-labelledby="quick-start-title" id="quick-start">
+ <div class="wrap">
+ <h2 class="section__title" id="quick-start-title">Quick start</h2>
+ <p class="prose">One command. The installer asks for your OpenRouter key and brings the stack up.</p>
+ <div class="code-block">
+ <div class="code-block__bar">
+ <span class="code-block__label">bash</span>
+ <button class="code-block__copy" type="button" onclick="navigator.clipboard.writeText('git clone https://github.com/irraz/vulnerator-ai && cd vulnerator-ai && ./install.sh')" aria-label="Copy command">copy</button>
+ </div>
+ <pre class="code-block__body"><code><span class="cg">git clone</span> https://github.com/irraz/vulnerator-ai
+<span class="cg">cd</span> vulnerator-ai
+<span class="ca">./install.sh</span></code></pre>
+ </div>
+ <p class="prose prose--sm">
+ Requires Docker, Docker Compose v2 and an
+ <a href="https://openrouter.ai/" rel="noopener" target="_blank">OpenRouter</a> API key
+ (or a local <a href="https://ollama.com/" rel="noopener" target="_blank">Ollama</a> endpoint).
+ Tested on macOS (Apple Silicon) and Linux x86-64.
+ </p>
+ </div>
+ </section>
+
+ <!-- ── Labs ── -->
+ <section class="section" aria-labelledby="labs-title" id="labs">
+ <div class="wrap">
+ <h2 class="section__title" id="labs-title">Practice labs</h2>
+ <p class="prose">Isolated, disposable Docker environments for testing the OODA agent against real vulnerabilities without internet-facing risk.</p>
+ <ul class="labs-list" role="list">
+ <li class="lab-card">
+ <div class="lab-card__header">
+ <span class="lab-card__tag">LPE</span>
+ <span class="lab-card__tag lab-card__tag--red">CVE-2023-4911</span>
+ <span class="lab-card__tag lab-card__tag--dim">x86-64</span>
+ </div>
+ <h3 class="lab-card__name">looney-tunables-ctf</h3>
+ <p class="lab-card__body">
+ Ubuntu 23.04 container with glibc <code>2.37-0ubuntu2</code> pinned at the vulnerable
+ revision (pre-patch). The agent must enumerate the system, discover CVE-2023-4911
+ (Looney Tunables — <code>GLIBC_TUNABLES</code> buffer overflow in <code>ld.so</code>,
+ CVSS 7.8), and either demonstrate exploitability (pentest mode) or obtain a root shell
+ (redteam mode) using the gcc toolchain installed on the target. No hints about the
+ vulnerability are given.
+ </p>
+ <div class="lab-card__meta">
+ <span>Ubuntu 23.04 lunar</span>
+ <span>&middot;</span>
+ <span>SSH access · agent_user</span>
+ <span>&middot;</span>
+ <span>ASLR level 2</span>
+ </div>
+ <div class="lab-card__links">
+ <a href="https://github.com/irraz/vulnerator-ai/tree/master/labs/looney-tunables-ctf" rel="noopener" target="_blank" class="lab-link">Lab source</a>
+ <a href="pentest-report-example.html" class="lab-link lab-link--report">Sample pentest report &rarr;</a>
+ </div>
+ </li>
+ </ul>
+ </div>
+ </section>
+
+ <!-- ── Sample reports ── -->
+ <section class="section" aria-labelledby="reports-title" id="reports">
+ <div class="wrap">
+ <h2 class="section__title" id="reports-title">Sample reports</h2>
+ <p class="prose">Real output from the agent running in <code>mode: pentest</code>. Two-layer report: structured evidence from the finding store + LLM narrative enrichment, rendered with the Vulnerator-AI visual theme.</p>
+ <ul class="report-cards" role="list">
+ <li class="report-card">
+ <div class="report-card__top">
+ <span class="report-card__cvss">7.8</span>
+ <div>
+ <p class="report-card__cve">CVE-2023-4911 — Looney Tunables</p>
+ <p class="report-card__target">ubuntu-server-01 · Ubuntu 23.04 · looney-tunables-ctf lab</p>
+ </div>
+ </div>
+ <p class="report-card__summary">
+ glibc 2.37 buffer overflow in <code>ld.so</code> via <code>GLIBC_TUNABLES</code>.
+ Exploitability demonstrated: 10/10 SIGSEGV on SUID binaries with differential controls.
+ OODA loop closed in 14 steps.
+ </p>
+ <a href="pentest-report-example.html" class="report-link">View full report &rarr;</a>
+ </li>
+ </ul>
+ </div>
+ </section>
+
+ <!-- ── Open source ── -->
+ <section class="section" aria-labelledby="oss-title" id="oss">
+ <div class="wrap">
+ <h2 class="section__title" id="oss-title">Open source</h2>
+ <div class="oss-block">
+ <div class="oss-block__text">
+ <p class="prose">
+ Vulnerator-AI is <strong>fully open source</strong> under the MIT licence.
+ Read the code, fork it, extend it, run it against your own infrastructure.
+ The SOUL.md, skills, config and all OODA loop logic are plain text files you
+ can read and modify without touching a binary.
+ </p>
+ <ul class="oss-links" role="list">
+ <li><a href="https://github.com/irraz/vulnerator-ai" rel="noopener" target="_blank">github.com/irraz/vulnerator-ai</a> — source, issues, PRs</li>
+ <li><a href="https://github.com/irraz/vulnerator-ai/releases" rel="noopener" target="_blank">Releases</a> — changelog and versioned packages</li>
+ <li><a href="https://github.com/irraz/vulnerator-ai/tree/master/docs" rel="noopener" target="_blank">docs/</a> — configuration, usage, security model</li>
+ </ul>
+ </div>
+ <div class="oss-block__stat">
+ <a class="gh-btn" href="https://github.com/irraz/vulnerator-ai" rel="noopener" target="_blank" aria-label="Star on GitHub">
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z"/></svg>
+ Star on GitHub
+ </a>
+ <p class="gh-stars-count"><span id="gh-stars-oss">—</span> stars</p>
+ <p class="gh-version">v<span id="version-oss">1.4.0</span> · MIT</p>
+ </div>
+ </div>
+ </div>
+ </section>
+
+ <section class="section section--warn" aria-labelledby="warn-title">
+ <div class="wrap">
+ <aside class="warning" role="note">
+ <h2 class="warning__title" id="warn-title">&#9888; Warning</h2>
+ <p class="warning__body">
+ By default this product has <strong>no guardrails</strong>: no scope-guard, no consent,
+ no authorization gate. There is an <strong>opt-in</strong> scope-guard you can enable,
+ but by default nothing validates the scope. Use this
+ <strong>only against explicitly authorized targets</strong> and in a
+ <strong>controlled environment</strong>. All responsibility for the scope rests with
+ the operator.
+ </p>
+ </aside>
+ </div>
+ </section>
</main>
<footer class="footer">
<div class="wrap footer__wrap">
- <a class="footer__link" href="https://github.com/irraz/vulnerator-ai" rel="noopener">
- github.com/irraz/vulnerator-ai
- </a>
+ <div class="footer__top">
+ <div class="footer__brand">
+ <span class="footer__name">VULNERATOR-AI</span>
+ <span class="footer__version">v<span id="version-footer">1.4.0</span></span>
+ <span class="footer__oss">Open Source · MIT</span>
+ </div>
+ <div class="footer__links">
+ <a href="https://github.com/irraz/vulnerator-ai" rel="noopener" target="_blank" class="footer__link footer__link--gh">
+ <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z"/></svg>
+ github.com/irraz/vulnerator-ai
+ </a>
+ <a href="pentest-report-example.html" class="footer__link">Sample report</a>
+ <a href="https://github.com/irraz/vulnerator-ai/blob/master/docs/usage.md" rel="noopener" target="_blank" class="footer__link">Docs</a>
+ </div>
+ </div>
<p class="footer__tagline">summoned from the depths of the OODA abyss &middot; mmxxvi</p>
</div>
</footer>
+
+ <script>
+ // Fetch live GitHub stats (stars + latest release version)
+ (function () {
+ function setAll(id, val) {
+ document.querySelectorAll(id).forEach(function(el){ el.textContent = val; });
+ }
+ fetch('https://api.github.com/repos/irraz/vulnerator-ai')
+ .then(function(r){ return r.json(); })
+ .then(function(d){
+ if (d.stargazers_count !== undefined) {
+ var s = d.stargazers_count.toLocaleString();
+ setAll('#gh-stars', s);
+ setAll('#gh-stars-oss', s);
+ }
+ })
+ .catch(function(){});
+ fetch('https://api.github.com/repos/irraz/vulnerator-ai/releases/latest')
+ .then(function(r){ return r.json(); })
+ .then(function(d){
+ if (d.tag_name) {
+ var v = d.tag_name.replace(/^v/, '');
+ setAll('#version-badge', v);
+ setAll('#version-oss', v);
+ setAll('#version-footer', v);
+ }
+ })
+ .catch(function(){});
+ })();
+ </script>
</body>
</html>
diff --git a/docs/pentest-report-example.html b/docs/pentest-report-example.html
new file mode 100644
index 0000000..0ac5d92
--- /dev/null
+++ b/docs/pentest-report-example.html
@@ -0,0 +1,536 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<title>Vulnerator-AI — Pentest Report: CVE-2023-4911</title>
+<style>
+ :root {
+ --bg: #0d0000;
+ --bg-panel: #180000;
+ --bg-card: #1e0000;
+ --border: #cc0000;
+ --border-dim: #550000;
+ --red: #cc0000;
+ --red-bright: #ff4444;
+ --green: #00ff41;
+ --green-dim: #007a1f;
+ --text: #e8e8e8;
+ --text-dim: #aa7777;
+ --text-muted: #664444;
+ --yellow: #ff8800;
+ --code-bg: #0a0000;
+ }
+
+ * { box-sizing: border-box; margin: 0; padding: 0; }
+
+ body {
+ background: var(--bg);
+ color: var(--text);
+ font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
+ font-size: 14px;
+ line-height: 1.6;
+ }
+
+ /* ── Header ── */
+ .site-header {
+ background: var(--bg-panel);
+ border-bottom: 2px solid var(--border);
+ padding: 16px 32px;
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ }
+ .site-header .logo {
+ font-family: monospace;
+ font-size: 22px;
+ font-weight: bold;
+ color: var(--red-bright);
+ letter-spacing: 2px;
+ }
+ .site-header .logo span { color: var(--green); }
+ .site-header .tagline {
+ font-size: 11px;
+ color: var(--text-dim);
+ letter-spacing: 1px;
+ text-transform: uppercase;
+ margin-left: auto;
+ }
+
+ /* ── Report meta bar ── */
+ .report-meta {
+ background: var(--bg-panel);
+ border-bottom: 1px solid var(--border-dim);
+ padding: 12px 32px;
+ display: flex;
+ gap: 32px;
+ flex-wrap: wrap;
+ }
+ .meta-item { display: flex; flex-direction: column; gap: 2px; }
+ .meta-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
+ .meta-value { font-size: 13px; color: var(--text); font-family: monospace; }
+
+ /* ── Main layout ── */
+ .container { max-width: 1100px; margin: 0 auto; padding: 32px; }
+
+ /* ── Severity badge ── */
+ .badge {
+ display: inline-block;
+ padding: 3px 10px;
+ border-radius: 3px;
+ font-size: 11px;
+ font-weight: bold;
+ letter-spacing: 1px;
+ text-transform: uppercase;
+ }
+ .badge-high { background: #7a0000; color: #ff4444; border: 1px solid #cc0000; }
+ .badge-medium { background: #5a3000; color: #ff8800; border: 1px solid #885500; }
+ .badge-low { background: #1a3a00; color: #88ff00; border: 1px solid #337700; }
+ .badge-info { background: #002244; color: #4488ff; border: 1px solid #224488; }
+ .badge-ok { background: #003300; color: #00ff41; border: 1px solid #007722; }
+ .badge-cvss { background: #7a0000; color: #ffcc00; border: 1px solid #cc0000; font-size: 13px; padding: 4px 14px; }
+
+ /* ── CVSS hero ── */
+ .cvss-hero {
+ background: var(--bg-panel);
+ border: 2px solid var(--red);
+ border-radius: 6px;
+ padding: 24px 32px;
+ margin-bottom: 32px;
+ display: flex;
+ align-items: center;
+ gap: 32px;
+ flex-wrap: wrap;
+ }
+ .cvss-score {
+ font-family: monospace;
+ font-size: 56px;
+ font-weight: bold;
+ color: var(--red-bright);
+ line-height: 1;
+ }
+ .cvss-score .cvss-label { display: block; font-size: 12px; color: var(--text-dim); letter-spacing: 2px; margin-bottom: 4px; }
+ .cvss-details { flex: 1; }
+ .cvss-cve {
+ font-family: monospace;
+ font-size: 24px;
+ color: var(--green);
+ font-weight: bold;
+ margin-bottom: 8px;
+ }
+ .cvss-vector {
+ font-family: monospace;
+ font-size: 11px;
+ color: var(--text-dim);
+ background: var(--code-bg);
+ padding: 4px 8px;
+ border-radius: 3px;
+ border-left: 2px solid var(--border-dim);
+ margin-bottom: 8px;
+ }
+ .cvss-tags { display: flex; gap: 8px; flex-wrap: wrap; }
+
+ /* ── Sections ── */
+ .section { margin-bottom: 40px; }
+ .section-title {
+ font-size: 13px;
+ font-weight: bold;
+ color: var(--green);
+ letter-spacing: 2px;
+ text-transform: uppercase;
+ border-bottom: 1px solid var(--border-dim);
+ padding-bottom: 8px;
+ margin-bottom: 20px;
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ }
+ .section-title::before { content: '⚡'; color: var(--red-bright); }
+ .section-title .section-num { color: var(--text-muted); font-weight: normal; }
+
+ /* ── Executive summary box ── */
+ .exec-summary {
+ background: var(--bg-panel);
+ border-left: 3px solid var(--red);
+ padding: 20px 24px;
+ border-radius: 0 6px 6px 0;
+ color: var(--text);
+ line-height: 1.8;
+ }
+ .exec-summary code { background: var(--code-bg); padding: 1px 5px; border-radius: 3px; font-size: 12px; color: var(--green); }
+
+ /* ── Tables ── */
+ table { width: 100%; border-collapse: collapse; font-size: 13px; }
+ th {
+ background: var(--bg-card);
+ color: var(--text-dim);
+ text-align: left;
+ padding: 8px 12px;
+ font-size: 11px;
+ letter-spacing: 1px;
+ text-transform: uppercase;
+ border-bottom: 1px solid var(--border);
+ }
+ td {
+ padding: 9px 12px;
+ border-bottom: 1px solid var(--border-dim);
+ vertical-align: top;
+ }
+ tr:hover td { background: rgba(204,0,0,0.04); }
+ td code { background: var(--code-bg); padding: 1px 5px; border-radius: 3px; font-size: 12px; color: var(--green); }
+ td strong { color: var(--text); }
+ .td-key { color: var(--text-dim); font-size: 12px; white-space: nowrap; width: 200px; }
+ .td-val { color: var(--text); }
+
+ /* ── Terminal / code blocks ── */
+ .terminal {
+ background: var(--code-bg);
+ border: 1px solid var(--border-dim);
+ border-radius: 6px;
+ overflow: hidden;
+ margin: 16px 0;
+ }
+ .terminal-bar {
+ background: var(--bg-card);
+ border-bottom: 1px solid var(--border-dim);
+ padding: 6px 12px;
+ font-size: 11px;
+ color: var(--text-muted);
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ }
+ .terminal-bar .dot { width: 8px; height: 8px; border-radius: 50%; }
+ .dot-red { background: #cc0000; }
+ .dot-amber { background: #ff8800; }
+ .dot-green { background: #00ff41; }
+ .terminal-body {
+ padding: 16px 20px;
+ font-family: 'Cascadia Code', 'Fira Code', 'Courier New', monospace;
+ font-size: 12px;
+ color: var(--green);
+ overflow-x: auto;
+ white-space: pre;
+ line-height: 1.7;
+ }
+ .terminal-body .cmd { color: #e8e8e8; }
+ .terminal-body .out-ok { color: var(--green); }
+ .terminal-body .out-err { color: var(--red-bright); }
+ .terminal-body .comment { color: var(--text-muted); }
+
+ /* ── Controls table ── */
+ .controls-table td.rc-ok { color: var(--green); font-family: monospace; }
+ .controls-table td.rc-fail { color: var(--red-bright); font-family: monospace; font-weight: bold; }
+ .controls-table td.result-fail { color: var(--red-bright); }
+ .controls-table td.result-ok { color: var(--green); }
+
+ /* ── Discarded vectors ── */
+ .discarded-row td { opacity: 0.65; }
+ .discarded-row td:first-child { text-decoration: line-through; text-decoration-color: var(--border-dim); }
+
+ /* ── Remediation steps ── */
+ .remediation-list { list-style: none; padding: 0; }
+ .remediation-list li {
+ background: var(--bg-panel);
+ border-left: 3px solid var(--yellow);
+ padding: 14px 18px;
+ margin-bottom: 10px;
+ border-radius: 0 6px 6px 0;
+ line-height: 1.7;
+ }
+ .remediation-list li strong { color: var(--yellow); }
+ .remediation-list li code { background: var(--code-bg); padding: 1px 5px; border-radius: 3px; font-size: 12px; color: var(--green); }
+ .remediation-list li .priority {
+ font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
+ color: var(--text-muted); margin-bottom: 6px; display: block;
+ }
+ .remediation-list li .priority.p1 { color: var(--red-bright); }
+ .remediation-list li .priority.p2 { color: var(--yellow); }
+ .remediation-list li .priority.p3 { color: var(--text-dim); }
+
+ /* ── Scope checklist ── */
+ .scope-list { list-style: none; padding: 0; }
+ .scope-list li {
+ padding: 8px 12px;
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ border-bottom: 1px solid var(--border-dim);
+ font-size: 13px;
+ }
+ .scope-list li:last-child { border-bottom: none; }
+ .scope-list li .check { color: var(--green); font-size: 16px; }
+ .scope-note {
+ margin-top: 16px;
+ background: var(--bg-panel);
+ border: 1px solid var(--green-dim);
+ border-radius: 6px;
+ padding: 14px 18px;
+ color: var(--text-dim);
+ font-size: 13px;
+ line-height: 1.7;
+ }
+ .scope-note strong { color: var(--green); }
+
+ /* ── Footer ── */
+ .site-footer {
+ background: var(--bg-panel);
+ border-top: 1px solid var(--border-dim);
+ padding: 20px 32px;
+ margin-top: 48px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ flex-wrap: wrap;
+ gap: 12px;
+ }
+ .site-footer .footer-brand { font-family: monospace; font-size: 13px; color: var(--red); }
+ .site-footer .footer-brand span { color: var(--green); }
+ .site-footer .footer-meta { font-size: 11px; color: var(--text-muted); text-align: right; }
+
+ /* ── Condition pills ── */
+ .condition-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
+ .pill {
+ background: var(--bg-card);
+ border: 1px solid var(--border-dim);
+ border-radius: 12px;
+ padding: 3px 10px;
+ font-size: 11px;
+ font-family: monospace;
+ color: var(--text-dim);
+ }
+ .pill.active { border-color: var(--red); color: var(--red-bright); }
+
+ code { font-family: 'Cascadia Code', 'Fira Code', monospace; }
+</style>
+</head>
+<body>
+
+<!-- ── Header ── -->
+<header class="site-header">
+ <div class="logo">VULNERATOR<span>-AI</span></div>
+ <div class="tagline">OODA Pentest Engine · Automated Security Assessment</div>
+</header>
+
+<!-- ── Report meta ── -->
+<div class="report-meta">
+ <div class="meta-item"><span class="meta-label">Engagement</span><span class="meta-value">eng-ubuntu-server-01-lpe</span></div>
+ <div class="meta-item"><span class="meta-label">Target</span><span class="meta-value">ubuntu-server-01</span></div>
+ <div class="meta-item"><span class="meta-label">Mode</span><span class="meta-value">pentest</span></div>
+ <div class="meta-item"><span class="meta-label">Initial access</span><span class="meta-value">SSH agent_user (uid=1001)</span></div>
+ <div class="meta-item"><span class="meta-label">System</span><span class="meta-value">Ubuntu 23.04 lunar · Docker · kernel 6.2.0-39-generic</span></div>
+ <div class="meta-item"><span class="meta-label">Date</span><span class="meta-value">2026-10-18</span></div>
+</div>
+
+<div class="container">
+
+ <!-- ── CVSS Hero ── -->
+ <div class="cvss-hero">
+ <div class="cvss-score">
+ <span class="cvss-label">CVSS 3.1</span>
+ 7.8
+ </div>
+ <div class="cvss-details">
+ <div class="cvss-cve">CVE-2023-4911 · "Looney Tunables"</div>
+ <div class="cvss-vector">CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H</div>
+ <div class="cvss-tags">
+ <span class="badge badge-high">HIGH</span>
+ <span class="badge badge-high">LPE</span>
+ <span class="badge badge-high">CISA KEV</span>
+ <span class="badge badge-info">T1068</span>
+ <span class="badge badge-medium">Public exploit</span>
+ </div>
+ </div>
+ <div style="text-align:right">
+ <div style="font-size:11px;color:var(--text-muted);margin-bottom:4px">OODA LOOP</div>
+ <div style="font-size:28px;color:var(--green);font-family:monospace;font-weight:bold">14 steps</div>
+ <div style="font-size:11px;color:var(--text-muted)">OBSERVE→ORIENT→DECIDE→ACT→REPORT</div>
+ </div>
+ </div>
+
+ <!-- ── 1. Executive Summary ── -->
+ <div class="section">
+ <div class="section-title"><span class="section-num">01 /</span> Executive Summary</div>
+ <div class="exec-summary">
+ A <strong>high-severity</strong> local privilege escalation (LPE) vulnerability was identified
+ and demonstrated: <strong>CVE-2023-4911</strong> ("Looney Tunables") in the system's glibc.
+ The <code>libc6</code> package is installed at version <code>2.37-0ubuntu2</code>
+ (pinned with <code>apt hold</code>, dpkg state <code>hi</code>), one revision behind the
+ official security patch <code>2.37-0ubuntu2.1</code> (USN-6409-1).<br><br>
+ Any local user — including the unprivileged <code>agent_user</code> — can execute code as root
+ through standard SUID binaries (<code>su</code>, <code>sudo</code>, <code>mount</code>,
+ <code>passwd</code>…). In this engagement (<strong>mode: pentest</strong>), exploitability was
+ demonstrated with a <strong>100% reproducible</strong> confirmed crash of the privileged
+ <code>ld.so</code>; no root shell was obtained, in accordance with the declared scope.
+ </div>
+ </div>
+
+ <!-- ── 2. Main Finding ── -->
+ <div class="section">
+ <div class="section-title"><span class="section-num">02 /</span> Main Finding</div>
+ <table>
+ <tr><td class="td-key">CVE</td><td class="td-val"><strong>CVE-2023-4911</strong> — buffer overflow in <code>ld.so</code> (glibc) while processing the <code>GLIBC_TUNABLES</code> environment variable</td></tr>
+ <tr><td class="td-key">MITRE ATT&amp;CK</td><td class="td-val"><code>T1068</code> — Exploitation for Privilege Escalation</td></tr>
+ <tr><td class="td-key">Attack vector</td><td class="td-val">Local: unprivileged user → runs a SUID-root binary with malformed <code>GLIBC_TUNABLES</code> → <code>ld.so</code> (running as root) overflows the heap in <code>tunables_strdup()</code> during <code>__tunables_init()</code>, before secure mode sanitises the environment → loader struct corruption → code execution as root</td></tr>
+ <tr><td class="td-key">Introduced</td><td class="td-val">glibc 2.34 (April 2021, commit <code>2ed18c5b534d9e92fc006202a5af0df6b72e7aca</code>, BZ #27471)</td></tr>
+ <tr><td class="td-key">Affected version</td><td class="td-val"><code>libc6 2.37-0ubuntu2</code> — confirmed with <code>dpkg -l</code> / <code>ldd --version</code></td></tr>
+ <tr><td class="td-key">Patched version</td><td class="td-val"><code>libc6 2.37-0ubuntu2.1</code> — USN-6409-1 (security pocket)</td></tr>
+ <tr><td class="td-key">CVSS 3.1</td><td class="td-val"><span class="badge badge-cvss">7.8 HIGH</span></td></tr>
+ <tr><td class="td-key">Exploitation status</td><td class="td-val"><span class="badge badge-high">CISA KEV · active exploitation</span></td></tr>
+ <tr><td class="td-key">Public exploit</td><td class="td-val">Yes — working PoC (root shell) at <code>github.com/leesh3288/CVE-2023-4911</code>; Qualys TRU obtained full root on default Ubuntu 23.04 installations</td></tr>
+ </table>
+ </div>
+
+ <!-- ── 3. Evidence ── -->
+ <div class="section">
+ <div class="section-title"><span class="section-num">03 /</span> Exploitability Evidence</div>
+ <p style="color:var(--text-dim);margin-bottom:12px;font-size:13px">Reproducer executed as <code>agent_user</code> (uid=1001) on the target:</p>
+
+ <div class="terminal">
+ <div class="terminal-bar">
+ <span class="dot dot-red"></span><span class="dot dot-amber"></span><span class="dot dot-green"></span>
+ <span>agent_user@ubuntu-server-01 — bash</span>
+ </div>
+ <div class="terminal-body"><span class="comment"># Trigger CVE-2023-4911 — 10 consecutive attempts</span>
+<span class="cmd">for i in $(seq 1 10); do
+ GLIBC_TUNABLES="glibc.malloc.mxfast=glibc.malloc.mxfast=$(printf 'A%.0s' $(seq 1 1500))" \
+ /usr/bin/su --help 2>&amp;1
+ echo "attempt $i: rc=$?"
+done</span>
+<span class="out-err">Segmentation fault
+attempt 1: rc=139
+Segmentation fault
+attempt 2: rc=139
+...
+Segmentation fault
+attempt 10: rc=139</span></div>
+ </div>
+
+ <p style="color:var(--text-dim);margin:16px 0 10px;font-size:13px">Results with differential controls:</p>
+ <table class="controls-table">
+ <thead><tr><th>Test</th><th>rc</th><th>Result</th></tr></thead>
+ <tbody>
+ <tr><td><code>/usr/bin/su</code> (SUID root) + long payload, ×10</td><td class="rc-fail">139</td><td class="result-fail">SIGSEGV — Segmentation fault</td></tr>
+ <tr><td><code>/usr/bin/sudo</code> (SUID root) + long payload</td><td class="rc-fail">139</td><td class="result-fail">SIGSEGV</td></tr>
+ <tr><td><code>/usr/bin/mount</code> (SUID root) + long payload</td><td class="rc-fail">139</td><td class="result-fail">SIGSEGV</td></tr>
+ <tr><td><code>su --help</code> without payload (baseline)</td><td class="rc-ok">0</td><td class="result-ok">OK — normal behaviour</td></tr>
+ <tr><td><code>/bin/true</code> (non-SUID) + same payload</td><td class="rc-ok">0</td><td class="result-ok">OK — no crash without SUID</td></tr>
+ <tr><td><code>mxfast</code> simple 4000 chars (control)</td><td class="rc-ok">0</td><td class="result-ok">OK — no crash without overflow</td></tr>
+ </tbody>
+ </table>
+
+ <p style="color:var(--text-dim);margin:16px 0 8px;font-size:13px">Enabling conditions verified on the target:</p>
+ <div class="condition-pills">
+ <span class="pill active">NoNewPrivs: 0</span>
+ <span class="pill active">SUID active: su sudo passwd mount</span>
+ <span class="pill active">/tmp writable</span>
+ <span class="pill active">gcc 12.3.0 installed</span>
+ <span class="pill active">libc6 on apt hold</span>
+ <span class="pill">Docker container</span>
+ <span class="pill">userspace — not kernel</span>
+ </div>
+ </div>
+
+ <!-- ── 4. Discarded Vectors ── -->
+ <div class="section">
+ <div class="section-title"><span class="section-num">04 /</span> Evaluated &amp; Discarded Vectors</div>
+ <table>
+ <thead><tr><th>Vector</th><th>Discard evidence</th><th>Status</th></tr></thead>
+ <tbody>
+ <tr class="discarded-row">
+ <td><code>sudo -l</code></td>
+ <td>"Sorry, user agent_user may not run sudo on ubuntu-server-01"</td>
+ <td><span class="badge badge-info">Discarded</span></td>
+ </tr>
+ <tr class="discarded-row">
+ <td>File capabilities (<code>getcap -r /</code>)</td>
+ <td>No results</td>
+ <td><span class="badge badge-info">Discarded</span></td>
+ </tr>
+ <tr class="discarded-row">
+ <td>Anomalous cron jobs</td>
+ <td>Only <code>e2scrub_all</code> and <code>apt-compat</code> (stock)</td>
+ <td><span class="badge badge-info">Discarded</span></td>
+ </tr>
+ <tr class="discarded-row">
+ <td>Non-standard SUID binaries</td>
+ <td>Standard Ubuntu set only (no custom binaries)</td>
+ <td><span class="badge badge-info">Discarded</span></td>
+ </tr>
+ <tr class="discarded-row">
+ <td>Kernel exploit</td>
+ <td>Out of threat model scope (container; operator hint: userspace vector)</td>
+ <td><span class="badge badge-info">Out of scope</span></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+
+ <!-- ── 5. Remediation ── -->
+ <div class="section">
+ <div class="section-title"><span class="section-num">05 /</span> Remediation Recommendations</div>
+ <ul class="remediation-list">
+ <li>
+ <span class="priority p1">⚠ Priority 1 — Immediate</span>
+ <strong>Update libc6 to <code>2.37-0ubuntu2.1</code> or later</strong> (USN-6409-1).
+ The package is pinned with <code>apt hold</code> — it must be unpinned first:
+ <br><br>
+ <code>apt-mark unhold libc6 &amp;&amp; apt-get update &amp;&amp; apt-get upgrade libc6</code>
+ <br><br>
+ ⚠ Ubuntu 23.04 (lunar) has been <strong>EOL since January 2024</strong>: standard repositories
+ no longer serve packages. Use <code>old-releases.ubuntu.com</code> or, preferably,
+ <strong>migrate the container to Ubuntu 24.04 LTS</strong>.
+ </li>
+ <li>
+ <span class="priority p1">⚠ Priority 1 — Immediately after patching</span>
+ <strong>Restart/rebuild the container</strong> after applying the patch.
+ All running processes continue to map the vulnerable <code>libc</code> in memory
+ until restarted.
+ </li>
+ <li>
+ <span class="priority p2">▸ Priority 2 — Defence in depth</span>
+ Periodically audit pinned packages: <code>apt-mark showhold</code>. Reduce unnecessary SUID
+ surface. Monitor executions of SUID binaries with <code>GLIBC_TUNABLES</code> in their
+ environment — any non-root process carrying that variable should be treated as suspicious.
+ </li>
+ <li>
+ <span class="priority p3">▸ Priority 3 — Detection</span>
+ Compare <code>ldd --version</code> / <code>dpkg -l libc6</code> against
+ <code>2.37-0ubuntu2.1</code> across all Ubuntu 22.04/23.04 systems.
+ CISA KEV lists CVE-2023-4911 as actively exploited — prioritise in the next patch cycle.
+ </li>
+ </ul>
+ </div>
+
+ <!-- ── 6. Scope ── -->
+ <div class="section">
+ <div class="section-title"><span class="section-num">06 /</span> Scope Compliance · mode: pentest</div>
+ <ul class="scope-list">
+ <li><span class="check">✓</span> CVE verified against official sources (Ubuntu API, NVD, CVE.org, Qualys advisory)</li>
+ <li><span class="check">✓</span> Privileged loader crash confirmed (10/10 SIGSEGV with differential controls)</li>
+ <li><span class="check">✓</span> CVSS 3.1 documented — 7.8 HIGH</li>
+ <li><span class="check">✓</span> Affected and patched versions documented</li>
+ <li><span class="check">✓</span> Findings persisted in the engagement store (5 findings)</li>
+ <li><span class="check">✓</span> OODA loop closed: OBSERVE → ORIENT → DECIDE → ACT → REPORT (14 steps)</li>
+ </ul>
+ <div class="scope-note">
+ <strong>No full exploit was compiled and no root shell was obtained</strong>, in accordance with
+ the <code>mode: pentest</code> definition. The path to root is fully documented
+ (public PoC + conditions verified on the target). To execute through to root shell, instruct
+ the agent explicitly with <code>mode: redteam</code>.
+ </div>
+ </div>
+
+</div>
+
+<!-- ── Footer ── -->
+<footer class="site-footer">
+ <div class="footer-brand">VULNERATOR<span>-AI</span> · OODA Pentest Engine</div>
+ <div class="footer-meta">
+ eng-ubuntu-server-01-lpe · 2026-10-18<br>
+ Generated by Vulnerator-AI agent (Mistral Large 4.0 · 14 OODA steps)
+ </div>
+</footer>
+
+</body>
+</html>
diff --git a/docs/styles.css b/docs/styles.css
index 5b66d0e..362558b 100644
--- a/docs/styles.css
+++ b/docs/styles.css
@@ -768,3 +768,405 @@ body.has-sysbar .hero::before {
/* No longer needed — visualiser is not fixed-bottom */
/* body.has-visualizer #audio-ctrl { ... } */
+
+/* ── Hero CTA buttons ─────────────────────────────────────────── */
+.hero__cta {
+ display: flex;
+ gap: 0.75rem;
+ justify-content: center;
+ flex-wrap: wrap;
+ margin: 2rem 0 1.25rem;
+}
+
+.cta-btn {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.5rem;
+ padding: 0.6rem 1.4rem;
+ border-radius: 4px;
+ font-family: var(--mono);
+ font-size: 0.88rem;
+ letter-spacing: 0.05em;
+ text-decoration: none;
+ transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
+}
+
+.cta-btn--primary {
+ background: var(--accent);
+ color: #fff;
+ border: 1px solid var(--accent);
+}
+.cta-btn--primary:hover {
+ background: var(--accent-soft);
+ border-color: var(--accent-soft);
+ color: #fff;
+ box-shadow: 0 0 18px rgba(176, 58, 58, 0.45);
+}
+
+.cta-btn--secondary {
+ background: transparent;
+ color: var(--text);
+ border: 1px solid var(--panel-edge);
+}
+.cta-btn--secondary:hover {
+ border-color: var(--accent);
+ color: var(--accent-soft);
+}
+
+.cta-icon { flex-shrink: 0; }
+
+/* ── Hero badges ──────────────────────────────────────────────── */
+.hero__badges {
+ display: flex;
+ gap: 0.6rem;
+ justify-content: center;
+ flex-wrap: wrap;
+ margin-top: 0.5rem;
+}
+
+.hbadge {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.35rem;
+ background: rgba(16, 19, 28, 0.75);
+ border: 1px solid var(--panel-edge);
+ border-radius: 999px;
+ padding: 0.25rem 0.8rem;
+ font-size: 0.75rem;
+ color: var(--muted);
+ letter-spacing: 0.05em;
+}
+.hbadge svg { color: var(--accent-soft); }
+.hbadge--green { border-color: rgba(90, 184, 112, 0.35); color: #5ab870; }
+
+/* ── Engagement mode cards ────────────────────────────────────── */
+.card--green { border-top-color: #5ab870; }
+.card__name--green { color: #5ab870; }
+.card__name--green::before { color: #5ab870; }
+
+/* ── Feature list ─────────────────────────────────────────────── */
+.feature-list {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
+ gap: 1rem;
+}
+
+.feature-item {
+ display: flex;
+ gap: 0.85rem;
+ align-items: flex-start;
+ background: var(--panel);
+ border: 1px solid var(--panel-edge);
+ border-radius: 6px;
+ padding: 1.1rem 1.25rem;
+ font-size: 0.92rem;
+ color: var(--muted);
+}
+.feature-item strong { color: var(--text); display: block; margin-bottom: 0.25rem; }
+.feature-icon { color: var(--accent); font-size: 0.75rem; margin-top: 0.25rem; flex-shrink: 0; }
+
+/* ── Quick start code block ───────────────────────────────────── */
+.code-block {
+ background: #080b0b;
+ border: 1px solid var(--panel-edge);
+ border-radius: 6px;
+ overflow: hidden;
+ max-width: 620px;
+ margin: 1.25rem 0;
+}
+.code-block__bar {
+ background: var(--panel);
+ border-bottom: 1px solid var(--panel-edge);
+ padding: 0.4rem 1rem;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+.code-block__label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; }
+.code-block__copy {
+ font-family: var(--mono);
+ font-size: 0.72rem;
+ background: transparent;
+ border: 1px solid var(--panel-edge);
+ border-radius: 3px;
+ color: var(--muted);
+ padding: 0.15rem 0.6rem;
+ cursor: pointer;
+ transition: border-color 0.15s, color 0.15s;
+}
+.code-block__copy:hover { border-color: var(--accent); color: var(--accent-soft); }
+.code-block__body {
+ padding: 1.1rem 1.25rem;
+ margin: 0;
+ font-family: var(--mono);
+ font-size: 0.88rem;
+ line-height: 1.8;
+ overflow-x: auto;
+}
+.cg { color: #5ab870; }
+.ca { color: var(--accent-soft); }
+
+.prose--sm { font-size: 0.9rem; }
+
+/* ── Labs ─────────────────────────────────────────────────────── */
+.labs-list {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ display: flex;
+ flex-direction: column;
+ gap: 1.25rem;
+}
+
+.lab-card {
+ background: var(--panel);
+ border: 1px solid var(--panel-edge);
+ border-left: 3px solid var(--accent);
+ border-radius: 0 6px 6px 0;
+ padding: 1.5rem 1.75rem;
+}
+.lab-card__header {
+ display: flex;
+ gap: 0.5rem;
+ margin-bottom: 0.75rem;
+ flex-wrap: wrap;
+}
+.lab-card__tag {
+ font-family: var(--mono);
+ font-size: 0.72rem;
+ letter-spacing: 0.08em;
+ padding: 0.2rem 0.65rem;
+ border-radius: 3px;
+ border: 1px solid var(--panel-edge);
+ color: var(--muted);
+ background: rgba(255,255,255,0.03);
+}
+.lab-card__tag--red { border-color: var(--accent); color: var(--accent-soft); }
+.lab-card__tag--dim { opacity: 0.6; }
+.lab-card__name {
+ font-size: 1.05rem;
+ color: var(--text);
+ margin: 0 0 0.75rem;
+ letter-spacing: 0.04em;
+}
+.lab-card__name::before { content: "> "; color: var(--accent); }
+.lab-card__body {
+ font-size: 0.92rem;
+ color: var(--muted);
+ margin: 0 0 0.85rem;
+ line-height: 1.7;
+}
+.lab-card__meta {
+ display: flex;
+ gap: 0.5rem;
+ font-size: 0.78rem;
+ color: var(--muted);
+ margin-bottom: 1rem;
+ flex-wrap: wrap;
+}
+.lab-card__links { display: flex; gap: 1rem; flex-wrap: wrap; }
+.lab-link {
+ font-size: 0.83rem;
+ text-decoration: none;
+ color: var(--accent-soft);
+ letter-spacing: 0.03em;
+}
+.lab-link:hover { color: var(--magenta); }
+.lab-link--report {
+ color: #5ab870;
+ font-weight: 600;
+}
+.lab-link--report:hover { color: var(--magenta); }
+
+/* ── Sample reports ───────────────────────────────────────────── */
+.report-cards {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
+ gap: 1.25rem;
+}
+.report-card {
+ background: var(--panel);
+ border: 1px solid var(--panel-edge);
+ border-top: 2px solid var(--accent);
+ border-radius: 6px;
+ padding: 1.5rem;
+ display: flex;
+ flex-direction: column;
+ gap: 0.75rem;
+}
+.report-card__top {
+ display: flex;
+ align-items: flex-start;
+ gap: 1rem;
+}
+.report-card__cvss {
+ font-family: var(--mono);
+ font-size: 2.2rem;
+ font-weight: bold;
+ color: var(--accent-soft);
+ line-height: 1;
+ flex-shrink: 0;
+}
+.report-card__cve {
+ font-size: 1rem;
+ color: var(--text);
+ font-weight: 600;
+ margin: 0 0 0.25rem;
+}
+.report-card__target {
+ font-size: 0.8rem;
+ color: var(--muted);
+ margin: 0;
+ font-family: var(--mono);
+}
+.report-card__summary {
+ font-size: 0.9rem;
+ color: var(--muted);
+ margin: 0;
+ line-height: 1.6;
+}
+.report-link {
+ font-size: 0.85rem;
+ color: var(--accent-soft);
+ text-decoration: none;
+ font-weight: 600;
+ letter-spacing: 0.03em;
+ margin-top: auto;
+}
+.report-link:hover { color: var(--magenta); }
+
+/* ── Open source block ────────────────────────────────────────── */
+.oss-block {
+ display: flex;
+ gap: 3rem;
+ align-items: flex-start;
+ flex-wrap: wrap;
+}
+.oss-block__text { flex: 1; min-width: 280px; }
+.oss-links {
+ list-style: none;
+ margin: 1.25rem 0 0;
+ padding: 0;
+ display: flex;
+ flex-direction: column;
+ gap: 0.5rem;
+}
+.oss-links li { font-size: 0.9rem; color: var(--muted); }
+.oss-links a { color: var(--accent-soft); }
+
+.oss-block__stat {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 0.75rem;
+ padding: 1.5rem 2rem;
+ background: var(--panel);
+ border: 1px solid var(--panel-edge);
+ border-top: 2px solid var(--accent);
+ border-radius: 6px;
+ text-align: center;
+ flex-shrink: 0;
+}
+.gh-btn {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.5rem;
+ background: var(--accent);
+ color: #fff;
+ padding: 0.6rem 1.25rem;
+ border-radius: 4px;
+ text-decoration: none;
+ font-family: var(--mono);
+ font-size: 0.85rem;
+ transition: background 0.2s, box-shadow 0.2s;
+}
+.gh-btn:hover {
+ background: var(--accent-soft);
+ color: #fff;
+ box-shadow: 0 0 16px rgba(176, 58, 58, 0.45);
+}
+.gh-stars-count {
+ font-family: var(--mono);
+ font-size: 1.4rem;
+ color: var(--text);
+ margin: 0;
+}
+.gh-version {
+ font-size: 0.78rem;
+ color: var(--muted);
+ margin: 0;
+ letter-spacing: 0.08em;
+}
+
+/* ── Updated footer ───────────────────────────────────────────── */
+.footer__top {
+ display: flex;
+ justify-content: space-between;
+ align-items: flex-start;
+ flex-wrap: wrap;
+ gap: 1.5rem;
+ width: 100%;
+ margin-bottom: 1.5rem;
+}
+.footer__brand {
+ display: flex;
+ align-items: center;
+ gap: 0.75rem;
+ flex-wrap: wrap;
+}
+.footer__name {
+ font-size: 1rem;
+ font-weight: bold;
+ color: var(--accent-soft);
+ letter-spacing: 0.1em;
+}
+.footer__version {
+ font-size: 0.78rem;
+ color: var(--muted);
+ background: var(--panel);
+ border: 1px solid var(--panel-edge);
+ border-radius: 999px;
+ padding: 0.15rem 0.65rem;
+}
+.footer__oss {
+ font-size: 0.78rem;
+ color: #5ab870;
+ border: 1px solid rgba(90, 184, 112, 0.3);
+ border-radius: 999px;
+ padding: 0.15rem 0.65rem;
+}
+.footer__links {
+ display: flex;
+ gap: 1.25rem;
+ flex-wrap: wrap;
+ align-items: center;
+}
+.footer__link {
+ font-size: 0.85rem;
+ text-decoration: none;
+ color: var(--muted);
+ letter-spacing: 0.03em;
+ transition: color 0.15s;
+}
+.footer__link:hover { color: var(--accent-soft); }
+.footer__link--gh {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.4rem;
+ color: var(--accent-soft);
+}
+
+/* ── Responsive additions ─────────────────────────────────────── */
+@media (max-width: 640px) {
+ .feature-list { grid-template-columns: 1fr; }
+ .oss-block { flex-direction: column; }
+ .oss-block__stat { width: 100%; }
+ .footer__top { flex-direction: column; }
+ .hero__cta { flex-direction: column; align-items: center; }
+}
diff --git a/labs/looney-tunables-ctf/docs/pentest-report-example.html b/labs/looney-tunables-ctf/docs/pentest-report-example.html
new file mode 100644
index 0000000..0ac5d92
--- /dev/null
+++ b/labs/looney-tunables-ctf/docs/pentest-report-example.html
@@ -0,0 +1,536 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<title>Vulnerator-AI — Pentest Report: CVE-2023-4911</title>
+<style>
+ :root {
+ --bg: #0d0000;
+ --bg-panel: #180000;
+ --bg-card: #1e0000;
+ --border: #cc0000;
+ --border-dim: #550000;
+ --red: #cc0000;
+ --red-bright: #ff4444;
+ --green: #00ff41;
+ --green-dim: #007a1f;
+ --text: #e8e8e8;
+ --text-dim: #aa7777;
+ --text-muted: #664444;
+ --yellow: #ff8800;
+ --code-bg: #0a0000;
+ }
+
+ * { box-sizing: border-box; margin: 0; padding: 0; }
+
+ body {
+ background: var(--bg);
+ color: var(--text);
+ font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
+ font-size: 14px;
+ line-height: 1.6;
+ }
+
+ /* ── Header ── */
+ .site-header {
+ background: var(--bg-panel);
+ border-bottom: 2px solid var(--border);
+ padding: 16px 32px;
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ }
+ .site-header .logo {
+ font-family: monospace;
+ font-size: 22px;
+ font-weight: bold;
+ color: var(--red-bright);
+ letter-spacing: 2px;
+ }
+ .site-header .logo span { color: var(--green); }
+ .site-header .tagline {
+ font-size: 11px;
+ color: var(--text-dim);
+ letter-spacing: 1px;
+ text-transform: uppercase;
+ margin-left: auto;
+ }
+
+ /* ── Report meta bar ── */
+ .report-meta {
+ background: var(--bg-panel);
+ border-bottom: 1px solid var(--border-dim);
+ padding: 12px 32px;
+ display: flex;
+ gap: 32px;
+ flex-wrap: wrap;
+ }
+ .meta-item { display: flex; flex-direction: column; gap: 2px; }
+ .meta-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
+ .meta-value { font-size: 13px; color: var(--text); font-family: monospace; }
+
+ /* ── Main layout ── */
+ .container { max-width: 1100px; margin: 0 auto; padding: 32px; }
+
+ /* ── Severity badge ── */
+ .badge {
+ display: inline-block;
+ padding: 3px 10px;
+ border-radius: 3px;
+ font-size: 11px;
+ font-weight: bold;
+ letter-spacing: 1px;
+ text-transform: uppercase;
+ }
+ .badge-high { background: #7a0000; color: #ff4444; border: 1px solid #cc0000; }
+ .badge-medium { background: #5a3000; color: #ff8800; border: 1px solid #885500; }
+ .badge-low { background: #1a3a00; color: #88ff00; border: 1px solid #337700; }
+ .badge-info { background: #002244; color: #4488ff; border: 1px solid #224488; }
+ .badge-ok { background: #003300; color: #00ff41; border: 1px solid #007722; }
+ .badge-cvss { background: #7a0000; color: #ffcc00; border: 1px solid #cc0000; font-size: 13px; padding: 4px 14px; }
+
+ /* ── CVSS hero ── */
+ .cvss-hero {
+ background: var(--bg-panel);
+ border: 2px solid var(--red);
+ border-radius: 6px;
+ padding: 24px 32px;
+ margin-bottom: 32px;
+ display: flex;
+ align-items: center;
+ gap: 32px;
+ flex-wrap: wrap;
+ }
+ .cvss-score {
+ font-family: monospace;
+ font-size: 56px;
+ font-weight: bold;
+ color: var(--red-bright);
+ line-height: 1;
+ }
+ .cvss-score .cvss-label { display: block; font-size: 12px; color: var(--text-dim); letter-spacing: 2px; margin-bottom: 4px; }
+ .cvss-details { flex: 1; }
+ .cvss-cve {
+ font-family: monospace;
+ font-size: 24px;
+ color: var(--green);
+ font-weight: bold;
+ margin-bottom: 8px;
+ }
+ .cvss-vector {
+ font-family: monospace;
+ font-size: 11px;
+ color: var(--text-dim);
+ background: var(--code-bg);
+ padding: 4px 8px;
+ border-radius: 3px;
+ border-left: 2px solid var(--border-dim);
+ margin-bottom: 8px;
+ }
+ .cvss-tags { display: flex; gap: 8px; flex-wrap: wrap; }
+
+ /* ── Sections ── */
+ .section { margin-bottom: 40px; }
+ .section-title {
+ font-size: 13px;
+ font-weight: bold;
+ color: var(--green);
+ letter-spacing: 2px;
+ text-transform: uppercase;
+ border-bottom: 1px solid var(--border-dim);
+ padding-bottom: 8px;
+ margin-bottom: 20px;
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ }
+ .section-title::before { content: '⚡'; color: var(--red-bright); }
+ .section-title .section-num { color: var(--text-muted); font-weight: normal; }
+
+ /* ── Executive summary box ── */
+ .exec-summary {
+ background: var(--bg-panel);
+ border-left: 3px solid var(--red);
+ padding: 20px 24px;
+ border-radius: 0 6px 6px 0;
+ color: var(--text);
+ line-height: 1.8;
+ }
+ .exec-summary code { background: var(--code-bg); padding: 1px 5px; border-radius: 3px; font-size: 12px; color: var(--green); }
+
+ /* ── Tables ── */
+ table { width: 100%; border-collapse: collapse; font-size: 13px; }
+ th {
+ background: var(--bg-card);
+ color: var(--text-dim);
+ text-align: left;
+ padding: 8px 12px;
+ font-size: 11px;
+ letter-spacing: 1px;
+ text-transform: uppercase;
+ border-bottom: 1px solid var(--border);
+ }
+ td {
+ padding: 9px 12px;
+ border-bottom: 1px solid var(--border-dim);
+ vertical-align: top;
+ }
+ tr:hover td { background: rgba(204,0,0,0.04); }
+ td code { background: var(--code-bg); padding: 1px 5px; border-radius: 3px; font-size: 12px; color: var(--green); }
+ td strong { color: var(--text); }
+ .td-key { color: var(--text-dim); font-size: 12px; white-space: nowrap; width: 200px; }
+ .td-val { color: var(--text); }
+
+ /* ── Terminal / code blocks ── */
+ .terminal {
+ background: var(--code-bg);
+ border: 1px solid var(--border-dim);
+ border-radius: 6px;
+ overflow: hidden;
+ margin: 16px 0;
+ }
+ .terminal-bar {
+ background: var(--bg-card);
+ border-bottom: 1px solid var(--border-dim);
+ padding: 6px 12px;
+ font-size: 11px;
+ color: var(--text-muted);
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ }
+ .terminal-bar .dot { width: 8px; height: 8px; border-radius: 50%; }
+ .dot-red { background: #cc0000; }
+ .dot-amber { background: #ff8800; }
+ .dot-green { background: #00ff41; }
+ .terminal-body {
+ padding: 16px 20px;
+ font-family: 'Cascadia Code', 'Fira Code', 'Courier New', monospace;
+ font-size: 12px;
+ color: var(--green);
+ overflow-x: auto;
+ white-space: pre;
+ line-height: 1.7;
+ }
+ .terminal-body .cmd { color: #e8e8e8; }
+ .terminal-body .out-ok { color: var(--green); }
+ .terminal-body .out-err { color: var(--red-bright); }
+ .terminal-body .comment { color: var(--text-muted); }
+
+ /* ── Controls table ── */
+ .controls-table td.rc-ok { color: var(--green); font-family: monospace; }
+ .controls-table td.rc-fail { color: var(--red-bright); font-family: monospace; font-weight: bold; }
+ .controls-table td.result-fail { color: var(--red-bright); }
+ .controls-table td.result-ok { color: var(--green); }
+
+ /* ── Discarded vectors ── */
+ .discarded-row td { opacity: 0.65; }
+ .discarded-row td:first-child { text-decoration: line-through; text-decoration-color: var(--border-dim); }
+
+ /* ── Remediation steps ── */
+ .remediation-list { list-style: none; padding: 0; }
+ .remediation-list li {
+ background: var(--bg-panel);
+ border-left: 3px solid var(--yellow);
+ padding: 14px 18px;
+ margin-bottom: 10px;
+ border-radius: 0 6px 6px 0;
+ line-height: 1.7;
+ }
+ .remediation-list li strong { color: var(--yellow); }
+ .remediation-list li code { background: var(--code-bg); padding: 1px 5px; border-radius: 3px; font-size: 12px; color: var(--green); }
+ .remediation-list li .priority {
+ font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
+ color: var(--text-muted); margin-bottom: 6px; display: block;
+ }
+ .remediation-list li .priority.p1 { color: var(--red-bright); }
+ .remediation-list li .priority.p2 { color: var(--yellow); }
+ .remediation-list li .priority.p3 { color: var(--text-dim); }
+
+ /* ── Scope checklist ── */
+ .scope-list { list-style: none; padding: 0; }
+ .scope-list li {
+ padding: 8px 12px;
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ border-bottom: 1px solid var(--border-dim);
+ font-size: 13px;
+ }
+ .scope-list li:last-child { border-bottom: none; }
+ .scope-list li .check { color: var(--green); font-size: 16px; }
+ .scope-note {
+ margin-top: 16px;
+ background: var(--bg-panel);
+ border: 1px solid var(--green-dim);
+ border-radius: 6px;
+ padding: 14px 18px;
+ color: var(--text-dim);
+ font-size: 13px;
+ line-height: 1.7;
+ }
+ .scope-note strong { color: var(--green); }
+
+ /* ── Footer ── */
+ .site-footer {
+ background: var(--bg-panel);
+ border-top: 1px solid var(--border-dim);
+ padding: 20px 32px;
+ margin-top: 48px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ flex-wrap: wrap;
+ gap: 12px;
+ }
+ .site-footer .footer-brand { font-family: monospace; font-size: 13px; color: var(--red); }
+ .site-footer .footer-brand span { color: var(--green); }
+ .site-footer .footer-meta { font-size: 11px; color: var(--text-muted); text-align: right; }
+
+ /* ── Condition pills ── */
+ .condition-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
+ .pill {
+ background: var(--bg-card);
+ border: 1px solid var(--border-dim);
+ border-radius: 12px;
+ padding: 3px 10px;
+ font-size: 11px;
+ font-family: monospace;
+ color: var(--text-dim);
+ }
+ .pill.active { border-color: var(--red); color: var(--red-bright); }
+
+ code { font-family: 'Cascadia Code', 'Fira Code', monospace; }
+</style>
+</head>
+<body>
+
+<!-- ── Header ── -->
+<header class="site-header">
+ <div class="logo">VULNERATOR<span>-AI</span></div>
+ <div class="tagline">OODA Pentest Engine · Automated Security Assessment</div>
+</header>
+
+<!-- ── Report meta ── -->
+<div class="report-meta">
+ <div class="meta-item"><span class="meta-label">Engagement</span><span class="meta-value">eng-ubuntu-server-01-lpe</span></div>
+ <div class="meta-item"><span class="meta-label">Target</span><span class="meta-value">ubuntu-server-01</span></div>
+ <div class="meta-item"><span class="meta-label">Mode</span><span class="meta-value">pentest</span></div>
+ <div class="meta-item"><span class="meta-label">Initial access</span><span class="meta-value">SSH agent_user (uid=1001)</span></div>
+ <div class="meta-item"><span class="meta-label">System</span><span class="meta-value">Ubuntu 23.04 lunar · Docker · kernel 6.2.0-39-generic</span></div>
+ <div class="meta-item"><span class="meta-label">Date</span><span class="meta-value">2026-10-18</span></div>
+</div>
+
+<div class="container">
+
+ <!-- ── CVSS Hero ── -->
+ <div class="cvss-hero">
+ <div class="cvss-score">
+ <span class="cvss-label">CVSS 3.1</span>
+ 7.8
+ </div>
+ <div class="cvss-details">
+ <div class="cvss-cve">CVE-2023-4911 · "Looney Tunables"</div>
+ <div class="cvss-vector">CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H</div>
+ <div class="cvss-tags">
+ <span class="badge badge-high">HIGH</span>
+ <span class="badge badge-high">LPE</span>
+ <span class="badge badge-high">CISA KEV</span>
+ <span class="badge badge-info">T1068</span>
+ <span class="badge badge-medium">Public exploit</span>
+ </div>
+ </div>
+ <div style="text-align:right">
+ <div style="font-size:11px;color:var(--text-muted);margin-bottom:4px">OODA LOOP</div>
+ <div style="font-size:28px;color:var(--green);font-family:monospace;font-weight:bold">14 steps</div>
+ <div style="font-size:11px;color:var(--text-muted)">OBSERVE→ORIENT→DECIDE→ACT→REPORT</div>
+ </div>
+ </div>
+
+ <!-- ── 1. Executive Summary ── -->
+ <div class="section">
+ <div class="section-title"><span class="section-num">01 /</span> Executive Summary</div>
+ <div class="exec-summary">
+ A <strong>high-severity</strong> local privilege escalation (LPE) vulnerability was identified
+ and demonstrated: <strong>CVE-2023-4911</strong> ("Looney Tunables") in the system's glibc.
+ The <code>libc6</code> package is installed at version <code>2.37-0ubuntu2</code>
+ (pinned with <code>apt hold</code>, dpkg state <code>hi</code>), one revision behind the
+ official security patch <code>2.37-0ubuntu2.1</code> (USN-6409-1).<br><br>
+ Any local user — including the unprivileged <code>agent_user</code> — can execute code as root
+ through standard SUID binaries (<code>su</code>, <code>sudo</code>, <code>mount</code>,
+ <code>passwd</code>…). In this engagement (<strong>mode: pentest</strong>), exploitability was
+ demonstrated with a <strong>100% reproducible</strong> confirmed crash of the privileged
+ <code>ld.so</code>; no root shell was obtained, in accordance with the declared scope.
+ </div>
+ </div>
+
+ <!-- ── 2. Main Finding ── -->
+ <div class="section">
+ <div class="section-title"><span class="section-num">02 /</span> Main Finding</div>
+ <table>
+ <tr><td class="td-key">CVE</td><td class="td-val"><strong>CVE-2023-4911</strong> — buffer overflow in <code>ld.so</code> (glibc) while processing the <code>GLIBC_TUNABLES</code> environment variable</td></tr>
+ <tr><td class="td-key">MITRE ATT&amp;CK</td><td class="td-val"><code>T1068</code> — Exploitation for Privilege Escalation</td></tr>
+ <tr><td class="td-key">Attack vector</td><td class="td-val">Local: unprivileged user → runs a SUID-root binary with malformed <code>GLIBC_TUNABLES</code> → <code>ld.so</code> (running as root) overflows the heap in <code>tunables_strdup()</code> during <code>__tunables_init()</code>, before secure mode sanitises the environment → loader struct corruption → code execution as root</td></tr>
+ <tr><td class="td-key">Introduced</td><td class="td-val">glibc 2.34 (April 2021, commit <code>2ed18c5b534d9e92fc006202a5af0df6b72e7aca</code>, BZ #27471)</td></tr>
+ <tr><td class="td-key">Affected version</td><td class="td-val"><code>libc6 2.37-0ubuntu2</code> — confirmed with <code>dpkg -l</code> / <code>ldd --version</code></td></tr>
+ <tr><td class="td-key">Patched version</td><td class="td-val"><code>libc6 2.37-0ubuntu2.1</code> — USN-6409-1 (security pocket)</td></tr>
+ <tr><td class="td-key">CVSS 3.1</td><td class="td-val"><span class="badge badge-cvss">7.8 HIGH</span></td></tr>
+ <tr><td class="td-key">Exploitation status</td><td class="td-val"><span class="badge badge-high">CISA KEV · active exploitation</span></td></tr>
+ <tr><td class="td-key">Public exploit</td><td class="td-val">Yes — working PoC (root shell) at <code>github.com/leesh3288/CVE-2023-4911</code>; Qualys TRU obtained full root on default Ubuntu 23.04 installations</td></tr>
+ </table>
+ </div>
+
+ <!-- ── 3. Evidence ── -->
+ <div class="section">
+ <div class="section-title"><span class="section-num">03 /</span> Exploitability Evidence</div>
+ <p style="color:var(--text-dim);margin-bottom:12px;font-size:13px">Reproducer executed as <code>agent_user</code> (uid=1001) on the target:</p>
+
+ <div class="terminal">
+ <div class="terminal-bar">
+ <span class="dot dot-red"></span><span class="dot dot-amber"></span><span class="dot dot-green"></span>
+ <span>agent_user@ubuntu-server-01 — bash</span>
+ </div>
+ <div class="terminal-body"><span class="comment"># Trigger CVE-2023-4911 — 10 consecutive attempts</span>
+<span class="cmd">for i in $(seq 1 10); do
+ GLIBC_TUNABLES="glibc.malloc.mxfast=glibc.malloc.mxfast=$(printf 'A%.0s' $(seq 1 1500))" \
+ /usr/bin/su --help 2>&amp;1
+ echo "attempt $i: rc=$?"
+done</span>
+<span class="out-err">Segmentation fault
+attempt 1: rc=139
+Segmentation fault
+attempt 2: rc=139
+...
+Segmentation fault
+attempt 10: rc=139</span></div>
+ </div>
+
+ <p style="color:var(--text-dim);margin:16px 0 10px;font-size:13px">Results with differential controls:</p>
+ <table class="controls-table">
+ <thead><tr><th>Test</th><th>rc</th><th>Result</th></tr></thead>
+ <tbody>
+ <tr><td><code>/usr/bin/su</code> (SUID root) + long payload, ×10</td><td class="rc-fail">139</td><td class="result-fail">SIGSEGV — Segmentation fault</td></tr>
+ <tr><td><code>/usr/bin/sudo</code> (SUID root) + long payload</td><td class="rc-fail">139</td><td class="result-fail">SIGSEGV</td></tr>
+ <tr><td><code>/usr/bin/mount</code> (SUID root) + long payload</td><td class="rc-fail">139</td><td class="result-fail">SIGSEGV</td></tr>
+ <tr><td><code>su --help</code> without payload (baseline)</td><td class="rc-ok">0</td><td class="result-ok">OK — normal behaviour</td></tr>
+ <tr><td><code>/bin/true</code> (non-SUID) + same payload</td><td class="rc-ok">0</td><td class="result-ok">OK — no crash without SUID</td></tr>
+ <tr><td><code>mxfast</code> simple 4000 chars (control)</td><td class="rc-ok">0</td><td class="result-ok">OK — no crash without overflow</td></tr>
+ </tbody>
+ </table>
+
+ <p style="color:var(--text-dim);margin:16px 0 8px;font-size:13px">Enabling conditions verified on the target:</p>
+ <div class="condition-pills">
+ <span class="pill active">NoNewPrivs: 0</span>
+ <span class="pill active">SUID active: su sudo passwd mount</span>
+ <span class="pill active">/tmp writable</span>
+ <span class="pill active">gcc 12.3.0 installed</span>
+ <span class="pill active">libc6 on apt hold</span>
+ <span class="pill">Docker container</span>
+ <span class="pill">userspace — not kernel</span>
+ </div>
+ </div>
+
+ <!-- ── 4. Discarded Vectors ── -->
+ <div class="section">
+ <div class="section-title"><span class="section-num">04 /</span> Evaluated &amp; Discarded Vectors</div>
+ <table>
+ <thead><tr><th>Vector</th><th>Discard evidence</th><th>Status</th></tr></thead>
+ <tbody>
+ <tr class="discarded-row">
+ <td><code>sudo -l</code></td>
+ <td>"Sorry, user agent_user may not run sudo on ubuntu-server-01"</td>
+ <td><span class="badge badge-info">Discarded</span></td>
+ </tr>
+ <tr class="discarded-row">
+ <td>File capabilities (<code>getcap -r /</code>)</td>
+ <td>No results</td>
+ <td><span class="badge badge-info">Discarded</span></td>
+ </tr>
+ <tr class="discarded-row">
+ <td>Anomalous cron jobs</td>
+ <td>Only <code>e2scrub_all</code> and <code>apt-compat</code> (stock)</td>
+ <td><span class="badge badge-info">Discarded</span></td>
+ </tr>
+ <tr class="discarded-row">
+ <td>Non-standard SUID binaries</td>
+ <td>Standard Ubuntu set only (no custom binaries)</td>
+ <td><span class="badge badge-info">Discarded</span></td>
+ </tr>
+ <tr class="discarded-row">
+ <td>Kernel exploit</td>
+ <td>Out of threat model scope (container; operator hint: userspace vector)</td>
+ <td><span class="badge badge-info">Out of scope</span></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+
+ <!-- ── 5. Remediation ── -->
+ <div class="section">
+ <div class="section-title"><span class="section-num">05 /</span> Remediation Recommendations</div>
+ <ul class="remediation-list">
+ <li>
+ <span class="priority p1">⚠ Priority 1 — Immediate</span>
+ <strong>Update libc6 to <code>2.37-0ubuntu2.1</code> or later</strong> (USN-6409-1).
+ The package is pinned with <code>apt hold</code> — it must be unpinned first:
+ <br><br>
+ <code>apt-mark unhold libc6 &amp;&amp; apt-get update &amp;&amp; apt-get upgrade libc6</code>
+ <br><br>
+ ⚠ Ubuntu 23.04 (lunar) has been <strong>EOL since January 2024</strong>: standard repositories
+ no longer serve packages. Use <code>old-releases.ubuntu.com</code> or, preferably,
+ <strong>migrate the container to Ubuntu 24.04 LTS</strong>.
+ </li>
+ <li>
+ <span class="priority p1">⚠ Priority 1 — Immediately after patching</span>
+ <strong>Restart/rebuild the container</strong> after applying the patch.
+ All running processes continue to map the vulnerable <code>libc</code> in memory
+ until restarted.
+ </li>
+ <li>
+ <span class="priority p2">▸ Priority 2 — Defence in depth</span>
+ Periodically audit pinned packages: <code>apt-mark showhold</code>. Reduce unnecessary SUID
+ surface. Monitor executions of SUID binaries with <code>GLIBC_TUNABLES</code> in their
+ environment — any non-root process carrying that variable should be treated as suspicious.
+ </li>
+ <li>
+ <span class="priority p3">▸ Priority 3 — Detection</span>
+ Compare <code>ldd --version</code> / <code>dpkg -l libc6</code> against
+ <code>2.37-0ubuntu2.1</code> across all Ubuntu 22.04/23.04 systems.
+ CISA KEV lists CVE-2023-4911 as actively exploited — prioritise in the next patch cycle.
+ </li>
+ </ul>
+ </div>
+
+ <!-- ── 6. Scope ── -->
+ <div class="section">
+ <div class="section-title"><span class="section-num">06 /</span> Scope Compliance · mode: pentest</div>
+ <ul class="scope-list">
+ <li><span class="check">✓</span> CVE verified against official sources (Ubuntu API, NVD, CVE.org, Qualys advisory)</li>
+ <li><span class="check">✓</span> Privileged loader crash confirmed (10/10 SIGSEGV with differential controls)</li>
+ <li><span class="check">✓</span> CVSS 3.1 documented — 7.8 HIGH</li>
+ <li><span class="check">✓</span> Affected and patched versions documented</li>
+ <li><span class="check">✓</span> Findings persisted in the engagement store (5 findings)</li>
+ <li><span class="check">✓</span> OODA loop closed: OBSERVE → ORIENT → DECIDE → ACT → REPORT (14 steps)</li>
+ </ul>
+ <div class="scope-note">
+ <strong>No full exploit was compiled and no root shell was obtained</strong>, in accordance with
+ the <code>mode: pentest</code> definition. The path to root is fully documented
+ (public PoC + conditions verified on the target). To execute through to root shell, instruct
+ the agent explicitly with <code>mode: redteam</code>.
+ </div>
+ </div>
+
+</div>
+
+<!-- ── Footer ── -->
+<footer class="site-footer">
+ <div class="footer-brand">VULNERATOR<span>-AI</span> · OODA Pentest Engine</div>
+ <div class="footer-meta">
+ eng-ubuntu-server-01-lpe · 2026-10-18<br>
+ Generated by Vulnerator-AI agent (Mistral Large 4.0 · 14 OODA steps)
+ </div>
+</footer>
+
+</body>
+</html>