Quantum Secular Labs / Blog / Advisories
CVE-2010-4344: Exim Heap-Based Buffer Overflow Vulnerability
CVE-2010-4344 is rated critical with a CVSS v3.1 base score of 9.8 and affects Exim Exim, along with 3 other products in NVD’s configuration data. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-03-25, which means exploitation in the wild has been observed.
Vulnerability description
Heap-based buffer overflow in the string_vformat function in string.c in Exim before 4.70 allows remote attackers to execute arbitrary code via an SMTP session that includes two MAIL commands in conjunction with a large message containing crafted headers, leading to improper rejection logging.
Severity breakdown
CVSS v3.1 9.8: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
- Attack complexity: Low. No special conditions; the attack can be repeated reliably.
- Privileges required: None. No account or prior access is needed.
- User interaction: None. No action from any user is needed.
- Scope: Unchanged. Impact stays within the vulnerable component.
- Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
- Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
- Availability impact: High. Total loss of availability; the component can be shut down.
Underlying weakness
CWE-787: Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected products
- Exim: before 4.70
- Opensuse: 11.1; 11.2; 11.3
- Debian Linux: 5.0
- Canonical Ubuntu Linux: 6.06; 8.04; 9.10
References
- http://bugs.exim.org/show_bug.cgi?id=787
- http://git.exim.org/exim.git/commit/24c929a27415c7cfc7126c47e4cad39acf3efa6b
- http://lists.exim.org/lurker/message/20101210.164935.385e04d0.en.html
- http://www.osvdb.org/69685
- http://secunia.com/advisories/40019
- http://secunia.com/advisories/42576
- http://secunia.com/advisories/42586
- http://secunia.com/advisories/42587
- http://secunia.com/advisories/42589
- http://www.vupen.com/english/advisories/2010/3171
- http://www.vupen.com/english/advisories/2010/3172
- http://www.vupen.com/english/advisories/2010/3181
- http://www.vupen.com/english/advisories/2010/3186
- http://www.vupen.com/english/advisories/2010/3204