Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-58098: CWE-201 Insertion of Sensitive Information Into Sent Data in Apache Software Foundation Apache HTTP Server

0
High
VulnerabilityCVE-2025-58098cvecve-2025-58098cwe-201
Published: Fri Dec 05 2025 (12/05/2025, 13:40:39 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache HTTP Server

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 05:39:18 UTC

Technical Analysis

CVE-2025-58098 is a vulnerability in the Apache HTTP Server, specifically affecting versions 2.4.65 and earlier when Server Side Includes (SSI) are enabled alongside the mod_cgid module (excluding mod_cgi). The root cause is that the server passes shell-escaped query strings directly to the #exec cmd="..." directives within SSI scripts. This behavior leads to CWE-201, the insertion of sensitive information into sent data, which can expose confidential information to unauthorized parties. The vulnerability does not require user interaction but does require that the attacker have at least low-level privileges (PR:L) and network access (AV:N). The impact includes high confidentiality and integrity risks, as sensitive data can be leaked or manipulated, and a low availability impact. The vulnerability is addressed in Apache HTTP Server version 2.4.66, which corrects the handling of query strings in SSI exec commands to prevent leakage of sensitive information. No known exploits are currently in the wild, but the high CVSS score (8.3) indicates a serious risk if exploited. The vulnerability is particularly relevant for environments that use SSI with mod_cgid, a configuration common in legacy or complex web hosting setups.

Potential Impact

The vulnerability can lead to unauthorized disclosure of sensitive information embedded in query strings, potentially exposing confidential data such as session tokens, credentials, or internal server details. This compromises confidentiality and may allow attackers to gain further footholds or escalate privileges. Integrity could also be impacted if attackers manipulate the data sent via SSI exec commands. Although availability impact is low, the breach of confidentiality and integrity can cause significant operational and reputational damage. Organizations relying on Apache HTTP Server with SSI and mod_cgid enabled are at risk, especially those hosting sensitive web applications or handling private user data. Exploitation could facilitate further attacks such as session hijacking, data theft, or lateral movement within networks.

Mitigation Recommendations

1. Upgrade Apache HTTP Server to version 2.4.66 or later immediately to apply the official fix. 2. Review and disable Server Side Includes (SSI) if not strictly necessary, as SSI can introduce multiple security risks. 3. If SSI is required, avoid using mod_cgid and prefer mod_cgi or other safer alternatives where possible. 4. Audit web server configurations to ensure that query strings are not passed unsafely to exec commands or other shell-invoking directives. 5. Implement strict input validation and sanitization on any user-supplied data used in server-side scripts. 6. Monitor web server logs for unusual or suspicious exec command usage patterns. 7. Employ web application firewalls (WAFs) with rules targeting suspicious SSI exec command usage. 8. Conduct regular security assessments and penetration tests focusing on SSI and CGI configurations. 9. Educate administrators about the risks of enabling SSI with mod_cgid and best practices for secure server configuration.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2025-08-22T18:38:51.070Z
Cvss Version
null
State
PUBLISHED

Threat ID: 6932e1eef88dbe026cde8eed

Added to database: 12/5/2025, 1:45:18 PM

Last enriched: 2/27/2026, 5:39:18 AM

Last updated: 3/25/2026, 12:10:57 AM

Views: 657

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses