DenyHosts 2.5 does not properly parse sshd log files, which allows remote attackers to add arbitrary hosts to the /etc/hosts.deny file and cause a denial of service by adding arbitrary IP addresses to the sshd log file, as demonstrated by logging in via ssh with a login name containing certain strings with an IP address, which is not properly handled by a regular expression.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Denyhosts | Denyhosts | 2.5 (including) | 2.5 (including) |
Denyhosts | Ubuntu | devel | * |
Denyhosts | Ubuntu | edgy | * |
Denyhosts | Ubuntu | feisty | * |
Denyhosts | Ubuntu | gutsy | * |
Denyhosts | Ubuntu | upstream | * |