This dangerous Android security bug could let anyone hack your phone camera

(Image credit: Shutterstock.com)

Experts have warned about severalnew  vulnerabilities affecting Google and Samsung smartphones which could allow an attacker to take control of a device's camera app to remotely take photos, record video and even spy on user's conversations and location.

The flaws were discovered by the Checkmarx security research team, which initially began researching the Google Camera app on a Pixel 2XL and Pixel 3 when they discovered multiple vulnerabilities stemming from permission bypass issues. 

Checkmarx dug further and found that these same vulnerabilities also impact Samsung's camera app and other Android smartphone vendors as well.

Director of security research at Checkmarx, Erez Yalon and senior security researcher at the company, Pedro Umbelino explained how they were able to use a rogue app to gain control of the Google Camera app in a blog post, saying:

“After a detailed analysis of the Google Camera app, our team found that by manipulating specific actions and intents, an attacker can control the app to take photos and/or record videos through a rogue application that has no permissions to do so."

"Additionally, we found that certain attack scenarios enable malicious actors to circumvent various storage permission policies, giving them access to stored videos and photos, as well as GPS metadata embedded in photos, to locate the user by taking a photo or video and parsing the proper EXIF data. This same technique also applied to Samsung’s Camera app.”

Camera app vulnerabilities

In order to exploit the vulnerabilities its team found in the Google Camera app, Checkmarx developed a malicious application as a proof of concept exploit. The weather app it created did not require any special permissions besides basic storage access which is a commonplace permission requested by many other apps on the Google Play Store.

However, in addition to its weather app, Checkmarx also set up a command and control server which the app connects to for the purpose of carrying out an attacker's bidding. Once the app is installed and has been opened on a user's device, it creates a persistent connection to the command and control server and waits for instructions.

Even if a user were to close the app, it would still be connected to the server and an attacker could command it to take a photo, record video, record audio from voice calls, capture GPS tags from photos and access the data stored on the device. All of the photos and videos taken by the app would then be uploaded to the server.

The proof of concept exploit created by Checkmarx would even allow an attacker to record video and take photos if the smartphone was locked.

Both Google and Samsung have issued fixes for the vulnerabilities and to prevent falling victim to a similar attack, users should update their devices to the latest version of Android, check to make sure that the latest available security patches have been applied and update their camera app as well. 

Via Forbes

TOPICS
Anthony Spadafora

After working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches and ransomware gangs to the best way to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home. 

Latest in Security
China
Chinese hackers targeting Juniper Networks routers, so patch now
Google Chrome dark mode
Google updates Chrome extension rules to ban affiliate link injection without user action or benefit
Abstract image of robots working in an office environment including creating blueprint of robot arm, making a phone call, and typing on a keyboard
This worrying botnet targets unsecure TP-Link routers - thousands of devices already hacked
Avast cybersecurity
UK cybersecurity sector could be worth £13bn, research shows
An option to add Ambient Music buttons to the iOS 18.4 Control Center.
Apple fixes dangerous zero-day used in attacks against iPhones and iPads
Trump
Hackers are abusing $TRUMP tokens to lure victims in to new phishing scam
Latest in News
Google Gemini Robotics
Gemini just got physical and you should prepare for a robot revolution
Lilo & Stitch Official Trailer
Stitch crashes into earth and steals our hearts with the first trailer for the live-action Lilo & Stitch
GTA 5
GTA Online publisher Take-Two is gunning for a black market that’s basically heaven for cheaters
Y2K cast looking shocked
Y2K has a streaming release date on Max, so you can witness the technology uprising at home
The Discovery+ homepage
Discovery+ just got a big update to its streaming app that makes it more like Max – here are 5 great new features to try
Two Android phones on a green and blue background showing Google Messages
Struggling with slow Google Messages photo transfers? Google says new update will make 'noticeable difference'