SB2020042726 - Multiple vulnerabilities in OpenDMARC
Published: April 27, 2020 Updated: April 30, 2021
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 secuirty vulnerabilities.
1) Out-of-bounds write (CVE-ID: CVE-2020-12460)
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
OpenDMARC through 1.3.2 and 1.4.x through 1.4.0-Beta1 has improper null termination in the function opendmarc_xml_parse that can result in a one-byte heap overflow in opendmarc_xml when parsing a specially crafted DMARC aggregate report. This can cause remote memory corruption when a '�' byte overwrites the heap metadata of the next chunk and its PREV_INUSE flag.
2) Authentication Bypass by Spoofing (CVE-ID: CVE-2020-12272)
The vulnerability allows a remote non-authenticated attacker to manipulate data.
OpenDMARC through 1.3.2 and 1.4.x allows attacks that inject authentication results to provide false information about the domain that originated an e-mail message. This is caused by incorrect parsing and interpretation of SPF/DKIM authentication results, as demonstrated by the example.net(.example.com substring.
Remediation
Install update from vendor's website.
References
- https://github.com/trusteddomainproject/OpenDMARC/issues/64
- https://github.com/trusteddomainproject/OpenDMARC/blob/master/SECURITY/CVE-2020-12460
- https://sourceforge.net/p/opendmarc/tickets/237/
- https://www.usenix.org/system/files/sec20fall_chen-jianjun_prepub_0.pdf
- https://github.com/trusteddomainproject/OpenDMARC/blob/master/SECURITY/CVE-2020-12272