CVE-2008-6318 Code injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary PHP code via a URL parameter in PHPmyGallery, requiring immediate patching.

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-6318?

CVE-2008-6318 is a high-severity code injection vulnerability in n/a, published on 27 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 _conf/_php-core/common-tpl-vars.php in PHPmyGallery 1.5 beta allows remote attackers to execute arbitrary PHP code via a URL in the admindir parameter, a different vector than CVE-2008-6317.

Weakness: CWE-94

Which versions are affected by CVE-2008-6318?

It affects 1 product.

Products include Phpmygallery Phpmygallery.

How do I fix CVE-2008-6318?

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

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-p65r-6gpp-mr6j.

Is CVE-2008-6318 in your software?

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

Check your SBOMs for free