CVE-2025-58098

HIGH LAB

Apache HTTP Server <2.4.66 - Command Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2025-58098. PoCs published by dhmosfunk.

AI-analyzed exploit summary This repository provides a writeup and lab setup for CVE-2025-58098, which involves an argument injection vulnerability via the `#exec cmd=...` directive. It includes Docker instructions for setting up a vulnerable environment but lacks actual exploit code.

Description

Apache HTTP Server 2.4.65 and earlier with Server Side Includes (SSI) enabled and mod_cgid (but not mod_cgi) passes the shell-escaped query string to #exec cmd="..." directives. This issue affects Apache HTTP Server before 2.4.66. Users are recommended to upgrade to version 2.4.66, which fixes the issue.

Exploits (1)

nomisec WRITEUP 1 stars
by dhmosfunk · poc
https://github.com/dhmosfunk/CVE-2025-58098

This repository provides a writeup and lab setup for CVE-2025-58098, which involves an argument injection vulnerability via the `#exec cmd=...` directive. It includes Docker instructions for setting up a vulnerable environment but lacks actual exploit code.

Classification
Writeup 80%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: unspecified (likely a web server or application processing `#exec` directives)
No auth needed
Prerequisites: Docker environment · vulnerable application instance
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Mailing List, Vendor Advisory vendor-advisory
https://httpd.apache.org/security/vulnerabilities_24.html
Mailing List, Third Party Advisory
http://www.openwall.com/lists/oss-security/2025/12/04/5

Scores

CVSS v3 8.3
EPSS 0.0150
EPSS Percentile 70.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Lab Environment

COMMUNITY
Community Lab
docker pull httpd:2.4.65

Details

CWE
CWE-201
Status published
Products (1)
apache/http_server < 2.4.66
Published Dec 05, 2025
Tracked Since Feb 18, 2026