Exploit database

GH-6d7ab6e08fc75fd7af5f276564fd43ab

sho-luv/mongobleed

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-14847

23 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files4
sho-luv/mongobleedRevision 03cec3217898

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

lab/monitoring/index.html

HTML · 5,696 bytes
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>MongoBleed Lab Dashboard</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <header>
            <h1>MongoBleed Lab Dashboard</h1>
            <p class="subtitle">CVE-2025-14847 Testing Environment</p>
        </header>

        <section class="targets">
            <h2>Target Instances</h2>
            <div class="target-grid">
                <div class="target-card vulnerable">
                    <div class="status-badge">VULNERABLE</div>
                    <h3>MongoDB 4.4.29</h3>
                    <p class="port">localhost:27017</p>
                    <p class="info">zlib compression enabled</p>
                    <span class="version">vulnerable-44</span>
                </div>
                <div class="target-card vulnerable">
                    <div class="status-badge">VULNERABLE</div>
                    <h3>MongoDB 6.0.26</h3>
                    <p class="port">localhost:27018</p>
                    <p class="info">zlib compression enabled</p>
                    <span class="version">vulnerable-60</span>
                </div>
                <div class="target-card vulnerable">
                    <div class="status-badge">VULNERABLE</div>
                    <h3>MongoDB 8.0.16</h3>
                    <p class="port">localhost:27019</p>
                    <p class="info">zlib compression enabled</p>
                    <span class="version">vulnerable-80</span>
                </div>
                <div class="target-card patched">
                    <div class="status-badge">PATCHED</div>
                    <h3>MongoDB 8.0.17</h3>
                    <p class="port">localhost:27020</p>
                    <p class="info">CVE-2025-14847 patched</p>
                    <span class="version">patched</span>
                </div>
                <div class="target-card mitigated">
                    <div class="status-badge">MITIGATED</div>
                    <h3>MongoDB 8.0.16</h3>
                    <p class="port">localhost:27021</p>
                    <p class="info">zlib DISABLED (snappy/zstd only)</p>
                    <span class="version">no-zlib</span>
                </div>
            </div>
        </section>

        <section class="flags">
            <h2>CTF Flags</h2>
            <div class="flag-grid">
                <div class="flag-card">
                    <h4>Flag 1 - Environment Variable</h4>
                    <p class="hint">Hint: <code>env | grep FLAG</code></p>
                    <p class="difficulty easy">Easy</p>
                </div>
                <div class="flag-card">
                    <h4>Flag 2 - Memory Extraction</h4>
                    <p class="hint">Hint: Extract memory and grep for <code>FLAG{</code></p>
                    <p class="difficulty medium">Medium</p>
                </div>
                <div class="flag-card">
                    <h4>Flag 3 - Credential Parsing</h4>
                    <p class="hint">Hint: Parse memory for passwords and API keys</p>
                    <p class="difficulty medium">Medium</p>
                </div>
            </div>
        </section>

        <section class="commands">
            <h2>Quick Commands</h2>
            <div class="command-list">
                <div class="command">
                    <code>python mongobleed.py -t localhost:27017 --detect</code>
                    <span class="desc">Detect if target is vulnerable</span>
                </div>
                <div class="command">
                    <code>python mongobleed.py -t localhost:27017 -e --size 65536</code>
                    <span class="desc">Extract 64KB of memory</span>
                </div>
                <div class="command">
                    <code>python mongobleed.py -t localhost:27017 -e --credentials</code>
                    <span class="desc">Extract memory and parse for credentials</span>
                </div>
                <div class="command">
                    <code>python mongobleed.py -t localhost:27017 --continuous --credentials</code>
                    <span class="desc">Continuous extraction with credential parsing</span>
                </div>
                <div class="command">
                    <code>python mongobleed.py -t localhost:27020 --detect</code>
                    <span class="desc">Test against patched instance (should fail)</span>
                </div>
            </div>
        </section>

        <section class="log-section">
            <h2>Attack Log</h2>
            <div class="log-controls">
                <button id="clear-log">Clear Log</button>
                <span id="log-count">0 entries</span>
            </div>
            <div id="attack-log" class="log-container">
                <div class="log-entry info">Dashboard started. Ready for exploitation testing.</div>
            </div>
        </section>

        <section class="extracted-data">
            <h2>Extracted Data</h2>
            <div class="data-controls">
                <button id="clear-data">Clear</button>
            </div>
            <div id="data-display" class="data-container">
                <p class="placeholder">Extracted memory data will appear here...</p>
            </div>
        </section>

        <footer>
            <p>MongoBleed Lab - CVE-2025-14847 Security Research Toolkit</p>
            <p class="warning">For authorized security testing only.</p>
        </footer>
    </div>

    <script src="app.js"></script>
</body>
</html>