CVE-2009-2218 Code injection in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary PHP code via URL parameters in phpCollegeExchange 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-2009-2218?

CVE-2009-2218 is a medium-severity code injection vulnerability in n/a, published on 25 Jun 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Multiple PHP remote file inclusion vulnerabilities in phpCollegeExchange 0.1.5c, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the home parameter to (1) i_head.php, (2) i_nav.php, (3) user_new_2.php, or (4) house/myrents.php; or (5) allbooks.php, (6) home.php, or (7) mybooks.php in books/. NOTE: house/myrents.php was also separately reported as a local file inclusion issue.

Weakness: CWE-94

Which versions are affected by CVE-2009-2218?

It affects 1 product.

Products include David Degner Phpcollegeexchange.

How do I fix CVE-2009-2218?

No fix has been published for CVE-2009-2218 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-2009-2218 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-rrxp-x5qm-57vj.

Is CVE-2009-2218 in your software?

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

Check your SBOMs for free