CVE-2014-1610
Description
MediaWiki 1.22.x before 1.22.2, 1.21.x before 1.21.5, and 1.19.x before 1.19.11, when DjVu or PDF file upload support is enabled, allows remote attackers to execute arbitrary commands via shell metacharacters in (1) the page parameter to includes/media/DjVu.php; (2) the w parameter (aka width field) to thumb.php, which is not properly handled by includes/media/PdfHandler_body.php; and possibly unspecified vectors in (3) includes/media/Bitmap.php and (4) includes/media/ImageHandler.php.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Metasploit modules
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 1:1.19.11+dfsg-1 |
| debian | bullseye | fixed | 1:1.19.11+dfsg-1 |
| debian | forky | fixed | 1:1.19.11+dfsg-1 |
| debian | sid | fixed | 1:1.19.11+dfsg-1 |
| debian | trixie | fixed | 1:1.19.11+dfsg-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| mediawiki | mediawiki | 1.19.0 | |
| mediawiki | mediawiki | 1.19.1 | |
| mediawiki | mediawiki | 1.19.2 | |
| mediawiki | mediawiki | 1.19.3 | |
| mediawiki | mediawiki | 1.19.4 | |
| mediawiki | mediawiki | 1.19.5 | |
| mediawiki | mediawiki | 1.19.6 | |
| mediawiki | mediawiki | 1.19.7 | |
| mediawiki | mediawiki | 1.19.8 | |
| mediawiki | mediawiki | 1.19.9 | |
| mediawiki | mediawiki | 1.19.10 | |
| mediawiki | mediawiki | 1.21.1 | |
| mediawiki | mediawiki | 1.21.2 | |
| mediawiki | mediawiki | 1.21.3 | |
| mediawiki | mediawiki | 1.21.4 | |
| mediawiki | mediawiki | 1.22.0 | |
| mediawiki | mediawiki | 1.22.1 | |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2014-February/127942.html
- http://lists.fedoraproject.org/pipermail/package-announce/2014-February/127948.html
- http://lists.wikimedia.org/pipermail/mediawiki-announce/2014-January/000140.html
- http://osvdb.org/102630
- http://secunia.com/advisories/56695
- http://secunia.com/advisories/57472
- http://www.checkpoint.com/defense/advisories/public/2014/cpai-26-jan.html
- http://www.checkpoint.com/threatcloud-central/articles/2014-01-28-tc-researchers-discover.html
- http://www.debian.org/security/2014/dsa-2891
- http://www.exploit-db.com/exploits/31329/
- http://www.osvdb.org/102631
- http://www.securityfocus.com/bid/65223
- http://www.securitytracker.com/id/1029707
- https://bugzilla.wikimedia.org/attachment.cgi?id=14361&action=diff
- https://bugzilla.wikimedia.org/attachment.cgi?id=14384&action=diff
- https://bugzilla.wikimedia.org/show_bug.cgi?id=60339
- https://gerrit.wikimedia.org/r/#/c/110069/
- https://gerrit.wikimedia.org/r/#/c/110069/2/includes/media/Bitmap.php
- https://gerrit.wikimedia.org/r/#/c/110215/
- https://security-tracker.debian.org/tracker/CVE-2014-1610
CWEs
CWE-20
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.