This module exploits the use of unsafe functions in a number of Ubuntu kernels utilizing vulnerable versions of overlayfs. To mitigate CVE-2021-3493 the Linux kernel added a call to vfs_setxattr during ovl_do_setxattr. Due to independent changes to the kernel by the Ubuntu development team __vfs_setxattr_noperm is called during ovl_do_setxattr without calling the intermediate safety function vfs_setxattr. Ultimatly this module allows for root access to be achieved by writing setuid capabilities to a file which are not sanitized after being unioned with the upper mounted directory.
Vulnerability
CVE-2023-32629
Vulnerability details
- Score
- 7.8
- Severity
- high
CVSS 3.1 · canonical
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDescription
Local privilege escalation vulnerability in Ubuntu Kernels overlayfs ovl_copy_up_meta_inode_data skip permission checks when calling ovl_do_setxattr on Ubuntu kernels
CVE ProgramExploit source choices
17 sourcesOSCP Cheat Sheet
GameOver(lay) Ubuntu Privilege Escalation
Ubuntu Privilege Escalation bash one-liner using CVE-2023-32629 & CVE-2023-2640
GameoverlayFS (CVE-2023-2640 and CVE-2023-32629) exploit in Shell Script tested on Ubuntu 20.04 Kernel 5.4.0
CVE-2023-2640 CVE-2023-32629
Check for CVE-2023-32629 "GameOver(lay)" vulnerability
cvedb/awesome-cve-repo source repository
One-Liner CVE-2023-32629/CVE-2023-2640 Ubuntu Privilege Escalation
cvedb/top source repository
musorblyat/cve-2023-2640-cve-2023-32629 source repository
Run_HackMyVM_Medium
k5lk/cve-2023-2640-32629 source repository
nkipohcs/cve-2023-2640-cve-2023-32629 source repository
Escalating Privilege using CVE-2023-2640 CVE-2023-3262
This is not my tools i just taken from google and github
churamanib/p0wny-shell source repository