- Accueil
- Vulnérabilités
- CVE-2023-4911
CVE-2023-4911
Glibc: buffer overflow in ld.so leading to privilege escalation
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Redhat (59 ligne(s))
Canonical (2 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Ubuntu linux | 22.04 |
— | NVD |
| Ubuntu linux | 23.04 |
— | NVD |
Debian (2 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Debian linux | 11.0 |
— | NVD |
| Debian linux | 12.0 |
— | NVD |
Fedoraproject (3 ligne(s))
Gnu (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Glibc | de 2.34 (inclus) à 2.39 (exclu) |
— | NVD |
Netapp (7 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Bootstrap os | Versions non précisées | — | NVD |
| H300s firmware | Versions non précisées | — | NVD |
| H410c firmware | Versions non précisées | — | NVD |
| H410s firmware | Versions non précisées | — | NVD |
| H500s firmware | Versions non précisées | — | NVD |
| H700s firmware | Versions non précisées | — | NVD |
| Ontap select deploy administration utility | Versions non précisées | — | NVD |
Siemens (4 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Simatic s7-1500 cpu 1518-4 pn/dp mfp firmware | à partir de 3.1.5 (inclus) |
— | NVD |
| Simatic s7-1500 cpu 1518f-4 pn/dp mfp firmware | à partir de 3.1.5 (inclus) |
— | NVD |
| Simatic s7-1500 tm mfp firmware | avant 1.1 (exclu) |
— | NVD |
| Siplus s7-1500 cpu 1518-4 pn/dp mfp firmware | à partir de 3.1.5 (inclus) |
— | NVD |
Correctif
Non renseigné par l’éditeur.
Contournement
Contournementsource officielle
For customers who cannot update immediately and do not have Secure Boot feature enabled, the issue can be mitigated using the provided SystemTap script with the following steps. When enabled, any setuid program invoked with GLIBC_TUNABLES in the environment will be terminated immediately. To invoke the setuid program, users will then have to unset or clear the GLIBC_TUNABLES envvar, e.g. `GLIBC_TUNABLES= sudo` . Note that these mitigation steps will need to be repeated if the system is rebooted. 1) Install required systemtap packages and dependencies as per - https://access.redhat.com/solutions/5441 2) Create the following systemtap script, and name it stap_block_suid_tunables.stp: ~~~ function has_tunable_string:long() { name = "GLIBC_TUNABLES" mm = @task(task_current())->mm; if (mm) { env_start = @mm(mm)->env_start; env_end = @mm(mm)->env_end; if (env_start != 0 && env_end != 0) while (env_end > env_start) { cur = user_string(env_start, ""); env_name = tokenize(cur, "="); if (env_name == name && tokenize("", "") != "") return 1; env_start += strlen (cur) + 1 } } return 0; } probe process("/lib*/ld*.so*").function("__tunables_init") { atsecure = 0; /* Skip processing if we can't read __libc_enable_secure, e.g. core dump handler (systemd-cgroups-agent and systemd-coredump). */ try { atsecure = @var("__libc_enable_secure"); } catch { printk (4, sprintf ("CVE-2023-4911: Skipped check: %s (%d)", execname(), pid())); } if (atsecure && has_tunable_string ()) raise (9); } ~~~ 3) Load the systemtap module into the running kernel: ~~~ stap -g -F -m stap_block_suid_tunables stap_block_suid_tunables.stp ~~~ 4) Ensure the module is loaded: ~~~ lsmod | grep -i stap_block_suid_tunables stap_block_suid_tunables 249856 0 ~~~ 5) Once the glibc package is updated to the version containing the fix, the systemtap generated kernel module can be removed by running: ~~~ rmmod stap_block_suid_tunables ~~~ If Secure Boot is enabled on a system, the SystemTap module must be signed. An external compiling server can be used to sign the generated kernel module with a key enrolled into the kernel's keyring or starting with SystemTap 4.7 you can sign a module without a compile server. See further information here - https://www.redhat.com/sysadmin/secure-boot-systemtap
Source : CNA (éditeur ou attributeur)
Savoir si vous êtes touché
Modules et modèles publics
- Module d’exploitation public · https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/glibc_tunables_priv_esc.rb
Chronologie
- — Publication de la CVE (cve)
- — Ajout au catalogue KEV (cisa-kev)
- — Exploitation observée (cisa-ssvc) date de première observation
- — Preuve de concept publique observée (exploitdb)
- — Module d’exploitation public (metasploit) date de première observation
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
Avis CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware (26 octobre 2026) 26 oct. 2026
Références
- https://bugzilla.redhat.com/show_bug.cgi?id=2238352Issue Tracking, Patch
- https://access.redhat.com/errata/RHSA-2023:5453Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:5454Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:5455Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:5476Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0033Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-4911Third Party Advisory
- https://www.qualys.com/2023/10/03/cve-2023-4911/looney-tunables-local-privilege-escalation-glibc-ld-so.txtExploit, Third Party Advisory
- https://www.qualys.com/cve-2023-4911/Third Party Advisory
- http://packetstormsecurity.com/files/174986/glibc-ld.so-Local-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/176288/Glibc-Tunables-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2023/Oct/11Exploit, Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2023/10/03/2Exploit, Mailing List
- http://www.openwall.com/lists/oss-security/2023/10/03/3Mailing List
- http://www.openwall.com/lists/oss-security/2023/10/05/1Mailing List
- http://www.openwall.com/lists/oss-security/2023/10/13/11Mailing List
- http://www.openwall.com/lists/oss-security/2023/10/14/3Mailing List
- http://www.openwall.com/lists/oss-security/2023/10/14/5Mailing List
- http://www.openwall.com/lists/oss-security/2023/10/14/6Mailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4DBUQRRPB47TC3NJOUIBVWUGFHBJAFDL/Mailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DFG4P76UHHZEWQ26FWBXG76N2QLKKPZA/Mailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDAQWHTSVOCOZ5K6KPIWKRT3JX4RTZUR/Mailing List
- https://security.gentoo.org/glsa/202310-03Third Party Advisory
- https://security.netapp.com/advisory/ntap-20231013-0006/Third Party Advisory
- https://www.debian.org/security/2023/dsa-5514Mailing List
- https://www.exploit-db.com/exploits/52479Exploit, Third Party Advisory, VDB Entry
- https://cert-portal.siemens.com/productcert/html/ssa-082556.htmlThird Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-794697.htmlThird Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-831302.htmlThird Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-4911US Government Resource
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, NVD)- Faiblesse
- CWE-787 · Corruption mémoire