CVE-2008-6305 Code injection in n/a
Remote attackers can execute arbitrary PHP code via a URL parameter in Free Directory Script when register_globals is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2008-6305?
CVE-2008-6305 is a medium-severity code injection vulnerability in n/a, published on 26 Feb 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
PHP remote file inclusion vulnerability in init.php in Free Directory Script 1.1.1, when register_globals is enabled, allows remote attackers to execute arbitrary PHP code via a URL in the API_HOME_DIR parameter.
Weakness: CWE-94
Which versions are affected by CVE-2008-6305?
It affects 1 product.
Products include Freedirectoryscript Free Directory Script.
How do I fix CVE-2008-6305?
No fix has been published for CVE-2008-6305 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2008-6305 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-6305 exists.
Public exploit code: 1 Exploit-DB entry.
Sources
Also known as GHSA-w2gc-mpjh-j7q4.