OS Command Injection in Unbound - CVE-2019-18934

 

OS Command Injection in Unbound - CVE-2019-18934

Published: June 25, 2020


Vulnerability identifier: #VU29236
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-18934
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to insufficient validation of user-supplied input in the ipsec module. A remote attacker can pass specially crafted input to the application and execute arbitrary commands on the system.

Successful exploitation of he vulnerability requires that unbound is compiled with `--enable-ipsecmod` support, and ipsecmod is enabled and used in the configuration.


Affected software

Unbound
unbound (Alpine package)
unbound (Red Hat package)
unbound
unbound-libs
unbound-devel
unbound-help
python3-unbound
unbound-debugsource
unbound-debuginfo
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Opensuse
openEuler
Fedora

How to mitigate CVE-2019-18934

Install updates from vendor's website.

Unbound - update to 1.9.5
unbound (Alpine package) - update to 1.7.3-r2
unbound (Red Hat package) - update to 1.7.3-10.el8
unbound - addressed in versions 1.9.6-1.fc30, 1.9.6-1.fc31
unbound - update to 1.11.0-2
unbound-libs - update to 1.11.0-2
unbound-devel - update to 1.11.0-2
unbound-help - update to 1.11.0-2
python3-unbound - update to 1.11.0-2
unbound-debugsource - update to 1.11.0-2
unbound-debuginfo - update to 1.11.0-2

External References

Related Security Bulletins