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 CSO newsletter!

Error: Please check your email address.

More about Hewlett PackardHewlett Packard EnterpriseHoneywellMellonQualcommSiemens

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Lucian Constantin

Latest Videos

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

  • 150x50

    IDG Live Webinar:The right collaboration strategy will help your business take flight

    Speakers - Mike Harris, Engineering Services Manager, Jetstar - Christopher Johnson, IT Director APAC, 20th Century Fox - Brent Maxwell, Director of Information Systems, THE ICONIC - IDG MC/Moderator Anthony Caruana

    Play Video

More videos

Blog Posts

Market Place