CVE-2011-5166 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code on KnFTP servers by sending long strings to various FTP commands, requiring no authentication.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2011-5166?

CVE-2011-5166 is a high-severity memory corruption vulnerability in n/a, published on 15 Sep 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2011-5166?

It affects 1 product.

Products include Elif Keir Knftp.

How do I fix CVE-2011-5166?

No fix has been published for CVE-2011-5166 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2011-5166 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2011-5166 exists.

Public exploit code: 4 Exploit-DB entries.

Sources

Also known as GHSA-gc7w-7m76-2gc2.

Is CVE-2011-5166 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free