CVE-2008-0506 Command injection in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary commands via shell metacharacters in picEditor.php parameters when ImageMagick is configured.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2008-0506?

CVE-2008-0506 is a medium-severity command injection vulnerability in n/a, published on 31 Jan 2008. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

include/imageObjectIM.class.php in Coppermine Photo Gallery (CPG) before 1.4.15, when the ImageMagick picture processing method is configured, allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) quality, (2) angle, or (3) clipval parameter to picEditor.php.

Weakness: CWE-20

Which versions are affected by CVE-2008-0506?

It affects 1 product.

Products include Coppermine Coppermine Photo Gallery.

How do I fix CVE-2008-0506?

No fix has been published for CVE-2008-0506 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2008-0506 being exploited?

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

Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.

Sources

Also known as GHSA-8234-r487-52gh.

Is CVE-2008-0506 in your software?

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

Check your SBOMs for free