Mediawiki: Inconsistent Interpretation of HTTP Requests
CVE-2023-29141 is a critical-severity inconsistent interpretation of HTTP requests vulnerability in Mediawiki, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 1.35.10, 1.38.6, 1.39.3 as the first without the flaw, so updating Mediawiki to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 1.19% chance of exploitation within 30 days, higher than 69% of scored CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Update Mediawiki to 1.35.10 or 1.38.6 or 1.39.3, whichever matches your release line, or a later version.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| MediaWiki | Mediawiki | before 1.35.10; 1.36.0 up to, but not including, 1.38.6; 1.39.0 up to, but not including, 1.39.3 | 1.35.10, 1.38.6, 1.39.3 |
| Fedora Project | Fedora | 37 | Not stated |
Version data comes from NVD's product matching. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 9.8 | Critical | NVD |
| CVSS 3.1 | 9.8 | Critical | CISA (ADP) |
Official description
An issue was discovered in MediaWiki before 1.35.10, 1.36.x through 1.38.x before 1.38.6, and 1.39.x before 1.39.3. An auto-block can occur for an untrusted X-Forwarded-For header.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Inconsistent Interpretation of HTTP Requests
The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.
How developers prevent this class of flaw
- Use a web server that employs a strict HTTP parsing procedure, such as Apache.
- Terminate the client session after each request.
More Inconsistent Interpretation of HTTP Requests vulnerabilities (CWE-444)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: poc, automatable: yes, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
Other references
- lists.debian.org/debian-lts-announce/2023/08/msg00029.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ONWHGOBFD6CQAEGOP5O3…
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZGK4NZPIJ5ET2ANRZOUY…
- phabricator.wikimedia.org/T285159Issue Tracking, Permissions Required
- debian.org/security/2023/dsa-5447
Other vulnerabilities in Mediawiki
- 8.8 High severity
- 7.6 High severity
- 8.8 High severity
- 7.5 High severity
- 7.5 High severity
- 7.4 High severity
Recent Inconsistent Interpretation of HTTP Requests vulnerabilities
- 7.5 High severity
- 9.8 Critical severity
- 9.1 Critical severity
- 8.8 High severity
- 9.0 Critical severity
- 7.5 High severity
Spotted an error? Tell us.