Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Einreichen
ToolsExploitsBlog
Einreichen

Hacking-, PenTest- und Cybersicherheits-Tools für Ihr Sicherheitsarsenal!

Kitploit ist ein Verzeichnis von Hacking-, Cybersicherheits- und Pentesting-Tools. Entdecken Sie die neuesten Projekt-Updates, um Schwachstellen zu finden, Systeme zu analysieren, Tests zu automatisieren und Ihre Sicherheit zu stärken.

FeedsKontaktDatenschutz© 2026 Kitploit

Tool-Verzeichnis

Kategorien

Alle Kategorien anzeigen
Loading categories
cve-2025-14847-scanner — Unauthenticated MongoDB enumeration, compression enumeration and CVE-2025-14847 triage in a single dependency-free Python file. | Kitploit
Tools/GitHubGitHub/t3chn0t3s-org/cve-2025-14847-scanner
Defensive ToolsReconnaissanceVulnerability ScannersWeb Vulnerability ScannersNetwork MappingInformation GatheringNetwork SecurityPenetration TestingMisconfigurationDatabase Security
GitHub
30. Okt. 2026Noch nicht geprüft
t3chn0t3s-org/cve-2025-14847-scanner

cve-2025-14847-scanner

Unauthenticated MongoDB enumeration, compression enumeration and CVE-2025-14847 triage in a single dependency-free Python file.

Repository anzeigen
Teilen
Inhalt in der angeforderten Sprache nicht verfügbar. Englische Version wird angezeigt.

cve-2025-14847-scanner.py

Unauthenticated MongoDB enumeration, compression enumeration and
CVE-2025-14847 triage, in a single dependency-free Python file.

cve-2025-14847-scanner.py finds MongoDB servers, fingerprints them over the
wire protocol, enumerates what an anonymous client can reach — admin commands
and network compression — and flags versions affected by CVE-2025-14847.

Why

Three facts make this CVE worth a purpose-built scanner:

  1. The version is public. buildInfo requires no privileges, so anyone
    who can reach the port learns the exact release. That is enough to match
    against the advisory.

  2. The attack surface is the zlib decompressor. CVE-2025-14847 is a
    decompression-bomb denial of service in MongoDB's zlib network-compression
    path. Whether a server accepts zlib frames matters as much as its version:
    a server in an affected range that accepts zlib frames is the worst case,
    and a server that rejects them is not reachable by this vector even if its
    version is in range.

  3. The instance may be wide open. A misconfigured deployment answers
    listDatabases, serverStatus or even getLog to an anonymous client.
    Those commands normally require privileges, so their success is direct
    evidence that authorization is not being enforced.

Requirements

  • Python 3.7 or newer. Standard library only — no pip install, no pymongo,
    no nmap required.

  • Read-only against targets at all times.

Quick start

# comma-delimited targets
python3 cve-2025-14847-scanner.py --targets "db01.example.com,db02.example.com:27018"

# line-delimited target file
python3 cve-2025-14847-scanner.py --input-file targets.txt

# nmap output file (any of -oX / -oN / grepable; auto-detected)
python3 cve-2025-14847-scanner.py --nmap-input-file scan.xml

# well-known MongoDB ports on every target, plus replica set discovery
python3 cve-2025-14847-scanner.py --input-file targets.txt --ports known --discover

# reports
python3 cve-2025-14847-scanner.py --input-file targets.txt --json report.json --csv report.csv

# verify the codec and framing any time
python3 cve-2025-14847-scanner.py --self-test

Run --help for examples, the affected-version table and the advisory
summary — the section headers are colour-highlighted in a terminal.

Example output

HOST  PORT   STATUS  SERVICE  RSET  ROLE        VERSION  WIRE  ADVERTISED   ZLIB    VERDICT         AUTH
db1   27018  ok      mongod   rs0   PRIMARY     7.0.14   21    zlib,snappy  ACTIVE  VULNERABLE      AUTH ENFORCED
db2   27017  ok      mongod   rs0   SECONDARY   8.0.29   25    zlib,snappy  no      NOT VULNERABLE  AUTH ENFORCED
db3   27017  ok      mongod   -     STANDALONE  8.0.6    25    -            ACTIVE  VULNERABLE      AUTH NOT ENFORCED

ADVERTISED is what the server named in its hello reply; ZLIB is the result
of the active frame test. They can disagree — db3 advertises nothing but
still accepts zlib frames — and when they do, ZLIB is the operative signal
(see Compression enumeration). In a terminal, VULNERABLE, AUTH NOT ENFORCED and ZLIB ACTIVE render in
red; NOT VULNERABLE, AUTH ENFORCED and zlib: not accepted render in
green; inconclusive values render in yellow. Colour is disabled automatically
when output is not a terminal, when --color never is passed, or when the
NO_COLOR environment variable is set.

Target sources

Three ways in, all combinable — there are no positional arguments:

SourceFlagNotes
Comma-delimited string--targets LISTSame grammar as the file; repeatable
Line-delimited file--input-file FILEOne target per line; # comments and blank lines ignored; repeatable
nmap output--nmap-input-file FILE-oX, -oN and grepable formats auto-detected; repeatable

