Heap-based buffer overflow in ProFTPD - CVE-2010-4652

 

Heap-based buffer overflow in ProFTPD - CVE-2010-4652

Published: February 2, 2011 / Updated: September 14, 2020


Vulnerability identifier: #VU45393
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2010-4652
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ProFTPD
Affected software:
ProFTPD

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Heap-based buffer overflow in the sql_prepare_where function (contrib/mod_sql.c) in ProFTPD before 1.3.3d, when mod_sql is enabled,. A remote attacker can use a crafted username containing substitution tags to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2010-4652

Install update from vendor's website.

Sources