CVE-2002-1412 Code injection in n/a

High 7.5 Published Updated

Attackers can execute arbitrary code by manipulating the GALLERY_BASEDIR variable to load a malicious script.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2002-1412?

CVE-2002-1412 is a high-severity code injection vulnerability in n/a, published on 1 Sep 2004. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Gallery photo album package before 1.3.1 allows local and possibly remote attackers to execute arbitrary code via a modified GALLERY_BASEDIR variable that points to a directory or URL that contains a Trojan horse init.php script.

Which versions are affected by CVE-2002-1412?

It affects 1 product.

Products include Gallery Project Gallery.

How do I fix CVE-2002-1412?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2002-1412 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DSA-138, GHSA-9gvv-93c9-r576.

Is CVE-2002-1412 in your software?

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

Check your SBOMs for free