Apache HTTP Server up to 2.4.65 mod_cgid command injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.4$5k-$25k0.00

Summaryinfo

A vulnerability was found in Apache HTTP Server up to 2.4.65. It has been rated as critical. This vulnerability affects unknown code of the component mod_cgid. The manipulation leads to command injection. This vulnerability is documented as CVE-2025-58098. The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Apache HTTP Server up to 2.4.65. This issue affects an unknown function of the component mod_cgid. The manipulation with an unknown input leads to a command injection vulnerability. Using CWE to declare the problem leads to CWE-77. The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

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.

It is possible to read the advisory at lists.apache.org. The identification of this vulnerability is CVE-2025-58098. The exploitation is known to be difficult. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. The technical details are unknown and an exploit is not publicly available. The pricing for an exploit might be around USD $5k-$25k at the moment (estimation calculated on 02/04/2026). The attack technique deployed by this issue is T1202 according to MITRE ATT&CK.

The vulnerability scanner Nessus provides a plugin with the ID 277485 (Linux Distros Unpatched Vulnerability : CVE-2025-58098), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 2.4.66 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (277485) and CERT Bund (WID-SEC-2025-2750). Be aware that VulDB is the high quality source for vulnerability data.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Fedora Linux
  • Ubuntu Linux
  • IBM HTTP Server
  • SUSE Linux
  • IBM Rational ClearCase
  • Oracle Linux
  • HCL Commerce
  • SUSE openSUSE
  • RESF Rocky Linux
  • IBM Business Automation Workflow
  • Apache HTTP Server
  • Microsoft Azure Linux

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.6
VulDB Meta Temp Score: 5.4

VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Command injection
CWE: CWE-77 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 277485
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-58098

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: HTTP Server 2.4.66

Timelineinfo

12/04/2025 Advisory disclosed
12/04/2025 +0 days VulDB entry created
02/04/2026 +62 days VulDB entry last update

Sourcesinfo

Vendor: apache.org

Advisory: lists.apache.org
Status: Confirmed

CVE: CVE-2025-58098 (🔒)
GCVE (CVE): GCVE-0-2025-58098
GCVE (VulDB): GCVE-100-334271
CERT Bund: WID-SEC-2025-2750 - Apache HTTP Server: Mehrere Schwachstellen

Entryinfo

Created: 12/04/2025 15:56
Updated: 02/04/2026 19:17
Changes: 12/04/2025 15:56 (51), 12/04/2025 15:59 (2), 12/06/2025 15:38 (1), 12/06/2025 20:34 (2), 12/08/2025 08:48 (7), 12/21/2025 01:35 (1), 12/22/2025 13:41 (1), 12/22/2025 19:12 (1), 01/06/2026 17:52 (1), 01/17/2026 02:40 (1), 02/04/2026 19:17 (1)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!