CVE-2010-2253 Path traversal in n/a

Medium 6.8 Published Updated

Remote servers can overwrite dotfiles via crafted filenames in redirects or headers, potentially leading to arbitrary code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2010-2253?

CVE-2010-2253 is a medium-severity path traversal vulnerability in n/a, published on 6 Jul 2010. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

lwp-download in libwww-perl before 5.835 does not reject downloads to filenames that begin with a . (dot) character, which allows remote servers to create or overwrite files via (1) a 3xx redirect to a URL with a crafted filename or (2) a Content-Disposition header that suggests a crafted filename, and possibly execute arbitrary code as a consequence of writing to a dotfile in a home directory.

Weakness: CWE-20

Which versions are affected by CVE-2010-2253?

It affects 2 products.

Products include Gisle Aas Libwww-Perl, Search.cpan Libwww-Perl.

How do I fix CVE-2010-2253?

Upgrade to a fixed version.

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

Is CVE-2010-2253 being exploited?

There is no known exploitation of CVE-2010-2253 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2010-2253, GHSA-mcrm-9w8r-c6w8.

Is CVE-2010-2253 in your software?

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

Check your SBOMs for free