CVE-2023-29141
PHP vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2023-29141) 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. The issue allows an auto-block to occur for an untrusted X-Forwarded-For header, potentially exposing sensitive user information (NVD, Debian Security).

Technical details

The vulnerability stems from MediaWiki's handling of X-Forwarded-For (XFF) headers. When a user is autoblocked, the wiki creates an IP block behind-the-scenes without exposing the user's IP on-wiki. However, the system checks all IP addresses specified in XFF headers for blocks, including untrusted ones. An attacker could specify multiple IP addresses (up to about 256) in a single XFF header, allowing them to test numerous IPs efficiently for active autoblocks (Phabricator).

Impact

The vulnerability allows attackers to potentially discover the IP addresses of users who have active autoblocks by using spoofed XFF headers. Since the block message includes the username of the original block target, this creates a privacy leak that could expose user identity information. With approximately 2^24 requests, an attacker could potentially enumerate all IPv4 addresses with active autoblocks on a wiki (Phabricator).

Mitigation and workarounds

The issue has been fixed in MediaWiki versions 1.35.10, 1.38.6, and 1.39.3. The fix prevents autoblocks from being applied to untrusted XFF headers while maintaining functionality for trusted proxy servers. Users should upgrade to these or later versions to mitigate the vulnerability (Fedora Security).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management