CVE-2008-7262 Directory traversal in pyftpdlib

Medium 6.5 Published Updated

Authenticated attackers can traverse directories to read or modify arbitrary files via symlink manipulation in FTP commands.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2008-7262?

CVE-2008-7262 is a medium-severity path traversal vulnerability in n/a, published on 19 Oct 2010. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Multiple directory traversal vulnerabilities in FTPServer.py in pyftpdlib before 0.3.0 allow remote authenticated users to access arbitrary files and directories via vectors involving a symlink in a pathname to a (1) CWD, (2) DELE, (3) STOR, or (4) RETR command.

Weakness: CWE-22

Which versions are affected by CVE-2008-7262?

3 open source packages ship an affected version, including pyftpdlib. It affects 1 product.

PackageAffectedFixed in
pyftpdlib PyPIAll versions0.3.0
pyftpdlib PyPIAll versions0.3.0
pyftpdlib PyPIAll versions0.3.0

Products include G.rodola Pyftpdlib.

How do I fix CVE-2008-7262?

Upgrade pyftpdlib to 0.3.0 or later.

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

Is CVE-2008-7262 being exploited?

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

Sources

Also known as GHSA-jw88-wxv5-7c4f, PYSEC-2010-4.

Is CVE-2008-7262 in your software?

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

Check your SBOMs for free