CVE-2015-8001: XSS
Several flaws were found in Mediawiki:
Wikipedia user RobinHood70 reported that the API failed to correctly stop adding new chunks to the upload when the reported size was exceeded, allowing a malicious users to upload add an infinite number of chunks for a single file upload. <https://phabricator.wikimedia.org/T91203>
Wikipedia user RobinHood70 also reported that a malicious user could upload chunks of 1 byte for very large files, potentially creating a very large number of files on the server's filesystem. <https://phabricator.wikimedia.org/T91205>
Internal review discovered that it is not possible to throttle file uploads. <https://phabricator.wikimedia.org/T91850>
Internal review discovered a missing authorization check when removing suppression from a revision. This allowed users with the 'viewsuppressed' user right but not the appropriate 'suppressrevision' user right to unsuppress revisions. <https://phabricator.wikimedia.org/T95589>
Richard Stanway from teamliquid.net reported that thumbnails of PNG files generated with ImageMagick contained the local file path in the image metadata. <https://phabricator.wikimedia.org/T108616>
Extension:PageTriage - MediaWiki user Grunny discovered a DOM-based XSS in the way the extension handled page titles. <https://phabricator.wikimedia.org/T111029>
Extension:Echo - Internal review discovered that Echo could display deleted or suppressed usernames when the username was previously used to Thank users. <https://phabricator.wikimedia.org/T110553>
Extension:OAuth - Wikipedia user Sitic discovered that the OAuth extension did not correctly enforce the IP restrictions of a Consumer when using previously negotiated credentials. <https://phabricator.wikimedia.org/T103022>
Extension:OAuth - Wikipedia user Sitic discovered that OAuth would accept a valid signature from any Consumer when checking the authorization signature. This allowed a registered Consumer who gained access to another Consumer's users' access tokens and secrets to use those credentials. <https://phabricator.wikimedia.org/T103023>
CVE request and original report:
http://seclists.org/oss-sec/2015/q4/104
Other sources
The chunked upload API (ApiUpload) in MediaWiki before 1.23.11, 1.24.x before 1.24.4, and 1.25.x before 1.25.3 does not restrict the uploaded data to the claimed file size, which allows remote authenticated users to cause a denial of service via a chunk that exceeds the file size.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2015-8001?
CVE-2015-8001 has the potential to allow a denial-of-service attack through infinite file chunk uploads.
How do I fix CVE-2015-8001?
To remediate CVE-2015-8001, update MediaWiki to version 1.25.3 or later, 1.24.4 or later, or 1.23.11 or later.
What software versions are affected by CVE-2015-8001?
CVE-2015-8001 affects MediaWiki versions up to and including 1.25.2, as well as 1.24.3 and earlier versions.
Can CVE-2015-8001 be exploited by any user?
Yes, a malicious user can exploit CVE-2015-8001 by uploading an excessive number of chunks to a single file upload.
Is there a specific configuration required to be vulnerable to CVE-2015-8001?
No specific configuration is required; any affected version of MediaWiki is vulnerable regardless of configuration.