Exploit database

Vulnerability

CVE-2009-2692

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

The Linux kernel 2.6.0 through 2.6.30.4, and 2.4.4 through 2.4.37.4, does not initialize all function pointers for socket operations in proto_ops structures, which allows local users to trigger a NULL pointer dereference and gain privileges by using mmap to map page zero, placing arbitrary code on this page, and then invoking an unavailable operation, as demonstrated by the sendpage operation (sock_sendpage function) on a PF_PPPOX socket.

CVE Program

Exploit source choices

21 sources
Linux Kernel Sendpage Local Privilege Escalation
MSF-linux--local--sock_sendpageMetasploitLinux / remote

The Linux kernel failed to properly initialize some entries in the proto_ops struct for several protocols, leading to NULL being dereferenced and used as a function pointer. By using mmap(2) to map page 0, an attacker can execute arbitrary code in the context of the kernel. Several public exploits exist for this vulnerability, including spender's wunderbar_emporium and rcvalle's ppc port, sock_sendpage.c. All Linux 2.4/2.6 versions since May 2001 are believed to be affected: 2.4.4 up to and including 2.4.37.4; 2.6.0 up to and including 2.6.30.4 This module has been tested successfully on CentOS 5.0 (i386) with kernel version 2.6.18-8.1.1.tl5; and Debian 3.1r8 Sarge (i686) with kernel version 2.4.27-3-386.

2009-08-13sock_sendpage.rb
al1ex/linuxeelvation
GH-82dd0da071ea66f05194b9f200dbcaeeGitHubUnofficial GitHub source

Linux Eelvation(持续更新)

2021-03-30302 files · 412 stars
cloudsec/exploit
GH-d60a1e27e6cc5c83490193550358fd18GitHubUnofficial GitHub source

Some kernel exploit i wrote

2015-01-099 files · 77 stars
cvedb/awesome-cve-repo
GH-5d2d5bc79e38467342aae25328e8c9d0GitHubUnofficial GitHub source

cvedb/awesome-cve-repo source repository

2023-03-237 files · 9 stars
albinjoshy03/linux-kernel-exploits
GH-98c2b810524267a2a7d96cf79929f529GitHubUnofficial GitHub source

albinjoshy03/linux-kernel-exploits source repository

2023-04-26161 files · 1 stars
0xto/linux-kernel-exploits
GH-ae1a63db6eee825da96a76ac7e8a93c0GitHubUnofficial GitHub source

0xto/linux-kernel-exploits source repository

2020-02-02161 files · 0 stars
alian87/linux-kernel-exploits
GH-96bb91b89c84d22d6c0eae8e24274ec9GitHubUnofficial GitHub source

alian87/linux-kernel-exploits source repository

2023-06-14161 files · 0 stars
aquahubtest4/exploit
GH-28fdc400b35e66f9d1d4357ddb379681GitHubUnofficial GitHub source

aquahubtest4/exploit source repository

2024-12-309 files · 0 stars
aquahubtest5/exploit
GH-9d29d41d472a888d2f473cf551dc2c80GitHubUnofficial GitHub source

aquahubtest5/exploit source repository

2025-01-039 files · 0 stars
c0dak/linux-kernel-exploits
GH-13a57171fbce31198469092dafed3783GitHubUnofficial GitHub source

c0dak/linux-kernel-exploits source repository

2017-09-13141 files · 0 stars
coffee727/linux-exp
GH-f449d905e9f78a4738cfce08d8d32878GitHubUnofficial GitHub source

coffee727/linux-exp source repository

2017-09-07141 files · 0 stars
copperfieldd/linux-kernel-exploits
GH-e26ad96e055086344ca2cae9a234abdfGitHubUnofficial GitHub source

copperfieldd/linux-kernel-exploits source repository

2017-11-08145 files · 0 stars