CVE-2008-4702 Path traversal in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary local files via directory traversal in PhpWebGallery parameters, leading to code execution.

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

CVE-2008-4702 is a high-severity path traversal vulnerability in n/a, published on 22 Oct 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Multiple directory traversal vulnerabilities in PhpWebGallery 1.3.4 allow remote attackers to include and execute arbitrary local files via a .. (dot dot) in the (1) user[language] and (2) user[template] parameters to (a) init.inc.php, and (b) the user[language] parameter to isadmin.inc.php.

Weakness: CWE-22

Which versions are affected by CVE-2008-4702?

It affects 1 product.

Products include Phpwebgallery Phpwebgallery.

How do I fix CVE-2008-4702?

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

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-4v5c-45r2-2934.

Is CVE-2008-4702 in your software?

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

Check your SBOMs for free