CVE-2022-31813 in Apache Http Server and 2 more products
Apache HTTP Server 2.4.53 and earlier may not send the X-Forwarded-* headers to the origin server based on client side Connection header hop-by-hop mechanism. This may be used to bypass IP based authentication on the origin server/application.
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Http Server | < 2.4.54 |
| Fedoraproject | Fedora | 35 36 |
| Netapp | Clustered Data Ontap | No version listed by the source |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Apache HTTP Server 2.4.53 and earlier may not send the X-Forwarded-* headers to the origin server based on client side Connection header hop-by-hop mechanism. This may be used to bypass IP based authentication on the origin server/application.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-31813 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-068145-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-06-09 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-345: CWE-345
CWE-348: CWE-348
Related attack patterns (CAPEC)
CAPEC-76 Manipulating Web Input to File System Calls via CWE-348
CAPEC-85 AJAX Footprinting via CWE-348
CAPEC-142 DNS Cache Poisoning via CWE-345, CWE-348
CAPEC-218 Spoofing of UDDI/ebXML Messages via CWE-345
CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-345
Show all 15
CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-345
CAPEC-388 Application API Button Hijacking via CWE-345
CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-345
CAPEC-73 User-Controlled Filename via CWE-348
CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-345
CAPEC-141 Cache Poisoning via CWE-345, CWE-348
CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-345
CAPEC-386 Application API Navigation Remapping via CWE-345
CAPEC-701 Browser in the Middle (BiTM) via CWE-345
CAPEC-148 Content Spoofing via CWE-345
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Apache HTTP Server versions 2.4.53 and earlier may not properly forward X-Forwarded-* headers due to a client-side Connection header hop-by-hop mechanism, potentially allowing bypass of IP-based authentication on the origin server/application.
An attacker can manipulate the Connection header to prevent the X-Forwarded-* headers from being forwarded to the origin server. This can lead to the origin server/application not receiving the correct client IP address, thus bypassing IP-based authentication mechanisms.
Questions
What is CVE-2022-31813?
Apache HTTP Server versions 2.4.53 and earlier may not properly forward X-Forwarded-* headers due to a client-side Connection header hop-by-hop mechanism, potentially allowing bypass of IP-based authentication on the origin server/application.
What is the CVSS score for CVE-2022-31813?
CVE-2022-31813 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 3.1%.
Is CVE-2022-31813 actively exploited?
No confirmed active exploitation of CVE-2022-31813 as of 2026-09-25.
How do I remediate CVE-2022-31813?
Priority: IMMEDIATE. Advisory: https://httpd.apache.org/security/vulnerabilities_24.html PSIRT: [email protected]
What systems are affected by CVE-2022-31813?
CVE-2022-31813 affects Apache Http Server; Fedoraproject Fedora; Netapp Clustered Data Ontap.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Http Server","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.