CVE-2006-6301
Denyhosts vulnerability
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.
Affected products
Denyhosts. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Denyhosts runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/23236 · Vendor Advisory
- secunia.com/advisories/23603 · Vendor Advisory
- bugs.gentoo.org/show_bug.cgi?id=157163 · Exploit
- security.gentoo.org/glsa/glsa-200701-01.xml
- www.securityfocus.com/bid/21468
- www.vupen.com/english/advisories/2006/4876
- exchange.xforce.ibmcloud.com/vulnerabilities/30761
- nvd.nist.gov/vuln/detail/CVE-2006-6301
- cve.org/CVERecord?id=CVE-2006-6301
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.