製品・ソフトウェアに関する情報
DenyHosts におけるサービス運用妨害 (DoS) の脆弱性
Title DenyHosts におけるサービス運用妨害 (DoS) の脆弱性
Summary

DenyHosts は、sshd ログファイルを適切に解析しないため、/etc/hosts.deny ファイルに任意のホストを追加される、およびサービス運用妨害 (DoS) 状態となる脆弱性が存在します。

Possible impacts 第三者により、sshd ログファイルに任意の IP アドレスを追加されることで、/etc/hosts.deny ファイルに任意のホストを追加される、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

ベンダ情報および参考情報を参照して適切な対策を実施してください。

Publication Date Dec. 6, 2006, midnight
Registration Date June 26, 2012, 3:38 p.m.
Last Update June 26, 2012, 3:38 p.m.
CVSS2.0 : 警告
Score 5
Vector AV:N/AC:L/Au:N/C:N/I:N/A:P
Affected System
Phil Schwartz
DenyHosts 2.5
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年06月26日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2006-6301
Summary

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.

Summary

DenyHosts 2.5 no realiza un análisis sintáctico adecuado de los ficheros de log de sshd, lo cual permite a atacantes remotos añadir hosts de su elección al fichero /etc/hosts.deny y provocar una denegación de servicio añadiendo direcciones IP de su elección al fichero de log de sshd; como se ha demostrado accediendo por ssh utilizando un nombre de acceso que contiene ciertas cadenas con una dirección IP, lo cual no es tratado adecuadamente por una expresión regular.

Publication Date Dec. 7, 2006, 4:28 a.m.
Registration Date Jan. 29, 2021, 3:51 p.m.
Last Update April 23, 2026, 9:35 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:denyhosts:denyhosts:2.5:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List