Three security flaws have been identified in audio decoders manufactured by Qualcomm and MediaTek chips. If left unresolved an adversary could gain remote access to audio and media conversations on affected mobile phones.
According to Israeli cybersecurity company Check Point, the issues could be used as a launchpad to carry out remote code execution (RCE) attacks simply by sending a specially crafted audio file.
“The impact of an RCE vulnerability can range from malware execution to an attacker gaining control over a user’s multimedia data, including streaming from a compromised machine’s camera,” the researchers said in a report shared with The Hacker News.
“An unprivileged Android application could also use these vulnerabilities in order to increase its privileges, gain access to user conversations and media data. “
The vulnerabilities are rooted in an audio coding format originally developed and open-sourced by Apple in 2011. Called the Apple Lossless Audio Codec (ALAC) or Apple Lossless, the audio codec format is used for lossless data compression of digital music.
Since then, several third-party vendors, including Qualcomm and MediaTek, have incorporated the Apple-supplied reference audio codec implementation as the basis for their own audio decoders.
And while Apple has consistently patched and remediated security flaws in its proprietary version of ALAC, the open-sourced variant of the codec has not received a single update since it was uploaded to GitHub 11 years ago on October 27, 2011.
- CVE-2021-0674 (CVSS score: 5. 5, MediaTek) – A case of improper input validation in ALAC decoder leading to information disclosure without any user interaction
- CVE-2021-0675 (CVSS score: 7. 8, MediaTek) – A local privilege escalation flaw in ALAC decoder stemming from out-of-bounds write
- CVE-2021-30351 (CVSS score: 9. 8, Qualcomm) – An out-of-bound memory access due to improper validation of number of frames being passed during music playback
In a proof-of-concept exploit devised by Check Point, the vulnerabilities made it possible to “steal the phone’s camera stream,” said security researcher Slava Makkaveev, who is credited with discovering the flaws alongside Netanel Ben Simon.
Following responsible disclosure, all the three vulnerabilities were closed by the respective chipset manufacturers in December 2021.
“The vulnerabilities were easily exploitable,” Makkaveev explained. A threat actor might have sent a media file (a song) to a victim and, if it was opened by the victim, could have infected code into the privileged service. A threat actor might have been able to see what the user’s mobile phone shows. “