CVE-2023-32233 (CAP_NET_ADMIN)
CVE-2023-32233
Theory
Netfilter nf_tables allows to update its configuration as an atomic operation. When using this feature, the user-mode clients send batch requests containing a list of basic operations. Netfilter nf_tables then processes all the operations within the batch as single transaction. When processing the batch, Netfilter nf_tables then checks the configuration state updates to ensure that each successive basic operation is valid and this also accounts for the state updates from all the previous operations within the batch. However, the currently implemented check is insufficient.
CVE-2023-32233 is a use-after-free vulnerability found in the Netfilter subsystem of the Linux kernel when processing batch requests to update nf_tables configuration. This vulnerability can be abused to perform arbitrary reads and writes in kernel memory. A local user (with CAP_NET_ADMIN
capability) could use this flaw to crash the system or potentially escalate their privileges on the system.
Practice
The target system is likely to be vulnerable if it has a kernel version lower than 6.3.1.
Also, our current user need the CAP_NET_ADMIN
capability
References
Last updated