Exploit database

Vulnerability

CVE-2022-34918

Vulnerability details

Score
7.8
Severity
high

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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, a different vulnerability than CVE-2022-32250. (The attacker can obtain root access, but must start with an unprivileged user namespace to obtain CAP_NET_ADMIN access.) This can be fixed in nft_setelem_parse_data in net/netfilter/nf_tables_api.c.

CVE Program

Exploit source choices

12 sources
Netfilter nft_set_elem_init Heap Overflow Privilege Escalation
MSF-linux--local--netfilter_nft_set_elem_init_privescMetasploitLinux / remotePreferred

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.

2022-02-07netfilter_nft_set_elem_init_privesc.rb
0xsyr0/oscp
GH-1e9613ea0d155c33d16520580dbed873GitHubUnofficial GitHub source

OSCP Cheat Sheet

2021-10-2262 files · 3,887 stars
bsauce/kernel-exploit-factory
GH-19aa051ff5153014d6646f547e3c4467GitHubUnofficial GitHub source

Linux kernel CVE exploit analysis report and relative debug environment. You don't need to compile Linux kernel and configure your environment anymore.

2020-12-11262 files · 1,308 stars
bsauce/kernel-security-learning
GH-c4865ec2b4e2c29d85b0e20b1503912fGitHubUnofficial GitHub source

Anything about kernel security. CTF kernel pwn, kernel exploit, kernel fuzz and kernel defense paper, kernel debugging technique, kernel CVE debug.

2019-11-2798 files · 783 stars
randorisec/cve-2022-34918-lpe-poc
GH-b325dd7d49ed995311adb2019edba9dbGitHubUnofficial GitHub source

randorisec/cve-2022-34918-lpe-poc source repository

2022-07-1920 files · 243 stars
veritas501/cve-2022-34918
GH-686344c080ded49da933393c0dbda942GitHubUnofficial GitHub source

CVE-2022-34918 netfilter nf_tables 本地提权 POC

2022-08-0266 files · 217 stars
lanleft/cve-2023-1829
GH-6e09e3affa83a265a254c60015a6ca9fGitHubUnofficial GitHub source

lanleft/cve-2023-1829 source repository

2023-06-1520 files · 73 stars
cvedb/awesome-cve-repo
GH-5d2d5bc79e38467342aae25328e8c9d0GitHubUnofficial GitHub source

cvedb/awesome-cve-repo source repository

2023-03-237 files · 9 stars
merlinepedra25/cve-2022-34918-lpe-poc
GH-fbb7860a1e2a18f0207e10c206c26b7cGitHubUnofficial GitHub source

merlinepedra25/cve-2022-34918-lpe-poc source repository

2022-07-2419 files · 3 stars
cvedb/top
GH-2e626f612a2d87f79d1d9385117cfa16GitHubUnofficial GitHub source

cvedb/top source repository

2023-03-1911 files · 2 stars
merlinepedra/cve-2022-34918-lpe-poc
GH-21ac6aed19c081011ddb223085668ef4GitHubUnofficial GitHub source

merlinepedra/cve-2022-34918-lpe-poc source repository

2022-07-2419 files · 2 stars