module
Netfilter nft_set_elem_init Heap Overflow Privilege Escalation
Disclosed | Created |
---|---|
Feb 7, 2022 | Sep 28, 2022 |
Disclosed
Feb 7, 2022
Created
Sep 28, 2022
Description
An issue was discovered in the Linux kernel through 5.18.9.
A type confusion bug in nft_set_elem_init (leading to a buffer overflow)
could be used by a local attacker to escalate privileges.
The attacker can obtain root access, but must start with an unprivileged
user namespace to obtain CAP_NET_ADMIN access.
The issue exists in nft_setelem_parse_data in net/netfilter/nf_tables_api.c.
A type confusion bug in nft_set_elem_init (leading to a buffer overflow)
could be used by a local attacker to escalate privileges.
The attacker can obtain root access, but must start with an unprivileged
user namespace to obtain CAP_NET_ADMIN access.
The issue exists in nft_setelem_parse_data in net/netfilter/nf_tables_api.c.
Authors
Arthur Mongodin amongodin
Redouane NIBOUCHA rniboucha@yahoo.fr
Redouane NIBOUCHA rniboucha@yahoo.fr
Platform
Linux
Architectures
x64
References
Module Options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.