CVE-2012-5653 File upload in n/a

Medium 6.0 Published Updated

Authenticated users can execute arbitrary PHP code by bypassing file upload protections using a null byte in the filename.

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-2012-5653?

CVE-2012-5653 is a medium-severity vulnerability in Debian Debian Linux, published on 3 Jan 2013. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The file upload feature in Drupal 6.x before 6.27 and 7.x before 7.18 allows remote authenticated users to bypass the protection mechanism and execute arbitrary PHP code via a null byte in a file name.

Weakness: CWE-20

Which versions are affected by CVE-2012-5653?

It affects 2 products.

Products include Debian Debian Linux, Drupal Drupal.

How do I fix CVE-2012-5653?

Upgrade to a fixed version.

Is CVE-2012-5653 being exploited?

There is no known exploitation of CVE-2012-5653 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-cv5g-6h34-8w32.

Is CVE-2012-5653 in your software?

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

Check your SBOMs for free