CVE-2009-0331 Path traversal in n/a
Remote attackers can read arbitrary files via directory traversal in the comment script of Enhanced Simple PHP Gallery.
- 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-0331?
CVE-2009-0331 is a high-severity path traversal vulnerability in n/a, published on 29 Jan 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Directory traversal vulnerability in gallery/comment.php in Enhanced Simple PHP Gallery (ESPG) 1.72 allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter. NOTE: the vulnerability may be in my little homepage Comment script. If so, then this should not be treated as a vulnerability in ESPG.
Weakness: CWE-22
Which versions are affected by CVE-2009-0331?
It affects 1 product.
Products include Quirm Espg.
How do I fix CVE-2009-0331?
No fix has been published for CVE-2009-0331 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-2009-0331 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-0331 exists.
Public exploit code: 1 Exploit-DB entry.
Sources
Also known as GHSA-r8p2-rgr4-pvv5.