CVE-2007-6736 Directory Traversal in pyftpdlib
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.
| Package | Affected | Fixed in |
|---|---|---|
pyftpdlib PyPI | All versions | 0.2.0 |
pyftpdlib PyPI | All versions | 0.2.0 |
pyftpdlib PyPI | All versions | 0.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.
Other vulnerabilities in n/a
Sources
Also known as GHSA-f8wg-36r9-7f4q, PYSEC-2010-20.