Description
Buffer overflow in Automatic File Distributor (AFD) 1.2.14 and earlier allows local users to gain privileges via a long MON_WORK_DIR environment variable or -w (workdir) argument to (1) afd, (2) afdcmd, (3) afd_ctrl, (4) init_afd, (5) mafd, (6) mon_ctrl, (7) show_olog, or (8) udc.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- AFD 1.2.x - Working Directory Local Buffer Overflow / Local Privilege Escalation EDB-21771 · local · Sep 4, 2002 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- afd-multiple-binaries-bo(10036) vdb-entry
- 5626 vdb-entry
- http://www.dwd.de/AFD/txt/CHANGES
- 20020904 AFD 1.2.14 multiple local root compromises mailing-list