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.
Remediation
References
Related Vulnerabilities
PrestaShop Unrestricted Upload of File with Dangerous Type Vulnerability (CVE-2018-19355)
WordPress Plugin Validated Cross-Site Scripting (1.0.2)
WordPress Plugin WP Job Manager Cross-Site Scripting (1.26.1)
Jenkins Other Vulnerability (CVE-2020-2100)
Liferay Portal Cross-Site Request Forgery (CSRF) Vulnerability (CVE-2024-8980)