CVE-2002-1412 Code injection in n/a
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.
Other vulnerabilities in n/a
- CVE-2012-4919 File upload in Gallery
- CVE-2002-2130 Code injection in n/a
- CVE-2002-2123 PHP remote file inclusion vulnerability in publish_xp_docs.php for Gallery 1.3.2 allows remote attackers to inject arbitrary PHP code by spe
- CVE-2003-1227 PHP remote file include vulnerability in index.php for Gallery 1.4 and 1.4-pl1, when running on Windows or in Configuration mode on Unix, al
- CVE-2004-1466 File upload in n/a
Sources
Also known as DSA-138, GHSA-9gvv-93c9-r576.