Bug 752812 (CVE-2011-4130, ZDI-CAN-1420)

Summary: CVE-2011-4130 proftpd: Response pool use-after-free flaw (ZDI-CAN-1420)
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: matthias, paul, vdanen
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-25 08:37:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 752816, 752817    
Bug Blocks:    

Description Jan Lieskovsky 2011-11-10 13:52:34 UTC
A use-after-free flaw was found in the way ProFTPD, an enhanced FTP server, performed retrieval of the response pool for the old command (when ProFTPD was in the midst of the data transfer, when new command arrived) used by the Response API. A remote attacker could provide a specially-crafted request (resulting in a need the server to handle an exceptional condition), leading to memory corruption and potentially arbitrary code execution, with the privileges of the user running the proftpd server.

Upstream bug report:
[1] http://bugs.proftpd.org/show_bug.cgi?id=3711

Relevant upstream patch:
[2] http://bugs.proftpd.org/show_bug.cgi?id=3711#c1

References:
[3] https://secunia.com/advisories/46811/
[4] https://bugs.gentoo.org/show_bug.cgi?id=390075
[5] http://www.zerodayinitiative.com/advisories/upcoming/

Comment 1 Jan Lieskovsky 2011-11-10 14:00:32 UTC
CVE request:
[6] http://www.openwall.com/lists/oss-security/2011/11/10/3

Comment 2 Jan Lieskovsky 2011-11-10 14:01:40 UTC
This issue affects the versions of the proftpd package, as shipped with Fedora release of 14, 15, and 16. Please schedule an update.

--

This issue affects the versions of the proftpd package, as shipped with Fedora EPEL 4, 5, and 6 releases. Please schedule an update.

Comment 3 Jan Lieskovsky 2011-11-10 14:02:54 UTC
Created proftpd tracking bugs for this issue

Affects: fedora-all [bug 752816]
Affects: epel-all [bug 752817]

Comment 4 Vincent Danen 2011-11-10 16:59:10 UTC
This was given the name CVE-2011-4130:

http://www.openwall.com/lists/oss-security/2011/11/10/4

Comment 5 Fedora Update System 2011-11-19 05:59:25 UTC
proftpd-1.3.3g-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2011-11-19 05:59:45 UTC
proftpd-1.3.4-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2011-11-19 06:08:35 UTC
proftpd-1.3.4-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-11-25 02:05:12 UTC
proftpd-1.3.3g-1.el4 has been pushed to the Fedora EPEL 4 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2011-11-25 02:07:13 UTC
proftpd-1.3.3g-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2011-11-25 02:11:04 UTC
proftpd-1.3.3g-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Paul Howarth 2011-11-25 08:05:12 UTC
This is now fixed in all supported Fedora and EPEL releases, so presumably this bug can now be closed?

Comment 12 Tomas Hoger 2011-11-25 08:37:31 UTC
Correct, thank you!