ID CVE-2019-13917
Summary Exim 4.85 through 4.92 (fixed in 4.92.1) allows remote code execution as root in some unusual configurations that use the ${sort } expansion for items that can be controlled by an attacker (e.g., $local_part or $domain).
References
Vulnerable Configurations
  • cpe:2.3:a:exim:exim:4.85:*:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.85:*:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.85.1:*:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.85.1:*:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.85.2:*:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.85.2:*:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.86:-:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.86:-:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.86:rc1:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.86:rc1:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.86:rc2:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.86:rc2:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.86:rc3:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.86:rc3:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.86:rc4:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.86:rc4:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.86:rc5:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.86:rc5:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.86.1:*:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.86.1:*:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.86.2:*:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.86.2:*:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.87:*:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.87:*:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.87:rc1:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.87:rc1:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.87:rc2:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.87:rc2:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.87:rc3:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.87:rc3:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.87:rc4:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.87:rc4:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.87:rc5:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.87:rc5:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.87:rc6:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.87:rc6:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.87:rc7:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.87:rc7:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.87.1:*:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.87.1:*:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.88:-:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.88:-:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.88:rc1:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.88:rc1:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.88:rc2:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.88:rc2:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.88:rc3:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.88:rc3:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.88:rc4:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.88:rc4:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.88:rc5:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.88:rc5:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.88:rc6:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.88:rc6:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.89:-:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.89:-:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.89:rc1:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.89:rc1:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.89:rc2:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.89:rc2:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.89:rc3:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.89:rc3:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.89:rc4:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.89:rc4:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.89:rc5:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.89:rc5:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.89:rc6:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.89:rc6:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.89:rc7:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.89:rc7:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.89.1:*:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.89.1:*:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.90:-:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.90:-:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.90:rc1:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.90:rc1:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.90:rc2:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.90:rc2:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.90:rc3:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.90:rc3:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.90:rc4:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.90:rc4:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.90.0.22:*:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.90.0.22:*:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.90.0.27:*:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.90.0.27:*:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.90.1:*:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.90.1:*:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.91:*:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.91:*:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.91:-:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.91:-:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.91:rc1:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.91:rc1:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.91:rc2:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.91:rc2:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.91:rc3:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.91:rc3:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.91:rc4:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.91:rc4:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.92:-:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.92:-:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.92:rc1:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.92:rc1:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.92:rc2:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.92:rc2:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.92:rc3:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.92:rc3:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.92:rc4:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.92:rc4:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.92:rc5:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.92:rc5:*:*:*:*:*:*
  • cpe:2.3:a:exim:exim:4.92:rc6:*:*:*:*:*:*
    cpe:2.3:a:exim:exim:4.92:rc6:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
CVSS
Base: 10.0 (as of 07-09-2019 - 02:15)
Impact:
Exploitability:
CWE CWE-19
CAPEC
  • XML Oversized Payloads
    Applications often need to transform data in and out of the XML format by using an XML parser. It may be possible for an adversary to inject data that may have an adverse effect on the XML parser when it is being processed. By supplying oversized payloads in input vectors that will be processed by the XML parser, an adversary can cause the XML parser to consume more resources while processing, causing excessive memory consumption and CPU utilization, and potentially cause execution of arbitrary code. An adversary's goal is to leverage parser failure to his or her advantage. In many cases this type of an attack will result in a XML Denial of Service (XDoS) due to an application becoming unstable, freezing, or crashing. However it is possible to cause a crash resulting in arbitrary code execution, leading to a jump from the data plane to the control plane [R.231.1]. XDoS is most closely associated with web services, SOAP, and Rest, because remote service requesters can post malicious XML payloads to the service provider designed to exhaust the service provider's memory, CPU, and/or disk space. The main weakness in XDoS is that the service provider generally must inspect, parse, and validate the XML messages to determine routing, workflow, security considerations, and so on. It is exactly these inspection, parsing, and validation routines that XDoS targets. This attack exploits the loosely coupled nature of web services, where the service provider has little to no control over the service requester and any messages the service requester sends.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an adversary. As a consequence, an adversary is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the adversaries' choice.
  • XML Nested Payloads
    Applications often need to transform data in and out of the XML format by using an XML parser. It may be possible for an adversary to inject data that may have an adverse effect on the XML parser when it is being processed. By nesting XML data and causing this data to be continuously self-referential, an adversary can cause the XML parser to consume more resources while processing, causing excessive memory consumption and CPU utilization. An adversary's goal is to leverage parser failure to his or her advantage. In most cases this type of an attack will result in a XML Denial of Service (XDoS) due to an application becoming unstable, freezing, or crashing. However it may be possible to cause a crash resulting in arbitrary code execution, leading to a jump from the data plane to the control plane [R.230.1]. XDoS is most closely associated with web services, SOAP, and Rest, because remote service requesters can post malicious XML payloads to the service provider designed to exhaust the service provider's memory, CPU, and/or disk space. The main weakness in XDoS is that the service provider generally must inspect, parse, and validate the XML messages to determine routing, workflow, security considerations, and so on. It is exactly these inspection, parsing, and validation routines that XDoS targets. This attack exploits the loosely coupled nature of web services, where the service provider has little to no control over the service requester and any messages the service requester sends.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:N/AC:L/Au:N/C:C/I:C/A:C
refmap via4
bugtraq 20190730 [SECURITY] [DSA 4488-1] exim4 security update
confirm http://exim.org/static/doc/security/CVE-2019-13917.txt
debian DSA-4488
gentoo GLSA-201909-06
mlist [oss-security] 20190726 Re: CVE-2019-13917 OVE-20190718-0006: Exim: security release ahead
Last major update 07-09-2019 - 02:15
Published 25-07-2019 - 20:15
Last modified 07-09-2019 - 02:15
Back to Top