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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053540.html | vendor advisory |
http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053537.html | vendor advisory |
http://www.debian.org/security/2011/dsa-2191 | vendor advisory |
http://proftpd.org/docs/RELEASE_NOTES-1.3.3d | |
http://www.vupen.com/english/advisories/2011/0248 | vdb entry vendor advisory |
http://www.mandriva.com/security/advisories?name=MDVSA-2011:023 | vendor advisory |
http://bugs.proftpd.org/show_bug.cgi?id=3536 | patch exploit |
https://bugzilla.redhat.com/show_bug.cgi?id=670170 | patch exploit |
http://www.securityfocus.com/bid/44933 | vdb entry |
http://www.vupen.com/english/advisories/2011/0331 | vdb entry |
http://phrack.org/issues.html?issue=67&id=7#article |