Inter7 Courier-imap up to 2.2.1 Debugging debug.c auth_debug buf format string
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.9 | $0-$5k | 0.00 |
A vulnerability was found in Inter7 Courier-imap up to 2.2.1. It has been declared as critical. This vulnerability affects the function auth_debug
of the file debug.c of the component Debugging Handler. The manipulation of the argument buf
with an unknown input leads to a format string vulnerability. The CWE definition for the vulnerability is CWE-134. The product uses a function that accepts a format string as an argument, but the format string originates from an external source. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
Format string vulnerability in the auth_debug function in Courier-IMAP 1.6.0 through 2.2.1 and 3.x through 3.0.3, when login debugging (DEBUG_LOGIN) is enabled, allows remote attackers to execute arbitrary code.
The bug was discovered 08/10/2004. The weakness was presented 08/18/2004 (Website). The advisory is available at idefense.com. This vulnerability was named CVE-2004-0777 since 08/11/2004. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.
A public exploit has been developed by ktha in ANSI C and been published immediately after the advisory. It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 8 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 14342 (FreeBSD : courier-imap -- format string vulnerability in debug mode (26)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product. Attack attempts may be identified with Snort ID 2664. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 3457.
The vulnerability is also documented in the databases at X-Force (17034), Tenable (14342) and Exploit-DB (432). See 21769 for similar entry.
Product
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.9
VulDB Base Score: 7.3
VulDB Temp Score: 6.9
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Format stringCWE: CWE-134 / CWE-119
ATT&CK: Unknown
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: ktha
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 14342
Nessus Name: FreeBSD : courier-imap -- format string vulnerability in debug mode (26)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 52418
OpenVAS Name: FreeBSD Ports: courier-imap
OpenVAS File: 🔍
OpenVAS Family: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Snort ID: 2664
Snort Message: PROTOCOL-IMAP login format string attempt
Snort Class: 🔍
TippingPoint: 🔍
SourceFire IPS: 🔍
Timeline
08/10/2004 🔍08/11/2004 🔍
08/18/2004 🔍
08/18/2004 🔍
08/18/2004 🔍
08/18/2004 🔍
08/19/2004 🔍
08/19/2004 🔍
08/23/2004 🔍
09/02/2004 🔍
09/13/2004 🔍
10/20/2004 🔍
04/14/2015 🔍
06/30/2021 🔍
Sources
Advisory: idefense.com⛔Status: Confirmed
CVE: CVE-2004-0777 (🔍)
X-Force: 17034
Vulnerability Center: 5395 - Courier-IMAP 1.6.0 - 3.0.2 r1 Allows Code Execution via auth_debug Function, Medium
SecurityFocus: 10976 - Courier-IMAP Remote Format String Vulnerability
Secunia: 12324 - Courier-IMAP Login Debugging Format String Vulnerability, Less Critical
OSVDB: 9013 - Courier-IMAP debug.c auth_debug() Function Remote Format String
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 04/14/2015 13:21Updated: 06/30/2021 10:48
Changes: 04/14/2015 13:21 (75), 08/18/2017 23:22 (17), 06/30/2021 10:48 (3)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.