CVE-2005-1998 Path traversal in n/a

Medium 5.0 Published Updated

Remote attackers can read arbitrary files via directory traversal in the lang parameter of admin.php in McGallery.

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-2005-1998?

CVE-2005-1998 is a medium-severity path traversal vulnerability in n/a, published on 20 Jun 2005. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in admin.php in McGallery 1.1 allows remote attackers to read arbitrary files via a .. (dot dot) in the lang parameter.

Which versions are affected by CVE-2005-1998?

It affects 1 product.

Products include Mcgallery Mcgallery.

How do I fix CVE-2005-1998?

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

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-8p69-hfjg-c7fw.

Is CVE-2005-1998 in your software?

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

Check your SBOMs for free