CVE-2011-5166

high
Published 2012-09-15 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.5

Description

Multiple stack-based buffer overflows in KnFTP 1.0.0 allow remote attackers to execute arbitrary code via a long string to the (1) USER, (2) PASS, (3) REIN, (4) QUIT, (5) PORT, (6) PASV, (7) TYPE, (8) STRU, (9) MODE, (10) RETR, (11) STOR, (12) APPE, (13) ALLO, (14) REST, (15) RNFR, (16) RNTO, (17) ABOR, (18) DELE, (19) CWD, (20) LIST, (21) NLST, (22) SITE, (23) STST, (24) HELP, (25) NOOP, (26) MKD, (27) RMD, (28) PWD, (29) CDUP, (30) STOU, (31) SNMT, (32) SYST, and (33) XPWD commands.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-17856 dos windows verified
loneferret ยท 2011-09-18

KnFTP 1.0.0 Server - Multiple Buffer Overflows (PoC) (SEH)

Source code queued for fetch โ€” refresh in a moment.
EDB-18089 remote windows
pasta ยท 2011-11-07

KnFTP 1.0 - Remote Buffer Overflow (DEP Bypass) (Metasploit)

Source code queued for fetch โ€” refresh in a moment.
EDB-17870 remote windows verified
mr.pr0n ยท 2011-09-19

KnFTP 1.0.0 Server - 'USER' Remote Buffer Overflow

Source code queued for fetch โ€” refresh in a moment.
EDB-17819 remote windows verified
blake ยท 2011-09-12

KnFTP Server - Remote Buffer Overflow

Source code queued for fetch โ€” refresh in a moment.

Application impact

VendorProductVersionsFixed
elif_keirknftp1.0.0

References

CWEs

CWE-119

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.