Description
The dataconn function in ftpd.c in netkit ftpd (netkit-ftpd) 0.17, when certain modifications to support SSL have been introduced, calls fclose on an uninitialized file stream, which allows remote attackers to cause a denial of service (daemon crash) and possibly have unspecified other impact via some types of FTP over SSL protocol behavior, as demonstrated by breaking a passive FTP DATA connection in a way that triggers an error in the server's SSL_accept function. NOTE: the netkit ftp issue is covered by CVE-2007-5769.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | linux-ftpd-ssl | 0.17.18+0.3-9.1 | — |
References
- 26763 vdb-entry
- 28697 third-party-advisory
- GLSA-200801-17 vendor-advisory
- 20071207 netkit-ftpd/ftp uninitialized vulnerability mailing-list
- http://bugs.gentoo.org/show_bug.cgi?id=199206
- 41191 vdb-entry