Open Source · · 5 days
wu-ftpd tarball shipped backdoor
Some copies of the wu-ftpd 2.1f and 2.2 source distributions at FTP sites were modified to include a password backdoor that could grant remote root access.
In April 1994, copies of the wuarchive ftpd source distribution were found to have been modified at trusted FTP distribution points. CERT's original advisory named versions 2.2 and 2.1f in its description, and warned that previous versions of the source may have been modified in a similar manner. The practical risk was severe for the era: administrators could compile what looked like normal upstream FTP daemon source and unknowingly install a root-level backdoor.
The delivery was the normal source-fetch and compile path for an FTP daemon. The attacker did not need to exploit a running wu-ftpd instance first, and did not need an account on the target: the back-door password was checked in the daemon's login path, before any authentication succeeded. The archive itself was the exploit vehicle, and the installed daemon carried the result.
CERT's advisory told sites running wuarchive ftpd to install version 2.3 or disable the FTP daemon. The original advisory published a checksum for 2.3, and its April 7 update published the exact authentication diff that identifies the known backdoor. A contemporary comp.unix.admin thread captured how quickly the incident became a reference point for open-source distribution trust: operators discussed the backdoored FTP daemon, compared it with earlier trusting-trust ideas, and treated trusted FTP distribution channels as the compromised boundary.
The risk was amplified by where wu-ftpd ran. FTP servers were public-facing infrastructure, often built locally by administrators and run with privileges that made a source-level backdoor immediately valuable. Once the archive was trusted, the attacker did not need a second delivery mechanism.
Appendix · Affected releases
- No hash of the trojaned distribution is recorded because none was published. The project's attic lists the 2.2 Trojan Horse on its WISHLIST, and the file served as wu-ftpd-2.2-trojan.tar.Z is a 1,951-byte copy of that wish list.
- A previously recorded md5:3e12b0efb95bcb97e5b58fb916323618 matched no known file and was removed rather than replaced with a clean release's digest.
- Clean-baseline digests measured from the attic, kept out of hashes so they are never read as indicators: 2.1f is md5:59232fc100eb9cf5d82d54e469790e50, 2.2 is md5:8d34c7a4dfb163180a6b82fd164373b7, 2.3 is md5:e58adc5ce0b6eae34f3f2389e9dc9197.
- The 2.3 value matches the MD5 CERT published on April 6, which establishes the mirror as authentic. CERT wrote only that trojaned versions "were found in a number of locations", so the wuarchive.wustl.edu path is the canonical coordinate.
References
- CERT Advisory CA-1994-07: wuarchive ftpd Trojan Horsesei.cmu.edu
- Original April 6 CERT advisory with wu-ftpd 2.3 checksumseclists.org
- WU-FTPD project attic mirrorftp.gwdg.de
- Contemporary Bugtraq authentication-block reportseclists.org
- comp.unix.admin: wuarchive ftpd Trojangroups.google.com
Source record: oss/attacks/wuftpd/meta.yaml