CVE-2022-2255: mod_wsgi - Header Injection
- Cve: CVE-2022-2255
- Name: mod_wsgi - Header Injection
- Description: A vulnerability was found in mod_wsgi. The X-Client-IP header is not removed from a request from an untrusted proxy, allowing an attacker to pass the X-Client-IP header to the target WSGI application because the condition to remove it is missing.
- Impact: Attackers can pass malicious X-Client-IP headers, potentially leading to IP spoofing or misattribution of client IP addresses.
- Remediation: Implement proper header removal logic to ensure X-Client-IP is removed from untrusted proxies.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00994
- Epss percentile: 0.63514
- Assignee: [email protected]
- Published at: 2022-08-25T18:15:09Z
- Age in days: 1552
- Modified at: 2026-06-17T04:41:34Z
- Patch available: yes
- Public exploits total: 2
- References total: 4
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-2255
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-348 | Use of Less Trusted Source |
| CWE-345 | Insufficient Verification of Data Authenticity |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L13940-L13941 | nvd | 2022-08-25 |
| https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L14046-L14082 | nvd | 2022-08-25 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L13940-L13941 | Exploit, Third Party Advisory |
| https://github.com/GrahamDumpleton/mod_wsgi/blob/4.9.2/src/server/mod_wsgi.c#L14046-L14082 | Exploit, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/09/msg00021.html | Mailing List, Third Party Advisory |
| https://modwsgi.readthedocs.io/en/latest/release-notes/version-4.9.3.html | Release Notes, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| debian:debian_linux | = 10.0 | no | nvd | /v1/products/debian/debian_linux |
| modwsgi:mod_wsgi | < 4.9.3 | no | nvd | /v1/products/modwsgi/mod_wsgi |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| GrahamDumpleton/mod_wsgi | commit, fix, package | yes | /v1/repositories/GrahamDumpleton/mod_wsgi |
Index
- Repositories: 2
- Repositories high signal: 1
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2022-08-25
- Remote: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports