To exploit a vulnerability, an attacker needs a high level of access to the system. So high that in most scenarios it seems that it is not necessary to additionally hack Grub2. The options for when this actually benefits an attacker remains to be explored. The main problem with this vulnerability lies in the complex relationship between Grub2 and UEFI Secure Boot, a universal hardware initialization tool that, among other things, ensures that only verified digitally signed code will be launched in the next stages. Due to the nature of the license under which Grub2 is distributed, there is an intermediary between UEFI and Grub2 known as shim – a small bootloader that checks the version of Grub2. The re-release of these very shims, and at the same time the UEFI update of a huge number of systems, blocking old shims, is, in simple terms, a Giant Headache for the entire industry.
The technical features of the vulnerability are described in sufficient detail (but without examples of exploitation) in the Eclypsium report. The Grub2 code for parsing the textual configuration file is designed to handle the situation when the input line is too long. An error in your code could cause the data to be loaded anyway and a buffer overflow. In this case, it is not vulnerability that is more important, but its consequences. Previously, there have already been situations where an unprotected version of Grub (due to a configuration error) had to be added to the so-called UEFI Revocation List – a list of shim that the updated system will refuse to run. This list needs to be somehow delivered to a specific system, which can be done either by the hardware vendor or by the operating system developer, for example, Microsoft, which, among other things, is responsible for certifying the boot code, including for Linux systems. Any mistake in an update applied at an early stage can render the computer or server completely inoperable.
In other words, a Grub update that covers newly discovered vulnerabilities is not enough to fix the problem. It is required to prevent the execution of older versions of Grub2 by adding their associated shim to the UEFI Revocation List. According to Eclypsium, more than 80 intermediate bootloaders need to be blocked, and this will already exclude the possibility of running arbitrary code if the update somehow gets to a specific motherboard with a specific UEFI version. And by the way, since the vulnerability was found in generic, platform-independent code, devices on the arm64 architecture are also affected.
In addition, the disaster recovery systems for computers or servers will need to be updated, otherwise the recovery tool may not work in the future. You will need to test both Grub patches, new intermediate loaders, and Revocation List updates. Even a simple update of Grub2 already causes problems: see the report on Habré about the inoperability of servers running CentOS after installing a bug fix RHSA-2020: 3216covering this vulnerability. It will take a long time to solve the problem, which is why the Grub2 code was tested for similar vulnerabilities so that you do not have to go through this process several times. On the one hand, this vulnerability does not pose a real danger right now. On the other hand, it includes a complex mechanism of interaction between software and hardware developers, which in this case is inevitable. Good confirmation of the conventional wisdom that security is a process, not a result.
What else happened:
Garmin is addressing the consequences of an attack on its own infrastructure detailed in the previous digest. As of August 3, Garmin Aviation services have been fully restored, including FlyGarmin. Garmin Connect cloud service for company’s smartwatches restored partially… The Bleeping Computer website, again citing anonymous sources, reports that the company received a key to decrypt data affected by the ransomware. How exactly is not clear, but there are few possible options here. Kaspersky Lab experts have published detailed analysis sample WastedLocker, which (most likely) attacked Garmin.
Another major extortion attack happened at CWT, a travel organization. Attackers are demanding a ransom of $ 4.5 million.
In the US, suspects have been arrested for hacking dozens of Twitter accounts in mid-July. The burglars were so quickly identified thanks to their carelessness. For example, one email address was used on a hacker forum and on a cryptocurrency exchange, and a hack of the forum allowed us to associate an account with a real IP. More in publications ZDNet and on Habré.
Vulnerability in VoIP adapters Grandstream allows them to be hacked at the stage of initial configuration, including using a prepared SIP packet.
In Zoom shut down A “childish” vulnerability that allowed cracking passwords to access the teleconference. Passwords in Zoom are six-digit, and the number of attempts to enter is not limited in any way – it could be cracked by brute force, knowing only the meeting identifier (usually constant).
Found a fresh ten-point vulnerability in the wpDiscuz plugin for processing comments on sites running WordPress with the ability to execute arbitrary code. Affected 70 thousand sites.