CVE-2009-5012: Improper Access Control in pyftpdlib

CVE-2009-5012 · Severity: medium · CVSS 4 · Published 2010-10-19

ftpserver.py in pyftpdlib before 0.5.2 does not require the l permission for the MLST command, which allows remote authenticated users to bypass intended access restrictions and list the root directory via an FTP session.

Technologies: pyftpdlib (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2009-5012 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2009-5012 being exploited in the wild.
How severe is CVE-2009-5012?
Medium severity, with a CVSS score of 4, published 19 October 2010.
Which products and versions are affected?
pyftpdlib (PyPI) ECOSYSTEM:introduced=0,fixed=0.5.2.
Is there a fix for CVE-2009-5012?
Yes. pyftpdlib (PyPI): upgrade to 0.5.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2009-5012?
Check whether you run pyftpdlib (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • pyftpdlib (PyPI): upgrade to 0.5.2 or later
    pip install "pyftpdlib>=0.5.2"

Affected products

  • pyftpdlib (PyPI) ECOSYSTEM:introduced=0,fixed=0.5.2

Identifiers

  • CVE-2009-5012
  • GHSA-h4g7-8m7r-87r9
  • PYSEC-2010-9

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.