Target grammar (--targets items or --input-file lines): host,
host:port, host port, or a CIDR (expanded to individual addresses, capped
at a built-in 1024-address limit).
nmap output that includes -sV results or --script mongodb-info output is
used as a version fallback: if the wire probe cannot obtain a version (for
example buildInfo is auth-blocked), the version nmap found is used and
marked version_source: nmap scan. Port state is always read explicitly from
the scan output (the <state> element or the state field), never inferred.
--ports known expands every target across MongoDB's well-known ports:
27017-27020, 28017, 37017, 47017, 57017.

Compression enumeration

CVE-2025-14847 lives in MongoDB's zlib decompression path, so the scanner
checks compression support two ways and reports them in two separate columns:

  1. ADVERTISED — handshake advertisement. The hello/isMaster command
    accepts a compression array. The server replies with a compression
    field listing the algorithms it supports. The scanner iterates the
    candidates (zlib, snappy, zstd) one at a time and records which each
    server acknowledges. This describes what the server will use to compress
    its outgoing messages.

  2. ZLIB — active zlib frame test. Advertised support is not proof that
    the server decompresses zlib frames. The scanner negotiates zlib, then
    sends one OP_COMPRESSED frame containing a zlib-compressed ping. A
    correct reply proves the server accepts zlib frames — the actual
    CVE-2025-14847 vector. Only zlib can be frame-tested with a stdlib-only
    build; snappy and zstd are detected via the handshake advertisement.

The two columns can legitimately disagree. A server can decline to advertise
zlib (so it never compresses its own replies with it) while still accepting
and decompressing zlib frames from a client — the advertised list governs the
outgoing compressor, while the frame test exercises the incoming decompressor.
When they disagree, ZLIB is the operative signal for this CVE and
ADVERTISED is context. The detail section prints both side by side, for
example advertised: none zlib: ACCEPTED (OP_COMPRESSED zlib frame). Reading the ADVERTISED column:

ValueMeaning
zlib,snappy (etc.)Compressors the server listed in its hello reply
-Nothing advertised. This does not mean zlib frames are rejected — check the ZLIB column.

Reading the ZLIB column:

ValueMeaning
ACTIVE (red)The server accepted a zlib-compressed frame. With an affected version, the CVE-2025-14847 vector is reachable.
advertised (yellow)zlib is listed in the handshake but the frame test was skipped or inconclusive.
no (green)zlib is neither advertised nor accepted. The version may still be in range, but this vector is not reachable.

Interpretation with the version verdict:

  • VULNERABLE + zlib ACTIVE — highest priority. Patch, or remove zlib from
    net.compressors as an interim measure. This holds whether or not zlib was
    advertised: acceptance is what the frame test proves.

  • VULNERABLE + zlib not detected — version in range, vector not
    reachable. Patching is still required.

  • NOT VULNERABLE + zlib ACTIVE — patched; zlib acceptance is expected.

What the unauthenticated battery checks

Ähnliche Tools

  • wazuh

    Open-Source-XDR- und SIEM-Plattform für Bedrohungserkennung, Protokollanalyse, Dateiintegritätsüberwachung, Schwachstellenbewertung und Compliance-Management für Endpunkte und Cloud-Workloads.

  • suricata

    Open-Source-Netzwerk-IDS/IPS/NSM-Engine für Echtzeit-Datenverkehrsinspektion, Eindringungserkennung und -verhinderung, Protokollanalyse und regelbasiertes Threat Hunting.

  • zeek

    Zeek ist ein leistungsstarkes Netzwerkanalyse-Framework, das sich stark von den typischen IDS unterscheidet, die Sie vielleicht kennen.

Beliebteste

Alle anzeigen →

Entdecken Sie die meistgenutzten Tools unserer Community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    750
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI-Catcher-Plattform, die eine gefälschte GSM-Zelle bereitstellt, um SMS abzufangen, Nachrichten einzuschleusen und Mobilgeräte zu verfolgen

    739
  • 3

    Callisto

    jetp1ane/callisto

    Automatisiertes Binär-Schwachstellenanalyse-Tool, das ausführbare Dateien über Ghidra dekompiliert, Pseudo-C-Code mit Semgrep scannt und Ergebnisse mithilfe von GPT-3.5-Turbo validiert, um Fehlalarme zu reduzieren.

    585
  • 4

    opencti

    opencti-platform/opencti

    Offene Plattform für Cyber-Bedrohungsinformationen

    550
  • 5

    DFRoot

    a2333c/dfroot

    Android-Root-Tool für das Samsung Galaxy S25 Ultra (SM-S938B), das DirtyFrag CVE-2026-43284 und CVE-2026-43499 verkettet, um beim Booten automatisch über KernelSU Root zu erlangen.

    414
  • 6

    ARTEX

    baarai/artex

    LLM-basierte Multi-Agenten-Plattform für autonome Penetrationstests mit Planer-/Worker-Agenten, Asset- und Explorationsgraphen, MITM-Verkehrsaufzeichnung und Schwachstellen-Retesting.

    409

Alle Tools erkunden

Durchsuchen Sie unsere Tool-Sammlung

Alle Tools anzeigen →
Tool herunterladen