CVE-2004-1405 File upload in n/a

High 7.5 Published Updated

Remote attackers can upload and execute arbitrary code via double extensions in MediaWiki when Apache mod_mime is enabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2004-1405?

CVE-2004-1405 is a high-severity vulnerability in Mediawiki Mediawiki, published on 12 Feb 2005. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

MediaWiki 1.3.8 and earlier, when used with Apache mod_mime, does not properly handle files with two file extensions, such as .php.rar, which allows remote attackers to upload and execute arbitrary code.

Which versions are affected by CVE-2004-1405?

It affects 1 product.

Products include Mediawiki Mediawiki.

How do I fix CVE-2004-1405?

Upgrade to a fixed version.

Is CVE-2004-1405 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-1405 exists.

Public exploit code: 1 Exploit-DB entry.

All Mediawiki Mediawiki vulnerabilities

Sources

Also known as DEBIAN-CVE-2004-1405, GHSA-5vh9-m4v7-wxrg.

Is CVE-2004-1405 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free