Exploit database

Vulnerability

CVE-2022-37706

Vulnerability details

Score
7.8
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

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

Description

enlightenment_sys in Enlightenment before 0.25.4 allows local users to gain privileges because it is setuid root, and the system library function mishandles pathnames that begin with a /dev/.. substring.

CVE Program

Exploit source choices

10 sources
Ubuntu Enlightenment Mount Priv Esc
MSF-linux--local--ubuntu_enlightenment_mount_priv_escMetasploitLinux / remote

This module exploits a command injection within Enlightenment's enlightenment_sys binary. This is done by calling the mount command and feeding it paths which meet all of the system requirements, but execute a specific path as well due to a semi-colon being used. This module was tested on Ubuntu 22.04.1 X64 Desktop with enlightenment 0.25.3-1 (current at module write time)

2022-09-13ubuntu_enlightenment_mount_priv_esc.rb
maherazzouzi/cve-2022-37706-lpe-exploit
GH-0d89ea6ae2e64f47db9c7dacf09a9753GitHubUnofficial GitHub source

A reliable exploit + write-up to elevate privileges to root. (Tested on Ubuntu 22.04)

2022-09-1216 files · 322 stars
cvedb/awesome-cve-repo
GH-5d2d5bc79e38467342aae25328e8c9d0GitHubUnofficial GitHub source

cvedb/awesome-cve-repo source repository

2023-03-237 files · 9 stars
0xabdoulaye/red-team
GH-e984277561b5d13d9b1a637ced38a72eGitHubUnofficial GitHub source

Ici je vais stocker tout mon apprentissage en RED TEAM

2024-01-19106 files · 5 stars
cvedb/top
GH-2e626f612a2d87f79d1d9385117cfa16GitHubUnofficial GitHub source

cvedb/top source repository

2023-03-1911 files · 2 stars
ecu-10525611-xander/cve-2022-37706
GH-60ddafd6f9ce3dec39a7605b751aad08GitHubUnofficial GitHub source

All Credit to MaherAzzouzi (https://github.com/MaherAzzouzi/CVE-2022-37706-LPE-exploit). This is a copy of the exploit for CTFs

2022-09-182 files · 2 stars
d3ndr1t30x/cve-2022-37706
GH-69cd9e7111f3bcbd4449bcfb448c2c27GitHubUnofficial GitHub source

Privilege escaltion exploit script for Boardlight machine on HackTheBox. I had access as the Larissa user and ran this script from the /tmp directory; script has been adjusted accordingly.

2024-12-102 files · 1 stars
kaoxx/cve-2022-37706
GH-f9b9062cb0c9f88cf0536903a21c13f8GitHubUnofficial GitHub source

kaoxx/cve-2022-37706 source repository

2024-09-102 files · 1 stars