Exim Internet Mailer up to 4.32 Header header_syntax stack-based overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.6$0-$5k0.00

Summaryinfo

A vulnerability has been found in Exim Internet Mailer up to 4.32 and classified as critical. This impacts the function header_syntax of the component Header Handler. The manipulation leads to stack-based overflow. This vulnerability is uniquely identified as CVE-2004-0399. The attack is possible to be carried out remotely. Moreover, an exploit is present. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in Exim Internet Mailer up to 4.32 (Mail Server Software). It has been rated as critical. This issue affects the function header_syntax of the component Header Handler. The manipulation with an unknown input leads to a stack-based overflow vulnerability. Using CWE to declare the problem leads to CWE-121. A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Stack-based buffer overflow in Exim 3.35, and other versions before 4, when the sender_verify option is true, allows remote attackers to cause a denial of service and possibly execute arbitrary code during sender verification.

The bug was discovered 05/06/2004. The weakness was disclosed 05/06/2004 by Georgi Guninski (Website). It is possible to read the advisory at guninski.com. The identification of this vulnerability is CVE-2004-0399 since 04/13/2004. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known.

After immediately, there has been an exploit disclosed. The exploit is available at guninski.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 15339 (Debian DSA-502-1 : exim-tls - buffer overflow), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 74148 (Exim Multiple Remote Stack Buffer Overflow Vulnerabilities).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at exim.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 1 days after the disclosure of the vulnerability. Attack attempts may be identified with Snort ID 15574. In this case the pattern MAIL is used for detection. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 3499.

The vulnerability is also documented in the databases at X-Force (16079), Exploit-DB (24093), Tenable (15339), SecurityFocus (BID 10290†) and OSVDB (5896†). securityfocus.com is providing further details. The entry VDB-646 is pretty similar. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Stack-based overflow
CWE: CWE-121 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 15339
Nessus Name: Debian DSA-502-1 : exim-tls - buffer overflow
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 53191
OpenVAS Name: Debian Security Advisory DSA 501-1 (exim)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Patch: exim.org

Snort ID: 15574
Snort Message: SMTP Exim MAIL FROM overflow attempt
Snort Pattern: 🔍

Suricata ID: 2102590
Suricata Class: 🔍
Suricata Message: 🔍

TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

SourceFire IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

04/13/2004 🔍
05/06/2004 +23 days 🔍
05/06/2004 +0 days 🔍
05/06/2004 +0 days 🔍
05/06/2004 +0 days 🔍
05/06/2004 +0 days 🔍
05/06/2004 +0 days 🔍
05/07/2004 +0 days 🔍
05/09/2004 +2 days 🔍
05/10/2004 +1 days 🔍
07/07/2004 +58 days 🔍
09/29/2004 +84 days 🔍
12/20/2024 +7387 days 🔍

Sourcesinfo

Advisory: guninski.com
Researcher: Georgi Guninski
Status: Confirmed

CVE: CVE-2004-0399 (🔍)
GCVE (CVE): GCVE-0-2004-0399
GCVE (VulDB): GCVE-100-647
X-Force: 16079 - Exim require_verify buffer overflow, High Risk
SecurityFocus: 10290 - Exim Sender Verification Remote Stack Buffer Overrun Vulnerability
Secunia: 11558 - Exim Buffer Overflow Vulnerabilities, Highly Critical
OSVDB: 5896 - Exim sender_verify Function Remote Overflow
SecuriTeam: securiteam.com
Vulnerability Center: 4270 - Buffer Overflow in Exim MTA 3.35 and 4.32, Medium

scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍
See also: 🔍

Entryinfo

Created: 05/10/2004 15:45
Updated: 12/20/2024 19:36
Changes: 05/10/2004 15:45 (116), 06/28/2019 11:56 (1), 12/20/2024 19:36 (18)
Complete: 🔍
Cache ID: 216:047:103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!