CVE-2014-1610 in mediawiki

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

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.

Affected software: mediawiki

Scores

What LogPulse has for it

How to mitigate it

Update MediaWiki to 1.22.2, 1.21.5 or 1.19.11 or later

Patch or upgrade. MediaWiki before 1.22.2, 1.21.5 and 1.19.11 with DjVu or PDF uploads passes thumbnail parameters to a shell, so a user can run commands. The fixed releases escape these values.

Applies to: MediaWiki 1.22.x before 1.22.2, 1.21.x before 1.21.5 and 1.19.x before 1.19.11 with DjVu or PDF uploads enabled.

  1. Check the version on Special:Version of the wiki.
  2. Upgrade to a supported MediaWiki release (at least 1.22.2, 1.21.5 or 1.19.11 for those branches) and run maintenance/update.php.
  3. If the upgrade has to wait, disable DjVu and PDF handling by removing djvu and pdf from $wgFileExtensions and disabling the PdfHandler extension in LocalSettings.php.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse