
Proof-of-concept exploit for Ubuntu kernel privilege escalation (CVE-2023-2640, CVE-2023-32629) enabling unprivileged users to gain elevated access via extended attributes.
This is a local privilege escalation vulnerability affecting certain Ubuntu kernels. It allows unprivileged users to set privileged extended attributes on mounted files, bypassing security checks and potentially gaining elevated privileges. Two CVEs, CVE-2023-2640 and CVE-2023-32629, are associated with this vulnerability. The affected kernels include versions 6.2.0, 5.19.0, and 5.4.0, across various Ubuntu releases. It's crucial to apply patches provided by Ubuntu promptly and follow security best practices to mitigate these vulnerabilities.
chmod +x poc.sh
./poc.sh