{"id":"CVE-2010-4652","aliases":["DEBIAN-CVE-2010-4652","DSA-2191-1","EUVD-2010-4617","GHSA-m7wr-xc9c-g7x3"],"status":"published","title":"Heap-based buffer overflow in the sql_prepare_where function (contrib/mod_sql.c) in ProFTPD...","description":"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, 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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.11244,"percentile":0.95994,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2011-02-02T00:00:00Z","modified":"2026-10-23T17:47:25Z","fixes":[{"ecosystem":"Debian:12","package":"proftpd-dfsg","fixed_in":["1.3.3a-6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"proftpd-dfsg","fixed_in":["1.3.3a-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"proftpd-dfsg","fixed_in":["1.3.3a-6"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"proftpd-dfsg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.3a-6"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"proftpd-dfsg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.3a-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"proftpd-dfsg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.3a-6"}]}]},{"source":"osv","ecosystem":"Debian:5.0","package":"proftpd-dfsg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-17lenny6"}]}],"versions":["1.3.1-16","1.3.1-17","1.3.1-17lenny1","1.3.1-17lenny2","1.3.1-17lenny2~bpo40+1","1.3.1-17lenny3","1.3.1-17lenny4","1.3.1-17lenny4~bpo40+1"],"bundled":3}],"products":[{"vendor":"proftpd","product":"proftpd"}],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053540.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053537.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.debian.org/security/2011/dsa-2191","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://proftpd.org/docs/RELEASE_NOTES-1.3.3d","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2011/0248","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:023","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://bugs.proftpd.org/show_bug.cgi?id=3536","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","evidence","fix"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=670170","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","evidence","fix"]},{"url":"http://www.securityfocus.com/bid/44933","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2011/0331","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://phrack.org/issues.html?issue=67\u0026id=7#article","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2010-4652"},{"url":"https://github.com/advisories/GHSA-m7wr-xc9c-g7x3"},{"url":"https://security-tracker.debian.org/tracker/CVE-2010-4652","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2010-4652","description":"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, 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.","status":"published","published":"2011-02-02T00:00:00Z","modified":"2024-08-07T03:51:17.964Z","updated_at":"2026-11-02T14:33:28.50039Z"}],"euvd":[{"id":"EUVD-2010-4617","description":"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, 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.","status":"published","published":"2011-02-02T00:00:00Z","modified":"2024-08-07T03:51:17Z","updated_at":"2026-11-03T01:39:29.508356Z"}],"ghsa":[{"id":"GHSA-m7wr-xc9c-g7x3","title":"Heap-based buffer overflow in the sql_prepare_where function (contrib/mod_sql.c) in ProFTPD...","description":"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, 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.","status":"published","published":"2022-05-17T05:42:52Z","modified":"2023-01-28T05:04:17Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:44:08.629318Z"}],"nvd":[{"id":"CVE-2010-4652","description":"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, 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.","status":"published","published":"2011-02-02T01:00:04.533Z","modified":"2026-06-16T23:25:15.087Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:02:03.297831Z"}],"osv":[{"id":"CVE-2010-4652","description":"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, 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.","status":"published","published":"2011-02-02T01:00:04Z","modified":"2026-04-10T03:41:30.916722Z","updated_at":"2026-11-02T15:43:57.991581Z"},{"id":"DEBIAN-CVE-2010-4652","description":"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, 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.","status":"published","published":"2011-02-02T01:00:04.533Z","modified":"2026-10-23T17:47:25.41698501Z","updated_at":"2026-11-02T15:45:24.316685Z"},{"id":"DSA-2191-1","title":"proftpd-dfsg - several","status":"published","published":"2011-03-14T00:00:00Z","modified":"2026-03-09T01:21:23.527557Z","updated_at":"2026-11-02T15:46:15.108335Z"}]}}
