CVE-2023-45361
Medium · 6.1CVSS
6.1
EPSS
0.3%
Published
Oct 9, 2024
CISA due date
—
Cloudanix analysis
A bug in MediaWiki can make some web pages show wrong content when certain invalid page titles are used.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
An uncaught MalformedTitleException occurs in VectorComponentUserLinks.php when the vector-intro-page parameter contains an invalid title, resulting in improper exception handling and generation of incorrect web page output.
Why it matters to the business
Users may encounter malformed or unexpected page content, causing confusion, degraded user experience, and potential minor information leakage in public-facing wiki instances.
How an attack unfolds
An attacker supplies a crafted request containing an invalid title value for the vector-intro-page parameter to a MediaWiki instance using the Vector skin; the uncaught exception bypasses normal error handling and produces erroneous page output.
How to fix it
Upgrade MediaWiki to version 1.39.5 or 1.40.1 (or later) to ensure the exception is properly caught and handled.
How to confirm the fix worked
Verify installed MediaWiki version is at least 1.39.5 or 1.40.1; test by submitting requests with invalid vector-intro-page titles and confirm normal error handling occurs instead of malformed output.
Typical attack path
- Identify MediaWiki instance using Vector skin
- Craft URL or request with invalid title in vector-intro-page parameter
- Submit request to trigger uncaught MalformedTitleException
- Observe resulting incorrect web page content
How to detect it
Search application and web server logs for references to MalformedTitleException combined with vector-intro-page parameter values; inspect for unexpected page rendering artifacts in access logs.
- MalformedTitleException
- vector-intro-page
What your security team should do
- Upgrade all MediaWiki installations to the fixed versions immediately
- Review web server and application logs for prior instances of MalformedTitleException
- Implement input validation monitoring for title parameters
The record
An issue was discovered in VectorComponentUserLinks.php in the Vector Skin component in MediaWiki before 1.39.5 and 1.40.x before 1.40.1. vector-intro-page MalformedTitleException is uncaught if it is not a valid title, leading to incorrect web pages.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:12 | mediawiki | 0 | 1:1.39.5-1~deb12u1 |
| Debian:13 | mediawiki | 0 | 1:1.39.5-1 |
| Mageia:9 | mediawiki | 0 | 1.35.14-1.mga9 |
| Ubuntu:18.04:LTS | mediawiki | 0 | No fix |
| Ubuntu:20.04:LTS | mediawiki | 0 | No fix |
| Ubuntu:22.04:LTS | mediawiki | 0 | No fix |
| Ubuntu:24.04:LTS | mediawiki | 0 | No fix |
| Ubuntu:24.10 | mediawiki | 0 | No fix |
| Ubuntu:25.04 | mediawiki | 0 | No fix |
| Ubuntu:25.10 | mediawiki | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mediawiki | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mediawiki | 0 | No fix |
Related vulnerabilities
- CVE-2023-45359 An issue was discovered in the Vector Skin component for MediaWiki before 1.39.5 and… Also affects mediawiki
- CVE-2024-47913 An issue was discovered in the AbuseFilter extension for MediaWiki before 1.39.9, 1.40.x… Also affects mediawiki
- CVE-2024-34507 An issue was discovered in includes/CommentFormatter/CommentParser.php in MediaWiki… Also affects mediawiki
- CVE-2024-34506 An issue was discovered in includes/specials/SpecialMovePage.php in MediaWiki before… Also affects mediawiki
- CVE-2014-1610 MediaWiki 1.22.x before 1.22.2, 1.21.x before 1.21.5, and 1.19.x before 1.19.11, when… Also affects mediawiki
- CVE-2008-0460 Cross-site scripting (XSS) vulnerability in api.php in (1) MediaWiki 1.11 through… Also affects mediawiki
- CVE-2025-61653 Vulnerability in Wikimedia Foundation TextExtracts. Also affects mediawiki
- CVE-2025-61646 Vulnerability in Wikimedia Foundation MediaWiki. Also affects mediawiki