Skip to content
Mobile Write-up Intermediate

Vulnerability Details

The NFC Service system app on Android 8 and later was automatically allowed to install applications, so beaming an APK over Android Beam skipped the 'Install unknown apps' prompt. An attacker with a malicious phone or NFC terminal could get a victim to install malware after the victim tapped the completed transfer.

Nightwatch Cybersecurity Follow

Published on wwws.nightwatchcybersecurity.com

Affected versions of Android areversion 8 (Oreo) and higher. The vendor assigned CVE-2019-2114 to track this issue and released a fix in the October 2019 security bulletin.

Nightwatch Cybersecurity (@nightwatchcyber), on wwws.nightwatchcybersecurity.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the NFC Service, as a Google-signed system app, was automatically whitelisted for the 'Install unknown apps' permission, so it could install beamed APKs without the per-app user prompt.

Impact

An attacker with a malicious phone or NFC payment terminal could bypass the 'Install unknown apps' prompt and get malware installed on a nearby Android 8+ device, though the victim still had to tap the transfer notification and the file.

What the attacker needed

Android 8 (Oreo) or higher; NFC and Android Beam enabled on victim device; Attacker has a malicious phone or NFC terminal; Victim taps the transfer notification and file

The fix

Google fixed this in the October 2019 security bulletin; after updating, users should check that NFC Service is set to 'not allowed' to install apps.

How it was found

  1. Set up two phones with NFC and Android Beam enabled.
  2. Download an APK file on the sender phone.
  3. In the file manager on the sender phone, tap the file, choose Share, then Android Beam.
  4. Bring the two phones together and complete the transfer.
  5. On the receiver phone, tap the 'Beam completed' notification and then tap the file; it goes straight to the install prompt, skipping the 'Install unknown apps' check.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Android normally asks you to allow each app before it can install other apps. The NFC Service, which handles short-range transfers like Android Beam, was already allowed to install apps without asking. So if someone beamed a malicious app to your phone, tapping the transfer notification could install it without the usual warning.

What is Mobile?

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.

More by Nightwatch Cybersecurity

View all

4 more disclosed reports, best first.

More from Google

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Mobile app vulnerabilities

The lesson behind this report.

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.