Fail2ban Remote Denial of Service Vulnerability

BID:25117

Info

Fail2ban Remote Denial of Service Vulnerability

Bugtraq ID: 25117
Class: Design Error
CVE: CVE-2007-4321
Remote: Yes
Local: No
Published: Jul 28 2007 12:00AM
Updated: Jan 09 2008 11:29PM
Credit: Daniel B. Cid discovered this vulnerability.
Vulnerable: Gentoo Linux
Debian Linux 4.0 sparc
Debian Linux 4.0 s/390
Debian Linux 4.0 powerpc
Debian Linux 4.0 mipsel
Debian Linux 4.0 mips
Debian Linux 4.0 m68k
Debian Linux 4.0 ia-64
Debian Linux 4.0 ia-32
Debian Linux 4.0 hppa
Debian Linux 4.0 arm
Debian Linux 4.0 amd64
Debian Linux 4.0 alpha
Debian Linux 4.0
Cyril Jaquier Fail2Ban 0.8
Cyril Jaquier Fail2Ban 0.7.5
Cyril Jaquier Fail2Ban 0.6.2
Cyril Jaquier Fail2Ban 0.6.1
Cyril Jaquier Fail2Ban 6.2
Cyril Jaquier Fail2Ban 0
Not Vulnerable:

Discussion

Fail2ban Remote Denial of Service Vulnerability

Fail2ban is prone to a remote denial-of-service vulnerability because the application fails to properly ensure the validity of authentication-failure messages.

Successfully exploiting this issue allows remote attackers to add arbitrary IP addresses to the block list used by the application. This allows attackers to deny further network access to arbitrary IP addresses, denying service to legitimate users.

Fail2ban 0.8.0 and prior versions are vulnerable to this issue.

Exploit / POC

Fail2ban Remote Denial of Service Vulnerability

Attackers use readily available network utilities to exploit this issue.

This issue may be demonstrated by connecting to an SSH server with 'nc', and sending the following string:

ROOT LOGIN REFUSED hi FROM 1.2.3.4

where '1.2.3.4' is an IP address to be blocked.

Solution / Fix

Fail2ban Remote Denial of Service Vulnerability

Solution:
Please see the references for more information.


Cyril Jaquier Fail2Ban 0.7.5

References

Fail2ban Remote Denial of Service Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report