CVE-2007-6736 Directory Traversal in pyftpdlib

Medium 6.5 Published Updated

Authenticated attackers can traverse directories to read or write arbitrary files via crafted FTP commands in pyftpdlib.

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-2007-6736?

CVE-2007-6736 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.2.0 allow remote authenticated users to access arbitrary files and directories via a .. (dot dot) in a (1) LIST, (2) STOR, or (3) RETR command.

Weakness: CWE-22

Which versions are affected by CVE-2007-6736?

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

PackageAffectedFixed in
pyftpdlib PyPIAll versions0.2.0
pyftpdlib PyPIAll versions0.2.0
pyftpdlib PyPIAll versions0.2.0

Products include G.rodola Pyftpdlib.

How do I fix CVE-2007-6736?

Upgrade pyftpdlib to 0.2.0 or later.

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

Is CVE-2007-6736 being exploited?

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

Sources

Also known as GHSA-f8wg-36r9-7f4q, PYSEC-2010-20.

Is CVE-2007-6736 in your software?

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

Check your SBOMs for free