ftpd, as used by Gentoo and Debian Linux, sets the gid to the effective uid instead of the effective group id before executing /bin/ls, which allows remote authenticated users to list arbitrary directories with the privileges of gid 0 and possibly enable additional attack vectors.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Linux | Gentoo | * | * |
Linux-ftpd | Ubuntu | dapper | * |
Linux-ftpd | Ubuntu | edgy | * |
Linux-ftpd | Ubuntu | feisty | * |