Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Cryptsetup Flaw Exposes Linux Systems to Attacks

A vulnerability related to the disk encryption utility Cryptsetup can expose some Linux systems to local and remote attacks, but the developers of the affected distributions see it as a low-risk issue.

A vulnerability related to the disk encryption utility Cryptsetup can expose some Linux systems to local and remote attacks, but the developers of the affected distributions see it as a low-risk issue.

The flaw, discovered by researchers Hector Marco and Ismael Ripoll, can allow attackers to gain root access, and copy or alter data on the hard disk. The weakness, identified as CVE-2016-4484, can be exploited by an attacker with physical access to the targeted system simply by holding down the “Enter” key for roughly 70 seconds at boot.

The vulnerability exists when the system partition is encrypted using the Linux Unified Key Setup (LUKS) disk encryption standard. Due to incorrect handling of password checks, on x86 systems, users are allowed to attempt 93 LUKS passwords at boot. Once this limit is reached, the system opens a BusyBox shell.

Simply put, if the attacker enters a blank password 93 times – or holds down the “Enter” key for roughly 70 seconds – they gain access to a root shell.

According to Marco and Ripoll, a local attacker who has the ability to reboot the system can exploit this flaw for privilege escalation, to copy information from unencrypted partitions, or disrupt the system by deleting files. The experts believe the vulnerability is particularly dangerous for protected systems, such as Internet, airport, tourist, financial and other types of interactive kiosks that have a keyboard and/or a mouse.

“The vulnerability is very reliable because it doesn’t depend on specific systems or configurations,” the researchers said. “Attackers can copy, modify or destroy the hard disc as well as set up the network to exfiltrate data.”

While the most obvious attack scenario requires physical access to the targeted machine, the researchers believe the vulnerability can also be exploited remotely in cloud environments.

The experts have confirmed that the flaw affects Debian, Ubuntu and Fedora, but they believe other distributions could be impacted as well. The issue has been fixed in version 2:1.7.3-2 of the cryptsetup package, but the fix has not been rolled out to stable releases. Debian developers believe the flaw has “negligible security impact,” while Canonical has classified it as a low-priority brute-force attack issue. A patch and a workaround have also been made available by the researchers.

Advertisement. Scroll to continue reading.

Last year, Marco and Ripoll reported finding a GRUB2 bootloader vulnerability that allowed attackers to bypass authentication.

UPDATE. CryptSetup developers said the vulnerability does not affect their project:

“This is problem in intramfs scripts only (these are not part of cryptsetup project), it is neiter bug in cryptsetup nor in LUKS. Some distributions could add these scripts to distributed package, please check your distro updates for more info.”

Written By

Eduard Kovacs (@EduardKovacs) is a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

Cody Barrow has been appointed as CEO of threat intelligence company EclecticIQ.

Shay Mowlem has been named CMO of runtime and application security company Contrast Security.

Attack detection firm Vectra AI has appointed Jeff Reed to the newly created role of Chief Product Officer.

More People On The Move

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Vulnerabilities

A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

IoT Security

A vulnerability affecting Dahua cameras and video recorders can be exploited by threat actors to modify a device’s system time.