CVE-2023-29141: X-Forwarded-For header allows brute-forcing autoblocked IP addresses

Published Mar 31, 2023
·
Updated

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.

Other sources

X-Forwarded-For header allows brute-forcing autoblocked IP addresses

— Packagist

Affected Software

16 affected componentsFixes available
debian/mediawiki<=1:1.31.16-1+deb10u2
1:1.31.16-1+deb10u61:1.35.11-1~deb11u11:1.35.13-1~deb11u11:1.39.4-1~deb12u11:1.39.5-1~deb12u11:1.39.5-1
composer/mediawiki/core<1.35.10
1.35.10
composer/mediawiki/core>=1.38.0<1.38.6
1.38.6
composer/mediawiki/core>=1.39.0<1.39.3
1.39.3
MediaWiki MediaWiki<1.35.10
MediaWiki MediaWiki>=1.36.0<1.38.6
MediaWiki MediaWiki>=1.39.0<1.39.3
Fedoraproject Fedora=37
composer/mediawiki/core<1.35.10
1.35.10
composer/mediawiki/core>=1.38.0, <1.38.6
1.38.6
composer/mediawiki/core>=1.39.0, <1.39.3
1.39.3
ubuntu/mediawiki*
ubuntu/mediawiki*
ubuntu/mediawiki*
ubuntu/mediawiki*
ubuntu/mediawiki*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/mediawiki to a version that resolves this vulnerability.

    Fixed in 1:1.31.16-1+deb10u6Fixed in 1:1.35.11-1~deb11u1Fixed in 1:1.35.13-1~deb11u1Fixed in 1:1.39.4-1~deb12u1Fixed in 1:1.39.5-1~deb12u1Fixed in 1:1.39.5-1
  2. Upgrade

    Upgrade composer/mediawiki/core to a version that resolves this vulnerability.

    Fixed in 1.35.10
  3. Upgrade

    Upgrade composer/mediawiki/core to a version that resolves this vulnerability.

    Fixed in 1.38.6
  4. Upgrade

    Upgrade composer/mediawiki/core to a version that resolves this vulnerability.

    Fixed in 1.39.3

Event History

Mar 31, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·07:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·09:30 PM
Data Sourced
via GitHub·09:30 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·09:30 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2023-29141?

CVE-2023-29141 is a vulnerability in MediaWiki before versions 1.35.10, 1.36.x through 1.38.x before 1.38.6, and 1.39.x before 1.39.3 that allows an auto-block to occur for an untrusted X-Forwarded-For header.

2

How severe is CVE-2023-29141?

CVE-2023-29141 is considered critical with a severity score of 9.8 out of 10.

3

How does CVE-2023-29141 affect MediaWiki?

CVE-2023-29141 affects MediaWiki versions before 1.35.10, 1.36.x through 1.38.x before 1.38.6, and 1.39.x before 1.39.3, allowing an auto-block to occur for an untrusted X-Forwarded-For header.

4

How can I fix CVE-2023-29141 in MediaWiki?

To fix CVE-2023-29141 in MediaWiki, you should update your MediaWiki installation to version 1.35.10, 1.38.6, or 1.39.3 or later.

5

Where can I find more information about CVE-2023-29141?

You can find more information about CVE-2023-29141 at the following references: - [MediaWiki Release Notes](https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/REL1_39/RELEASE-NOTES-1.39) - [Debian LTS Announcement](https://lists.debian.org/debian-lts-announce/2023/08/msg00029.html) - [Fedora Project Announcement](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ONWHGOBFD6CQAEGOP5O375XAP2N6RUHT/)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203