CVE-2025-58098CWE-201

CVE-2025-58098

High · published December 5, 2025

CVSS v3.1
8.3
EPSS
1%
Percentile
72.7
In the wild
Unconfirmed
What it is

⚡ A sneaky shell-escaped query string is your new best friend... for attackers! Apache HTTP Server versions before 2.4.66 that have Server Side Includes enabled are at serious risk of running arbitrary commands. 🔥 Think of it like a restaurant where the chef accepts any order without checking if it's actually on the menu—a recipe for disaster! In this case, an attacker can slip in commands through the query string, and the server just cooks them up! This vulnerability allows an attacker to execute arbitrary commands on the server with the same permissions as the web server itself. We're talking about potentially devastating outcomes, like full system compromise, data breaches, or even service outages. A breach like this could leave your server wide open for any malicious intent!

Put simply

Think of it like a restaurant where the chef accepts any order without checking if it's actually on the menu—a recipe for disaster! In this case, an attacker can slip in commands through the query string, and the server just cooks them up! The vulnerability arises from Apache HTTP Server's handling of Server Side Includes (SSI) when mod_cgid is enabled, allowing attackers to inject and execute commands via the `#exec cmd="..."` directive using crafted query strings.

What to do

This vulnerability allows an attacker to execute arbitrary commands on the server with the same permissions as the web server itself. We're talking about potentially devastating outcomes, like full system compromise, data breaches, or even service outages. A breach like this could leave your server wide open for any malicious intent! Upgrade your Apache HTTP Server to version 2.4.66 immediately to close this gaping hole. Additionally, consider disabling Server Side Includes unless absolutely necessary to minimize risk. Regularly review and audit your server configurations to stay ahead of threats. You’ve got this! By taking these steps, you’re reinforcing your defenses and securing your server. 🛡️

The record
Technical detail
CVSS v3.1
8.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.01424 · 72.7th percentile
Weakness
CWE-201 · Insertion of Sensitive Information Into Sent Data
Published
2025-12-05T19:15Z
Affected products (1)
ProductVersionsFixed in
apache/http_server< 2.4.662.4.66
References (2)
EPSS history
Timeline
  • 05 DEC 13:40Z
    Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...
    cvelistv5