Red Hat update for patch

Published: 2019-12-03 | Updated: 2019-12-03
Severity High
Patch available YES
Number of vulnerabilities 2
CVE ID CVE-2019-13638
CVE-2018-20969
CWE ID CWE-78
Exploitation vector Network
Public exploit N/A
Vulnerable software Red Hat Enterprise Linux for x86_64 Subscribe
Red Hat Enterprise Linux for Power
Red Hat Enterprise Linux Server
Vendor Red Hat Inc.

Security Advisory

1) OS Command Injection

Severity: Low

CVSSv3: 6.5 [CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2019-13638

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to insufficient validation of ed style diff payload with shell metacharacters in patch files. A remote attacker can trick the victim to use a specially crafted patch file and execute arbitrary OS commands.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Red Hat Enterprise Linux for x86_64: 7.4, 7.7

Red Hat Enterprise Linux for Power: 7.4, 7.7

Red Hat Enterprise Linux Server: 7.4, 7.7

CPE External links

https://access.redhat.com/errata/RHSA-2019:4061

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) OS Command Injection

Severity: High

CVSSv3: 8.1 [CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:U/RC:C] [PCI]

CVE-ID: CVE-2018-20969

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to the "do_ed_script" function in the "pch.c" file does not block strings beginning with a ! character. A remote unauthenticated attacker can trick a victim to open a specially crafted patch file and execute arbitrary OS shell commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Red Hat Enterprise Linux for x86_64: 7.4, 7.7

Red Hat Enterprise Linux for Power: 7.4, 7.7

Red Hat Enterprise Linux Server: 7.4, 7.7

CPE External links

https://access.redhat.com/errata/RHSA-2019:4061

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.