Vulnerability in apache2
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2025-58098 has been found in apache2.
Confidential information can be exposed externally.
What to do: upgrade apache2 to 2.4.7-1ubuntu4.22+esm12 or later.
If unsure, ask your IT team or search "apache2 UBUNTU-CVE-2025-58098" on the vendor's site.
UBUNTU-CVE-2025-58098 (apache2)
Attack vector: remote (network-reachable) / no user interaction
Patched: 2.4.7-1ubuntu4.22+esm12 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in apache2.
Check the vendor advisory for the affected versions of apache2.
Severity: ?. Confidential information can be exposed externally.
Update to 2.4.7-1ubuntu4.22+esm12.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'apache2' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'apache2' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
apache2を grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade apache2 to 2.4.7-1ubuntu4.22+esm12ステージング環境で 2.4.7-1ubuntu4.22+esm12 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSapache2 |
< 2.4.7-1ubuntu4.22+esm12→ 2.4.7-1ubuntu4.22+esm12 |
2.4.7-1ubuntu4.22+esm12 |
| Ubuntu:Pro:16.04:LTSapache2 |
< 2.4.18-2ubuntu3.17+esm17→ 2.4.18-2ubuntu3.17+esm17 |
2.4.18-2ubuntu3.17+esm17 |
| Ubuntu:Pro:18.04:LTSapache2 |
< 2.4.29-1ubuntu4.27+esm7→ 2.4.29-1ubuntu4.27+esm7 |
2.4.29-1ubuntu4.27+esm7 |
| Ubuntu:Pro:20.04:LTSapache2 |
< 2.4.41-4ubuntu3.23+esm3→ 2.4.41-4ubuntu3.23+esm3 |
2.4.41-4ubuntu3.23+esm3 |
| Ubuntu:22.04:LTSapache2 |
< 2.4.52-1ubuntu4.18→ 2.4.52-1ubuntu4.18 |
2.4.52-1ubuntu4.18 |
| Ubuntu:24.04:LTSapache2 |
< 2.4.58-1ubuntu8.10→ 2.4.58-1ubuntu8.10 |
2.4.58-1ubuntu8.10 |
| Ubuntu:25.10apache2 |
< 2.4.64-1ubuntu3.2→ 2.4.64-1ubuntu3.2 |
2.4.64-1ubuntu3.2 |
| Ubuntu:26.04:LTSapache2 |
< 2.4.66-2ubuntu1→ 2.4.66-2ubuntu1 |
2.4.66-2ubuntu1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report httpd.apache.org