www.darkreading.com
Open in
urlscan Pro
104.18.109.47
Public Scan
URL:
https://www.darkreading.com/vulnerabilities-threats/rce-vulnerability-in-shim-bootloader-impacts-all-linux-distros
Submission: On February 08 via api from TR — Scanned from DE
Submission: On February 08 via api from TR — Scanned from DE
Form analysis
0 forms found in the DOMText Content
Dark Reading is part of the Informa Tech Division of Informa PLC Informa PLC|ABOUT US|INVESTOR RELATIONS|TALENT This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales and Scotlan. Number 8860726. Black Hat NewsOmdia Cybersecurity Newsletter Sign-Up Newsletter Sign-Up Cybersecurity Topics RELATED TOPICS * Application Security * Cybersecurity Careers * Cloud Security * Cyber Risk * Cyberattacks & Data Breaches * Cybersecurity Analytics * Cybersecurity Operations * Data Privacy * Endpoint Security * ICS/OT Security * Identity & Access Mgmt Security * Insider Threats * IoT * Mobile Security * Perimeter * Physical Security * Remote Workforce * Threat Intelligence * Vulnerabilities & Threats World RELATED TOPICS * DR Global * Middle East & Africa See All The Edge DR Technology Events RELATED TOPICS * Upcoming Events * Webinars SEE ALL Resources RELATED TOPICS * Library * Newsletters * Reports * Videos * Webinars * Whitepapers * * * * * Partner Perspectives: * > Microsoft SEE ALL Sponsored By * Vulnerabilities & Threats * Cyberattacks & Data Breaches * Threat Intelligence LINUX DISTROS HIT BY RCE VULNERABILITY IN SHIM BOOTLOADER However, not everyone agrees with the NVD's assessment of CVE-2023-40547 being a near-maximum severity bug. Jai Vijayan, Contributing Writer February 7, 2024 5 Min Read Source: Fauzi Muda via Shutterstock Linux shim, a small piece of code that many major Linux distros use during the secure boot process, has a remote code execution vulnerability in it that gives attackers a way to take complete control of affected systems. All Linux distributions that support Secure Boot, including Red Hat, Ubuntu, Debian, and SUSE are affected by the flaw, identified as CVE-2023-40547. The flaw is the most severe of six vulnerabilities in Linux shim that its maintainer Red Hat disclosed recently — and for which it has issued an update (shim 15.8). Bill Demirkapi, a researcher with Microsoft's Security Response Center who discovered the bug and reported it to Red Hat, has described it as every Linux bootloader signed in the past decade. OUT-OF-BOUNDS WRITE ERROR In its advisory Red Hat said the bug had to do with the shim boot code trusting attacker-controlled values when parsing an HTTP response. "This flaw allows an attacker to craft a specific malicious HTTP request, leading to a completely controlled out-of-bounds write primitive and complete system compromise." The National Vulnerability Database (NVD) and Red Hat had slightly different takes on the severity of the vulnerability and its exploitability. The NVD assigned the bug a near maximum severity rating of 9.8 out of 10 on the CVSS 3.1 scale and identified it as something that an attacker could exploit over the network with little complexity and requiring no user interaction or privileges. Red Hat gave the bug a more modest severity score of 8.3 and described it as exploitable only through an adjacent network and involving high attack complexity. It was an assessment that maintainers of the other affected Linux distros shared with Ubuntu, for instance, calling CVE-2023-40547 a "medium" severity bug and SUSE assigning it an "important" rating which typically is a notch lower than critical. Red Hat explained the different severity scores thusly: "CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors." Both the NVD and Red Hat though agreed on the vulnerability having a high impact on data confidentiality, integrity, and availability. A shim bootloader is basically a small app that loads prior to the main operating system bootloader on Unified Extensible Firmware Interface (UEFI)-based systems. It acts as a bridge between the UEFI firmware and the main OS bootloaders, which in the case of Linux, is typically GRUB or system-boot. Its function is to verify the main OS bootloader before loading and running it. MULTIPLE ATTACK VECTORS Researchers from software supply chain security vendor Eclypsium identified three different paths that an attacker could take to exploit the vulnerability. One is via a man-in-the-middle (MiTM) attack, where the adversary intercepts HTTP traffic between the victim and the HTTP server that serves the files to support HTTP boot. "The attacker could be located on any network segment between the victim and the legitimate server." An attacker with enough privileges on a vulnerable system could also exploit the vulnerability locally by manipulating data in Extensible Firmware Interface (EFI) variables or on the EFI partitions. "This can be accomplished with a live Linux USB stick. The boot order can then be changed such that a remote and vulnerable shim is loaded on the system." An attacker on the same network as the victim can also manipulate the pre-boot execution environment to chain-load a vulnerable shim bootloader, Eclypsium said. "An attacker exploiting this vulnerability gains control of the system before the kernel is loaded, which means they have privileged access and the ability to circumvent any controls implemented by the kernel and operating system," the vendor noted. EXAGGERATED SEVERITY? Some security experts, though, perceived the vulnerability as requiring a high degree of complexity and happenstance to exploit. Lionel Litty, chief security architect at Menlo Security, says the exploitation bar is high because the attacker would need to already have gained administrator privileges on a vulnerable device. Or they'd need to be targeting a device that uses network boot and also be able to perform a man-in-the-middle attack on the local network traffic of the targeted device. "According to the researcher who found the vulnerability, a local attacker can modify the EFI partition to modify the boot sequence to then be able to leverage the vulnerability," Litty says. "[But] modifying the EFI partition will require being a fully privileged admin on the victim machine," he says. If the device is using network boot and the attacker can do MITM on the traffic, then that's when they can target the buffer overflow. "They would return a malformed HTTP response that would trigger the bug and give them control over the boot sequence at this point," Litty says. He adds that organizations with machines using HTTP boot or pre-boot execution environment (PXE) boot should be concerned, especially if communication with the boot sever is in an environment where an adversary could insert themselves into the middle of traffic. Shachar Menashe, senior director of security research at JFrog, says Red Hat's assessment of the vulnerability's severity is more accurate than NVDs "over-exaggerated" score. There are two possible explanations for the discrepancy, he says. "NVD provided the score based on keywords from the description, and not a thorough analysis of the vulnerability," he says. For example, assuming that "malicious HTTP request" automatically translates to a network attack vector. NVD may also be alluding to an extremely unlikely worst-case scenario where the victim machine is already configured to boot via HTTP from a server outside the local network and the attacker already has control over this HTTP server. "This is an extremely unlikely scenario which would cause tons of trouble even unrelated to this CVE," Shachar says. ABOUT THE AUTHOR(S) Jai Vijayan, Contributing Writer Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year career at Computerworld, Jai also covered a variety of other technology topics, including big data, Hadoop, Internet of Things, e-voting, and data analytics. Prior to Computerworld, Jai covered technology issues for The Economic Times in Bangalore, India. Jai has a Master's degree in Statistics and lives in Naperville, Ill. See more from Jai Vijayan, Contributing Writer Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox. Subscribe You May Also Like -------------------------------------------------------------------------------- Vulnerabilities & Threats AlphaLock' Hacker Organization Launches Pen-Testing Training Group Vulnerabilities & Threats Virtual Alarm: VMware Issues Major Security Advisory Vulnerabilities & Threats Researchers Develop Exploit Code for Critical Fortinet VPN Bug Vulnerabilities & Threats Generative AI Projects Pose Major Cybersecurity Risk to Enterprises More Insights Webinars * Top Cloud Security Threats Targeting Enterprises Feb 08, 2024 * DevSecOps: The Smart Way to Shift Left Feb 14, 2024 * Making Sense of Security Operations Data Feb 21, 2024 * Your Everywhere Security Guide: 4 Steps to Stop Cyberattacks Feb 27, 2024 * API Security: Protecting Your Application's Attack Surface Feb 29, 2024 More Webinars Events * Cybersecurity's Hottest New Technologies - Dark Reading March 21 Event Mar 21, 2024 * Black Hat Asia - April 16-19 - Learn More Apr 16, 2024 * Black Hat Spring Trainings - March 12-15 - Learn More Mar 12, 2024 More Events EDITOR'S CHOICE NIST Cybersecurity Framework 2.0 wheel Cybersecurity Operations What's New in the NIST Cybersecurity Framework 2.0What's New in the NIST Cybersecurity Framework 2.0 byBecky Bracken, Editor, Dark Reading Aug 14, 2023 2 Min Read silhouetted people against red verizon logo backdrop Remote Workforce Verizon Employee Data Exposed in Insider Threat IncidentVerizon Employee Data Exposed in Insider Threat Incident byTara Seals, Managing Editor, News, Dark Reading Feb 6, 2024 2 Min Read Different-colored puzzle pieces making up a brain Cybersecurity Operations How Neurodiversity Can Help Fill the Cybersecurity Workforce ShortageHow Neurodiversity Can Help Fill the Cybersecurity Workforce Shortage byDr. Jodi Asbell-Clarke Feb 6, 2024 4 Min Read Apple logo on black screen with message "Installing Software Update" Cyberattacks & Data Breaches macOS Malware Campaign Showcases Novel Delivery TechniquemacOS Malware Campaign Showcases Novel Delivery Technique byJai Vijayan, Contributing Writer Feb 2, 2024 4 Min Read Reports * Passwords Are Passe: Next Gen Authentication Addresses Today's Threats * The State of Supply Chain Threats * How to Deploy Zero Trust for Remote Workforce Security * What Ransomware Groups Look for in Enterprise Victims * Forrester Report: The Total Economic Impact Of Bizagi's Low-Code Intelligent Process Automation Platform More Reports White Papers * Pixelle's OT Security Triumph with Security Inspection * 2023 Snyk AI-Generated Code Security Report * Migrations Playbook for Saving Money with Snyk + AWS * Buyer's Guide: Choosing a True DevSecOps Solution for Your Apps on AWS * 2023 Software Supply Chain Attack Report More Whitepapers Events * Cybersecurity's Hottest New Technologies - Dark Reading March 21 Event Mar 21, 2024 * Black Hat Asia - April 16-19 - Learn More Apr 16, 2024 * Black Hat Spring Trainings - March 12-15 - Learn More Mar 12, 2024 More Events DISCOVER MORE WITH INFORMA TECH Black HatOmdia WORKING WITH US About UsAdvertiseReprints JOIN US Newsletter Sign-Up FOLLOW US Copyright © 2024 Informa PLC Informa UK Limited is a company registered in England and Wales with company number 1072954 whose registered office is 5 Howick Place, London, SW1P 1WG. Home|Cookie Policy|Privacy|Terms of Use Cookies Button ABOUT COOKIES ON THIS SITE We and our partners use cookies to enhance your website experience, learn how our site is used, offer personalised features, measure the effectiveness of our services, and tailor content and ads to your interests while you navigate on the web or interact with us across devices. You can choose to accept all of these cookies or only essential cookies. To learn more or manage your preferences, click “Settings”. For further information about the data we collect from you, please see our Privacy Policy Accept All Settings COOKIE PREFERENCE CENTER When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer. More information Allow All MANAGE CONSENT PREFERENCES STRICTLY NECESSARY COOKIES Always Active These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information. Cookies Details PERFORMANCE COOKIES Performance Cookies These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance. Cookies Details FUNCTIONAL COOKIES Functional Cookies These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly. Cookies Details TARGETING COOKIES Targeting Cookies These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Cookies Details Back Button BACK Search Icon Filter Icon Clear checkbox label label Apply Cancel Consent Leg.Interest checkbox label label checkbox label label checkbox label label * View Cookies * Name cookie name Confirm My Choices