Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA23236

DenyHosts Denial of Service and Weakness
Secunia Advisory SA23236
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2006-12-06
Last Update 2007-11-01
   
Popularity 9,038 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Security Bypass
DoS
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Unpatched
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
Remediation status Secunia VIM
   
Software:
DenyHosts 2.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2006-6301 CVSS available in Customer Area
CVE-2007-4323 CVSS available in Customer Area
CVE-2007-5715 CVSS available in Customer Area
  

Description

Tavis Ormandy and Jonathan Underwood have discovered a vulnerability and a weakness in DenyHosts, which can be exploited by malicious people to bypass certain security restrictions or cause a DoS (Denial of Service).

1) An error exists in the parsing of log files before adding an entry in /etc/hosts.deny. This can be exploited to add arbitrary IP addresses to /etc/hosts.deny resulting in a DoS for that IP.

The vulnerability is confirmed in version 2.5 and 2.6. Other versions may also be affected.

2) A weakness exists in the parsing log files containing login attempts blocked by the "AllowUsers" OpenSSH directive. This can be exploited to bypass the logging capability of DenyHosts by trying to login using a user not specifically permited by "AllowUsers".

The weakness is confirmed in version 2.6. Other versions may also be affected.


Solution
Edit the regular expressions to ensure that log files are parsed properly.
Further details available in Customer Area

Provided and/or discovered by
1) Tavis Ormandy
2) Jonathan Underwood

Changelog
Further details available in Customer Area

Original Advisory
1) http://bugs.gentoo.org/show_bug.cgi?id=157163
http://www.ossec.net/en/attacking-loganalysis.html
2) https://bugzilla.redhat.com/show_bug.cgi?id=237449

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: DenyHosts Denial of Service and Weakness
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability