FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

proftpd -- remote code execution vulnerability

Affected packages
proftpd < 1.3.3c

Details

VuXML ID 533d20e7-f71f-11df-9ae1-000bcdf0a03b
Discovery 2010-11-02
Entry 2010-11-23

Tippingpoint reports:

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of ProFTPD. Authentication is not required to exploit this vulnerability.

The flaw exists within the proftpd server component which listens by default on TCP port 21. When reading user input if a TELNET_IAC escape sequence is encountered the process miscalculates a buffer length counter value allowing a user controlled copy of data to a stack buffer. A remote attacker can exploit this vulnerability to execute arbitrary code under the context of the proftpd process.

References

Bugtraq ID 44562
CVE Name CVE-2010-4221
URL http://www.zerodayinitiative.com/advisories/ZDI-10-229/