Buffer overflow in iptables

Published: 2019-07-11 13:48:09 | Updated: 2019-07-11
Severity Low
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2019-11360
CVSSv3 6.4 [CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]
CWE ID CWE-119
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software iptables
Vulnerable software versions iptables 1.8.2
Vendor URL netfilter

Security Advisory

1) Buffer overflow

Description

The vulnerability allows an attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in add_param_to_argv() function in iptables/xshared.c when parsing, passed as argument to iptables-restore. A remote attacker can create a specially crafted files with iptables rules, trick a system administrator to pass it to the iptables-restore tool, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system but requires significant social engineering.

Remediation

Install updates from vendor's website.

External links

https://0day.work/cve-2019-11360-bufferoverflow-in-iptables-restore-v1-8-2/
https://git.netfilter.org/iptables/commit/iptables/xshared.c?id=2ae1099a42e6a0f06de305ca13a842ac83d4...

Back to List