Hacking

CVE-2019-2114 flaw allows hackers to plant malware on Android devices via NFC beaming

A vulnerability affecting devices running Andoid 8 (Oreo) or later, tracked as CVE-2019-2114, could be exploited by hackers to infect them via NFC beaming.

Google has recently released a patch to address a vulnerability affecting devices running Android 8 (Oreo) or later, tracked as CVE-2019-2114, that could be exploited to infect nearby phones via NFC beaming.

The Android Beam feature is available in the Android NFC framework and allows users to transfer large files between devices. The feature implements a simple API and allows users to start the transfer process by simply touching devices, then Android Beam file transfer automatically copies files from one device to the other and notifies the user when it’s finished.

When transferring APK files via NFC beaming, they are stored on disk and a notification is displayed to the users asking them permission to allow the NFC service to install an app from an unknown source.

Earlier this year, security expert Y. Shafranovich discovered sending APK files via NFC beaming on Android 8 or later versions would not display any security warning to the users. The researcher noticed that notification would allow the user to install the app with just one tap.

This behavior stems from the ability to allow specific apps to install other apps in the most recent version of the Android OS and Android Beam has the same level of trust as the official Play Store app this means that it could allow installing any app from an unknown source.

Clearly, it was an unwanted behavior that Google fixed with October 2019 Android patches. The patch removed the Android Beam service from the OS whitelist of trusted sources.

Experts pointed out that an impressive number of Android devices having both NFC and the Android Beam services enabled could be compromised, a nearby attacker could exploit the CVE-2019-2114 flaw to plant malware on vulnerable phones.

“In Android 8 (Oreo) a new feature was introduced that requires users to opt-in to the “Install unknown apps” permission on a app by app basis. However, it appears that any system application that is signed by Google will be automatically whitelisted and would not prompt the user for this permission. On a standard Android OS device, the NFC service is one such system application that has the permission to install other applications.” reads the analysis published by NightWatchCybersecurity “This means, that an Android phone that has NFC and Android Beam enabled, then touching a malicious phone or a malicious NFC payment terminal to the device may allow malware to be installed by bypassing the “install unknown apps” prompt.”

Even is the NFC feature is enabled by default on new Android devices, in order to transfer a file via NFC the attacker has to at a distance of 4 cm (1.5 inches) or smaller, an attack scenario that is not always feasible.

[adrotate banner=”9″] [adrotate banner=”12″]

Pierluigi Paganini

(SecurityAffairs – CVE-2019-2114, hacking)

[adrotate banner=”5″]

[adrotate banner=”13″]

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

Nova Scotia Power discloses data breach after March security incident

Nova Scotia Power confirmed a data breach involving the theft of sensitive customer data after…

10 hours ago

Coinbase disclosed a data breach after an extortion attempt

Coinbase confirmed rogue contractors stole customer data and demanded a $20M ransom in a breach…

12 hours ago

U.S. CISA adds a Fortinet flaw to its Known Exploited Vulnerabilities catalog

U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds a Fortinet vulnerability to its Known Exploited Vulnerabilities…

22 hours ago

Kosovo authorities extradited admin of the cybercrime marketplace BlackDB.cc

Kosovar citizen extradited to the US for running the cybercrime marketplace BlackDB.cc appeared in federal…

23 hours ago

U.S. CISA adds Microsoft Windows flaws to its Known Exploited Vulnerabilities catalog

U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds Microsoft Windows flaws to its Known Exploited…

1 day ago

Ivanti fixed two EPMM flaws exploited in limited attacks

Ivanti addressed two Endpoint Manager Mobile (EPMM) software vulnerabilities that have been exploited in limited…

2 days ago