CVE-2007-4976 Path traversal in n/a

Medium 6.5 Published Updated

Authenticated administrators can execute arbitrary local files via path traversal in the log parameter of viewlog.php.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2007-4976?

CVE-2007-4976 is a medium-severity path traversal vulnerability in n/a, published on 19 Sep 2007. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Directory traversal vulnerability in viewlog.php in Coppermine Photo Gallery (CPG) 1.4.12 and earlier allows remote authenticated administrators to include and execute arbitrary local files via a .. (dot dot) in the log parameter.

Weakness: CWE-22

Which versions are affected by CVE-2007-4976?

It affects 1 product.

Products include Coppermine Coppermine Photo Gallery.

How do I fix CVE-2007-4976?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2007-4976 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-vx7f-xx2w-qxj7.

Is CVE-2007-4976 in your software?

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

Check your SBOMs for free