GRUB2 UAF via chainloader for UAUC and Code Exec
CVE-2022-28736 Published on July 20, 2023
There's a use-after-free vulnerability in grub_cmd_chainloader() function
There's a use-after-free vulnerability in grub_cmd_chainloader() function; The chainloader command is used to boot up operating systems that doesn't support multiboot and do not have direct support from GRUB2. When executing chainloader more than once a use-after-free vulnerability is triggered. If an attacker can control the GRUB2's memory allocation pattern sensitive data may be exposed and arbitrary code execution can be achieved.
Vulnerability Analysis
CVE-2022-28736 is exploitable with local system access, and requires user privileges. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Products Associated with CVE-2022-28736
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-28736 are published in these products:
Affected Versions
GNU Project GNU GRUB:- Before 2.06-3 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.