CVE-2010-4652: Buffer Overflow

Published Jan 17, 2011
·
Updated

A heap-based buffer overflow flaw was found in the way ProFTPD FTP server prepared SQL queries for certain usernames, when the modsql module was enabled. A remote, unauthenticated attacker could use this flaw to cause proftpd daemon to crash or, potentially, to execute arbitrary code with the privileges of the user running 'proftpd' via a specially-crafted username, provided in the authentication dialog.

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

References: [2] http://www.securityfocus.com/bid/44933 [3] http://phrack.org/issues.html?issue=67&id=7#article [4] http://bugs.gentoo.org/showbug.cgi?id=348998 [5] http://proftpd.org/docs/RELEASENOTES-1.3.3d (ProFTPD v1.3.3d release notes)

CVE identifier: [6] http://www.openwall.com/lists/oss-security/2011/01/14/6

Other sources

Heap-based buffer overflow in the sqlpreparewhere function (contrib/modsql.c) in ProFTPD before 1.3.3d, when modsql is enabled, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted username containing substitution tags, which are not properly handled during construction of an SQL query.

Affected Software

64 affected components
ProFTPD ProFTPD<=1.3.3
ProFTPD ProFTPD=1.2.0
ProFTPD ProFTPD=1.2.0-pre10
ProFTPD ProFTPD=1.2.0-pre9
ProFTPD ProFTPD=1.2.0-rc1
ProFTPD ProFTPD=1.2.0-rc2
ProFTPD ProFTPD=1.2.0-rc3
ProFTPD ProFTPD=1.2.1
ProFTPD ProFTPD=1.2.2
ProFTPD ProFTPD=1.2.2-rc1
ProFTPD ProFTPD=1.2.2-rc2
ProFTPD ProFTPD=1.2.2-rc3
ProFTPD ProFTPD=1.2.3
ProFTPD ProFTPD=1.2.4
ProFTPD ProFTPD=1.2.5
ProFTPD ProFTPD=1.2.5-rc1
ProFTPD ProFTPD=1.2.5-rc2
ProFTPD ProFTPD=1.2.5-rc3
ProFTPD ProFTPD=1.2.6
ProFTPD ProFTPD=1.2.6-rc1
ProFTPD ProFTPD=1.2.6-rc2
ProFTPD ProFTPD=1.2.7
ProFTPD ProFTPD=1.2.7-rc1
ProFTPD ProFTPD=1.2.7-rc2
ProFTPD ProFTPD=1.2.7-rc3
ProFTPD ProFTPD=1.2.8
ProFTPD ProFTPD=1.2.8-rc1
ProFTPD ProFTPD=1.2.8-rc2
ProFTPD ProFTPD=1.2.9
ProFTPD ProFTPD=1.2.9-rc1
ProFTPD ProFTPD=1.2.9-rc2
ProFTPD ProFTPD=1.2.9-rc3
ProFTPD ProFTPD=1.2.10
ProFTPD ProFTPD=1.2.10-rc1
ProFTPD ProFTPD=1.2.10-rc2
ProFTPD ProFTPD=1.2.10-rc3
ProFTPD ProFTPD=1.3.0
ProFTPD ProFTPD=1.3.0-a
ProFTPD ProFTPD=1.3.0-rc1
ProFTPD ProFTPD=1.3.0-rc2
ProFTPD ProFTPD=1.3.0-rc3
ProFTPD ProFTPD=1.3.0-rc4
ProFTPD ProFTPD=1.3.0-rc5
ProFTPD ProFTPD=1.3.1
ProFTPD ProFTPD=1.3.1-rc1
ProFTPD ProFTPD=1.3.1-rc2
ProFTPD ProFTPD=1.3.1-rc3
ProFTPD ProFTPD=1.3.2
ProFTPD ProFTPD=1.3.2-a
ProFTPD ProFTPD=1.3.2-b
ProFTPD ProFTPD=1.3.2-c
ProFTPD ProFTPD=1.3.2-d
ProFTPD ProFTPD=1.3.2-e
ProFTPD ProFTPD=1.3.2-rc1
ProFTPD ProFTPD=1.3.2-rc2
ProFTPD ProFTPD=1.3.2-rc3
ProFTPD ProFTPD=1.3.2-rc4
ProFTPD ProFTPD=1.3.3
ProFTPD ProFTPD=1.3.3-a
ProFTPD ProFTPD=1.3.3-b
ProFTPD ProFTPD=1.3.3-rc1
ProFTPD ProFTPD=1.3.3-rc2
ProFTPD ProFTPD=1.3.3-rc3
ProFTPD ProFTPD=1.3.3-rc4

Event History

Jan 17, 2011
Data Sourced
via Red Hat·12:37 PM
DescriptionSeverityAffected Software
Feb 2, 2011
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2010-4652?

CVE-2010-4652 is classified as a high severity vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2010-4652?

To fix CVE-2010-4652, update ProFTPD to version 1.3.4 or later, which contains the necessary security patches.

3

What versions of ProFTPD are affected by CVE-2010-4652?

CVE-2010-4652 affects ProFTPD versions up to 1.3.3 and several earlier versions including 1.2.0 through 1.2.10.

4

Can CVE-2010-4652 be exploited remotely?

Yes, CVE-2010-4652 can be exploited remotely by an unauthenticated attacker without any prior access.

5

What type of vulnerability is CVE-2010-4652?

CVE-2010-4652 is a heap-based buffer overflow vulnerability involving SQL query handling in ProFTPD's mod_sql module.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203