ProFTPD
ProFTPD mod_sftp Heap Buffer Overflow via SFTP Packet Reassembly
ProFTPD before 1.3.9c and 1.3.10rc3 contains a heap-based buffer overflow vulnerability in the mod_sftp module that allows authenticated low-privilege attackers to achieve arbitrary code execution by sending crafted SFTP packet fragments exceeding the 16 KB reassembly buffer in the fxp.c component. Attackers can supply oversized fragments to trigger an incorrectly conditioned reallocation, corrupt pool freelist metadata, overwrite the root_fs BSS global pointer to reference a fake filesystem struct, and redirect pr_fsio_stat() to system() via a crafted RENAME request.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.3.9c
- >= 1.3.10rc1, < 1.3.10rc3
Fixed in 1.3.9c, 1.3.10rc3
Mitigation
Upgrade proftpd to 1.3.9c or 1.3.10rc3 or later.
References
- Release notes github.com/proftpd/proftpd/blob/master/RELEASE…
- Patch github.com/proftpd/proftpd/releases/tag/v1.3.1…
- Patch github.com/proftpd/proftpd/releases/tag/v1.3.9…
1 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.