Advisory

GHSA-h4g7-8m7r-87r9

Also known as: CVE-2009-5012, PYSEC-2010-9

Summary

Improper Access Control in pyftpdlib

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-02 04:00 UTC
Modified
2024-10-14 18:49 UTC

Affected packages and fixes

pyftpdlib

PyPI · All systems

Affected

  • introduced 0, fixed 0.5.2 (ecosystem)

Fixed versions

0.5.2

Fix

  • Fixed version 0.5.2
    pip install --upgrade pyftpdlib==0.5.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences