CVE-2019-12937
HIGHToaruOS < 1.10.9 - Local Privilege Escalation via gsudo DISPLAY Environment Variable
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2019-12937. PoCs published by AkashicYiTai.
AI-analyzed exploit summary This repository contains a functional exploit for CVE-2019-12937, a buffer overflow vulnerability in ToaruOS's gsudo program. The exploit leverages the DISPLAY environment variable to trigger a stack overflow in the pex_connect function, allowing privilege escalation to root due to the SUID bit set on gsudo.
Description
apps/gsudo.c in gsudo in ToaruOS through 1.10.9 has a buffer overflow allowing local privilege escalation to the root user via the DISPLAY environment variable.
Exploits (1)
This repository contains a functional exploit for CVE-2019-12937, a buffer overflow vulnerability in ToaruOS's gsudo program. The exploit leverages the DISPLAY environment variable to trigger a stack overflow in the pex_connect function, allowing privilege escalation to root due to the SUID bit set on gsudo.
References (1)
Scores
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H