Devices with Qualcomm modems safe from critical ASN.1 telecom flaw

The ASN.1 data parsing vulnerability exists in the baseband of Qualcomm modems, but cannot be exploited

Despite initial concerns, smartphones equipped with Qualcomm modems are not vulnerable to a recently announced vulnerability that could potentially allow attackers to take over cellular network gear and consumer mobile devices.

The vulnerability was discovered in ASN1C, a popular compiler that produces C code for parsing ASN.1 encoded data. Abstract Syntax Notation One (ASN.1) is a standard for representing, encoding, transmitting, and decoding data in telecommunications and computer networking.

Many devices, from mobile phones to switching equipment inside cellular infrastructure parse ASN.1 data and do so using programs that were created by compilers such as ASN1C, which is developed by U.S.-based Objective Systems.

Researchers from the Programa STIC at the Fundación Sadosky in Argentina found a security issue in ASN1C that causes the code generated by the compiler to be vulnerable to a heap overflow. The flaw could allow attackers to remotely execute rogue code inside the firmware of devices that use ASN1C code.

The CERT Coordination Center (CERT/CC) at Carnegie Mellon University published a security advisory about the flaw last week accompanied by a long list of vendors who have products that could potentially be affected. While the vulnerability status for most of those vendors was listed as "unknown," Qualcomm was originally listed as affected. The company has since been moved into the "not affected" category, along with Hewlett Packard Enterprise, Honeywell and Siemens.

The vulnerable ASN1C code was present in Qualcomm's cellular stack, but was not exploitable because of a separate ASN.1 data encoding rule, a Qualcomm representative said via email. In order to exploit the vulnerability, "an attacker needs to send a large value in a specially crafted network signaling message, but the encoding rule specified in the 3G/4G standards and in our products does not allow such a large value to get through."

Specifically, if a device with a Qualcomm modem receives a very large value in a signalling message, like the one required to exploit the flaw, the firmware will truncate that value. This means that attackers can't attack devices with Qualcomm 3G/4G modems.

It's not clear if this ASN.1 encoding rule and subsequent data truncation is enforced by devices from other vendors as well.

In theory the flaw can be used to attack both network-level equipment, which would likely require knowledge of the particular set-up of the targeted network, as well as end-user devices, which could be done through rogue base stations -- fake cell towers that trick phones to temporarily register with them.

Software systems that use ASN.1 parsing code generated with the ASN1C compiler for C/C++ version 7.0 or below could be affected, the Programa STIC researchers said. Objective Systems developed a patch that will be included in the compiler's upcoming 7.0.2 release. The company's customers can request a fixed interim version in the meantime.

Join the PC World newsletter!

Error: Please check your email address.

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

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

Lucian Constantin

IDG News Service
Show Comments

Essentials

Microsoft L5V-00027 Sculpt Ergonomic Keyboard Desktop

Learn more >

Lexar® JumpDrive® S57 USB 3.0 flash drive

Learn more >

Mobile

Lexar® JumpDrive® S45 USB 3.0 flash drive 

Learn more >

Exec

Lexar® JumpDrive® C20c USB Type-C flash drive 

Learn more >

Lexar® Professional 1800x microSDHC™/microSDXC™ UHS-II cards 

Learn more >

Audio-Technica ATH-ANC70 Noise Cancelling Headphones

Learn more >

HD Pan/Tilt Wi-Fi Camera with Night Vision NC450

Learn more >

Budget

Back To Business Guide

Click for more ›

Most Popular Reviews

Latest News Articles

Resources

PCW Evaluation Team

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?