Security Market Segment LS
Wednesday, 16 November 2016 12:49

Flaw in encryption script leaves Linux exposed


Researchers have discovered a vulnerability in Cryptsetup, which is used to encrypt disks in Linux systems, that can lead to an attacker gaining a root shell.

The actual flaw lies in the scripts that set up Linux Unified Key Setup or encryption of the system partition.

Hence this is only exploitable if one has encrypted the system partition while installing Linux. This option is available to Debian and Ubuntu users.

One needs physical access to a machine to exploit this; however, it can be exploited remotely in the case of a cloud environment.

The flaw is caused by incorrect handling of the password check in a script file. When the user exceeds the number of tries allowed, the boot sequence continues normally and continues to try and mount the encrypted partition.

Each time the system tries to mount the partition the user gets more password tries. But finally when the maximum for this is reached, the user is dropped to a root shell. One can thus just hold down the enter key and after a while this shell will appear.

Data is not at risk of theft as the disk has been encrypted. But since the boot partition is typically unencrypted, it can be used to store an executable file with the SetUID option. A local user can then use this later to elevate privileges.

Further, any other disks on the system can be accessed. The encrypted partition can be copied over as well and a brute-force attack can be carried out to access the contents.

Subscribe to ITWIRE UPDATE Newsletter here


The much awaited iTWire Shop is now open to our readers.

Visit the iTWire Shop, a leading destination for stylish accessories, gear & gadgets, lifestyle products and everyday portable office essentials, drones, zoom lenses for smartphones, software and online training.

PLUS Big Brands include: Apple, Lenovo, LG, Samsung, Sennheiser and many more.

Products available for any country.

We hope you enjoy and find value in the much anticipated iTWire Shop.



iTWire TV offers a unique value to the Tech Sector by providing a range of video interviews, news, views and reviews, and also provides the opportunity for vendors to promote your company and your marketing messages.

We work with you to develop the message and conduct the interview or product review in a safe and collaborative way. Unlike other Tech YouTube channels, we create a story around your message and post that on the homepage of ITWire, linking to your message.

In addition, your interview post message can be displayed in up to 7 different post displays on our the site to drive traffic and readers to your video content and downloads. This can be a significant Lead Generation opportunity for your business.

We also provide 3 videos in one recording/sitting if you require so that you have a series of videos to promote to your customers. Your sales team can add your emails to sales collateral and to the footer of their sales and marketing emails.

See the latest in Tech News, Views, Interviews, Reviews, Product Promos and Events. Plus funny videos from our readers and customers.


Sam Varghese

Sam Varghese has been writing for iTWire since 2006, a year after the site came into existence. For nearly a decade thereafter, he wrote mostly about free and open source software, based on his own use of this genre of software. Since May 2016, he has been writing across many areas of technology. He has been a journalist for nearly 40 years in India (Indian Express and Deccan Herald), the UAE (Khaleej Times) and Australia (Daily Commercial News (now defunct) and The Age). His personal blog is titled Irregular Expression.

Share News tips for the iTWire Journalists? Your tip will be anonymous




Guest Opinion

Guest Interviews

Guest Reviews

Guest Research

Guest Research & Case Studies

Channel News