Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
apache-mod-http2-scanner — Detector NSE de Nmap para Apache mod_http2 (CVE-2026-119618): versión + h2/h2c, sin explotar infraestructura | Kitploit
Tools/GitHubGitHub/matarturo/apache-mod-http2-scanner
Defensive ToolsReconnaissanceVulnerability ScannersWeb Vulnerability ScannersInformation GatheringWeb SecurityNetwork Security
GitHubmatarturo/apache-mod-http2-scanner

apache-mod-http2-scanner

Detector NSE de Nmap para Apache mod_http2 (CVE-2026-119618): versión + h2/h2c, sin explotar infraestructura

View Repository
12 days agoNot yet reviewed
Share

apache-mod-http2-scanner

Nmap NSE script, non-intrusive, to remotely identify (by IP or domain) Apache HTTP Server servers potentially affected by CVE-2026-119618 (mod_http2, assign_headers() function).

Version: 1.0.1 · Author: Arturo E. Mata [email protected] · License: Apache-2.0

⚠️ Verification notice: the version ranges and detection criteria come solely from the internal bulletin (published on 11/11/2026); the CVE could not be independently verified. Confirm them against the official Apache advisory (https://httpd.apache.org/security/vulnerabilities_24.html) before using the results in production.


Vulnerability summary (per the bulletin)

FieldValue
CVECVE-2026-119618
ComponentApache HTTP Server mod_http2
CauseInadequate synchronization of shared resources in assign_headers()
ImpactMemory corruption and remote code execution
SeverityCritical, CVSS 9.8
AffectedApache httpd 2.4.55 to 2.4.70; mod_h2 (GitHub) 2.0.8 to 2.0.42
Fixed inApache httpd 2.4.71 or higher
VectorServers with HTTP/2 (h2 or h2c) enabled via the Protocols directive

How it works

The script does not exploit anything or send payloads. It does three things:

  1. Identifies the server (nmap -sV or the Server header). If it is not Apache httpd (Tomcat, nginx, Traffic Server, etc.), it stops without further probes.
  2. Checks HTTP/2:
    • h2: ALPN negotiation in a TLS handshake.
    • h2c: Upgrade: h2c request in plaintext (expects 101 Switching Protocols).
    • If Nmap knows the port is TLS, it uses ALPN; if it knows it is plaintext, it uses h2c; if it does not know, it tries h2c and, if inconclusive, ALPN.
  3. Compares the version with the affected range and issues the verdict.

Decision table

VersionHTTP/2Result
In rangeActiveVULNERABLE
In rangeNot detected (conclusive check)NOT VULNERABLE
In rangeCould not be checkedNO CONCLUYENTE
Out of rangeAnyNOT VULNERABLE
Hidden (ServerTokens Prod)ActiveLIKELY VULNERABLE (or NO CONCLUYENTE with hidden_version=unknown)
HiddenNot detected (conclusive)NOT VULNERABLE
HiddenCould not be checkedNO CONCLUYENTE
Not Apache httpd—No output (note with vulns.showall)

Requirements

  • Nmap 7.x or higher (http, tls, vulns libraries).
  • Authorization to scan the target.

Installation

sudo cp apache-mod-http2-scanner.nse /usr/share/nmap/scripts/
sudo nmap --script-updatedb
nmap --script-help apache-mod-http2-scanner      # verificar

macOS (Homebrew): /opt/homebrew/share/nmap/scripts/ · Windows: C:\Program Files (x86)\Nmap\scripts\

You can also run it without installing: nmap --script ./apache-mod-http2-scanner.nse ...

Quick start

# Por IP
nmap -p 80,443,8080,8443 --script apache-mod-http2-scanner 192.168.1.10

# Por dominio (solo el hostname, sin https://)
nmap -p 80,443 --script apache-mod-http2-scanner ejemplo.com

# Con detección de servicio (recomendado: mejora versión y puertos no estándar)
nmap -sV -p 80,443 --script apache-mod-http2-scanner ejemplo.com

# Ver también los resultados negativos
nmap -sV -p 80,443 --script apache-mod-http2-scanner --script-args vulns.showall ejemplo.com

# Rango de red
nmap -p 80,443 --script apache-mod-http2-scanner 10.0.0.0/24

Arguments

ArgumentDescriptionDefault
apache-mod-http2-scanner.pathHTTP path to query/
apache-mod-http2-scanner.minMinimum affected version2.4.55
apache-mod-http2-scanner.maxMaximum affected version2.4.70
apache-mod-http2-scanner.timeoutSocket timeout (ms)5000
apache-mod-http2-scanner.ssltrue forces ALPN, false forces h2cautomatic
apache-mod-http2-scanner.hidden_versionlikely or unknown: handling Apache with HTTP/2 and a hidden versionlikely
http.useragentUser-Agent for HTTP requests (including h2c)Nmap NSE
vulns.showallAlso display NOT VULNERABLE and informational notes—

Interpreting results

StatusMeaningAction
VULNERABLEVersion within range and HTTP/2 activeVerify locally and mitigate
LIKELY VULNERABLEApache with HTTP/2 and a hidden versionCheck using httpd -v on the server
NO CONCLUYENTEA check could not be completedRetry with -sV, another timeout, or verify locally
NOT VULNERABLEOut of range, or HTTP/2 not detectedNone for this CVE (only visible with vulns.showall)

NO CONCLUYENTE is displayed separately, without the VULNERABLE: heading, to avoid confusing it with a positive result.

Example output:

PORT     STATE SERVICE  VERSION
8443/tcp open  ssl/http Apache httpd 2.4.70 ((Unix) OpenSSL/3.5.7)
| apache-mod-http2-scanner:
|   VULNERABLE:
|   Apache HTTP Server mod_http2 - corrupcion de memoria / RCE (severidad Critica)
|     State: VULNERABLE
|     IDs:  CVE:CVE-2026-119618
|     Risk factor: High  CVSSv3: 9.8
|     Check results:
|       Banner/Version: Apache/2.4.70 (nmap -sV)
|       HTTP/2 habilitado: SI - h2 (ALPN)
|       Rango afectado: 2.4.55 - 2.4.70 (corregido en 2.4.71)
|_      Script: apache-mod-http2-scanner v1.0.1

Risk factor: High: Nmap's vulns library supports only High/Medium/Low. The actual severity (Critical, CVSS 9.8) appears in the title and the CVSSv3 field.

Proxy and User-Agent

  • --proxies: only if your network uses a proxy for outbound access or the scope requires it. Requires -sT and -Pn; increasing timeout to 10000 or more is advisable.

    nmap -sT -Pn -p 443 --proxies socks4://127.0.0.1:9050 \
      --script apache-mod-http2-scanner \
      --script-args apache-mod-http2-scanner.timeout=10000 ejemplo.com
    
  • User-Agent: the ALPN probe does not send HTTP, so it does not use one. http.useragent affects reading the Server header and the h2c request. For corporate scans, an honest, identifiable value is advisable:

    --script-args 'http.useragent=SecScan-InternoTI'
    

Limitations

  • Distribution backports (Debian, Ubuntu, RHEL…): may fix the flaw without changing the visible version, producing false positives.
  • ServerTokens Prod hides the version: result LIKELY VULNERABLE or NO CONCLUYENTE.
  • GitHub mod_h2 (2.0.8 to 2.0.42) cannot be identified remotely.
  • A CDN or reverse proxy may negotiate HTTP/2 independently without the Apache backend using it.
  • TLS 1.3 only: the ALPN probe uses a TLS 1.2 ClientHello; a server accepting only TLS 1.3 produces NO CONCLUYENTE.
  • Nonstandard ports: the script activates based on an HTTP/HTTPS service or common ports (80, 443, 8080, 8443, 8000, 8088, 8180…). On other ports, use -sV.
  • A WAF or IPS may block probes and cause negative or inconclusive results.

Tests performed

CaseResult
Plaintext h2cVULNERABLE ✅
h2 with TLS (ALPN)VULNERABLE ✅
h2 with TLS on a port Nmap does not recognize as TLS (ALPN fallback)VULNERABLE ✅
HTTP/1.1 only, plaintext and TLSNOT VULNERABLE ✅
Version outside the range (min/max)NOT VULNERABLE ✅
Hidden version + h2/h2cLIKELY VULNERABLE ✅ (and NO CONCLUYENTE with hidden_version=unknown)
Hidden version + HTTP/1.1 onlyNOT VULNERABLE ✅
TLS 1.3 onlyNO CONCLUYENTE ✅
Apache-Coyote (Tomcat) and Python serverNo output / "Not applicable" ✅
Arguments ssl, hidden_version (valid and invalid), http.useragent, closed port✅

Environments: a lab with Apache 2.4.58 (Ubuntu) and Nmap 7.94; and results validated in Docker httpd:2.4.70 with Nmap 7.95 (h2c and h2 over TLS).

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    957
  • 2

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    768
  • 3

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    595
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    509
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    463
  • 6

    mcp-reverse

    1llu50ry/mcp-reverse

    MCP server exposing 180+ reverse-engineering tools that aggregate Ghidra, IDA, x64dbg, Frida and 56 other backends with native binary parsers and a 4,200-skill knowledge base.

    357

Explore all tools

Browse our collection of tools

View all tools →