Hacking Instagram by sending an image!

Technical details about a high-severity vulnerability in its Instagram app for Android and iOS show how a malicious user could exploit it to gain full control over the victim's account.

For this technique to work, the malicious user will need to send a specially crafted image to the target via a shared messaging platform or via email.

The issue was how to parse images from Instagram, as long as the app has access to it to display it as in a post. Then the vulnerability would start by allowing dangerous actions.

Technically, vulnerability is a buffer overflow (CVE-2020-1895) that happens when Instagram tries to upload a bigger image believing it is smaller.

Facebook fixed the problem in the spring, after the company disclosed and issued safety advice to deal with it.

In a detailed technical report today, Gal Elbaz of Check Point points out how custom third-party code implementation on Instagram could lead to serious, remote code execution risks.

The weak point, in this case, was a fixed hardcoded value that Instagram developers added when integrating Mozjpeg, an open source JPEG encoder that Mozilla modified libjpeg-turbo to better of JPEGs.

Check Point began testing Mozjpeg for potential flaws that could be meaningfully exploited. The purpose was to find out if Instagram could be affected by the .

They found that the function that handles image sizes when analyzing JPEGs had an error that caused memory allocation problems during the decompression process.

This could be used to damage memory, which can have dangerous consequences. At best, this type of error could throw Instagram, but if exploitable, it can lead to critical risks.

According to Check Point, Instagram has extensive permissions on the device, which include access to contacts, storage, device location, camera and microphone.

So in addition to checking the device owner's Instagram, a hacker could use the device as a spy tool without suspicion.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.086 registrants.

Written by Anastasis Vasileiadis

Translations are like women. When they are beautiful they are not faithful and when they are faithful they are not beautiful.

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).