CyanogenMod developers remove code that logged device screen-lock patterns

An unwanted line of code in the CyanogenMod Android firmware posed security risks by logging device screen-lock patterns

The development team of CyanogenMod, a popular community-built Android firmware, discovered and removed a line of code that posed potential security risks because it logged and stored device screen-lock patterns in a file.

The unwanted line of code was added back in August in CyanogenMod version 10, which is based on Android 4.1 (Jelly Bean), as part of a new feature that allowed the size of the lock screen's dot grid to be configurable -- for example from the default 3x3 size to 6x6.

"The line of code has been introduced by a respectable member of the Cyanogen community and I don't suspect it has been added with malicious intent," Bogdan Botezatu, a senior e-threat analyst at antivirus vendor Bitdefender, said Tuesday via email. "Most probably, it is a snippet of code used during debugging and forgotten when committing the code."

However, the presence of the code does pose some security risks, Botezatu said. For example, if a locked device is lost or stolen and that device is rooted, which is the case for many CyanogenMod devices, the log file containing its unlock swipe pattern can easily be read by connecting the device to a computer and using the Android Debug Bridge (ADB) command line tool.

A jealous spouse could also use this simple method to learn the screen unlock pattern for their partner's phone and later snoop on their phone call history, emails, private social networking chats, etcetera, Botezatu said. "GPS tracking or keylogging applications can also be installed while the phone is unlocked."

This case is the best example of how a simple line of forgotten code can cause a chain reaction that results in the theft of personal information or invasion of privacy, Botezatu said.

The problematic line of code was spotted and removed by CyanogenMod developer Gabriel Castro on Sunday. "I'm really surprised nobody caught this," he wrote in his patch comments.

Users of CyanogenMod 10 who are concerned about this bug affecting their privacy or security should upgrade to the latest nightly build available for their device model.

According to statistics, the official builds of CyanogenMod are installed on 1,137,335 devices and unofficial builds on 1,366,560 devices. The nightly builds of CyanogenMod 10 are currently the most popular versions of CyanogenMod and account for over 240,000 official installs.

Tags Android OSsecuritymobile securitydata protectionExploits / vulnerabilitiesbitdefenderprivacy

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Lucian Constantin

IDG News Service

Comments

Comments are now closed.

Most Popular Reviews

Follow Us

Best Deals on GoodGearGuide

Shopping.com

Latest News Articles

Resources

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?