CVE-2023-6246
HIGH NUCLEIglibc >=2.36 - Heap-based Buffer Overflow in __vsyslog_internal
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2023-6246. PoCs published by elpe-pinillo, SimoesCTT. A Nuclei detection template is also available.
AI-analyzed exploit summary This exploit leverages a buffer overflow in the `su` command (CVE-2023-6246) to achieve local privilege escalation by manipulating environment variables and crafting a malicious shared library loaded via a fake TTY device.
Description
A heap-based buffer overflow was found in the __vsyslog_internal function of the glibc library. This function is called by the syslog and vsyslog functions. This issue occurs when the openlog function was not called, or called with the ident argument set to NULL, and the program name (the basename of argv[0]) is bigger than 1024 bytes, resulting in an application crash or local privilege escalation. This issue affects glibc 2.36 and newer.
Exploits (2)
This exploit leverages a buffer overflow in the `su` command (CVE-2023-6246) to achieve local privilege escalation by manipulating environment variables and crafting a malicious shared library loaded via a fake TTY device.
This repository contains a functional exploit for CVE-2023-6246, a heap-based buffer overflow in glibc's __vsyslog_internal(). The exploit uses a novel temporal resonance technique to predict heap layout and achieve reliable local privilege escalation to root.
Nuclei Templates (1)
References (13)
Scores
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H