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.
Metrics
CVSS 2.0 6.8/10
AV:N/AC:M/Au:N/C:P/I:P/A:PWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://bugs.proftpd.org/show_bug.cgi?id=3536Exploit, Patch
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053537.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053540.html
- http://phrack.org/issues.html?issue=67&id=7#article
- http://proftpd.org/docs/RELEASE_NOTES-1.3.3d
- http://www.debian.org/security/2011/dsa-2191
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:023
- http://www.securityfocus.com/bid/44933
- http://www.vupen.com/english/advisories/2011/0248Vendor Advisory
- http://www.vupen.com/english/advisories/2011/0331
- https://bugzilla.redhat.com/show_bug.cgi?id=670170Exploit, Patch
- http://bugs.proftpd.org/show_bug.cgi?id=3536Exploit, Patch
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053537.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053540.html
- http://phrack.org/issues.html?issue=67&id=7#article
- http://proftpd.org/docs/RELEASE_NOTES-1.3.3d
- http://www.debian.org/security/2011/dsa-2191
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:023
- http://www.securityfocus.com/bid/44933
- http://www.vupen.com/english/advisories/2011/0248Vendor Advisory
- http://www.vupen.com/english/advisories/2011/0331
- https://bugzilla.redhat.com/show_bug.cgi?id=670170Exploit, Patch
Timeline
- Published
- Feb 2, 2011
- Last modified
- Jun 16, 2026
- NVD status
- Modified