Android Application Security Vulnerability : Hacking Twitter Vine app

. 2 min read

This blog post shares one of the Android application security vulnerability we discovered around a year back in 2014. Attify has been in business for the last couple of years, and the fact is not a lot has changed in the Android App Security since then. 

Even though there have been numerous platform security improvements along the Android development curve, application developers tend to make the same mistake again and again.

Here at Attify, we review a lot of Android applications security vulnerabilities. Read more about Android application pentesting services here.

What is Vine

Vine is an application by Twitter, with which you can record and share short video clips. 

Vine mobile application security

What was the Android Application security vulnerability

The vulnerability falls in the category of **Insecure Data Storage in Mobile apps **for Android Application Security which has been categorised in OWASP Mobile Top 10 – M2 .

When you record videos, Vine application stores it on the device. And since it immediately posts it to the server, it deletes the local instance. Looks pretty good so far.

However, in between the time you record the video and Vine publishes it online, it’s stored on the device in SDCard or the External Storage. The file permissions for this file being stored in the external storage is world readable and writeable.

A quick search for ExternalStorage leads you to several instances of it being used, which when looked deeper would resolve to how the application is storing the file temporarily on the SDCard. 

External Storage Twitter Vine app vulnerability

We identified it both automatically using using AppWatch as well as using hooking for the file system r/w.  

Reporting the vulnerability to Twitter

I reported the Android application security vulnerability to Twitter using HackerOne platform – which was my first and only encounter of the Hackerone platform (since I no longer do bug bounties). I found the platform to be really nice and easy to use. Charlie Miller reviewed my bug and paid us a bounty of $980 for this one.

Below is a screenshot of the conversation :

HackerOne Twitter vulnerability report of twitter vine app

Find the POC explaining the vulnerability below :

[embedyt] http://www.youtube.com/watch?v=aNikXeXrt7A[/embedyt]

We will cover more instances of Insecure Data Storage in Android apps in one of our upcoming blog posts. But this post should serve as a good example of how **not **to store any sensitive data on the file system.

We are conducting Android and iOS Application security training at different locations in US, Australia, Netherlands, UK and UAE. Register for a live Mobile Application Security and Exploitation training at your organisation by contacting us here or sending us an email at secure [at] attify.com .

[contact-form to=’adi@attify.com’ subject=’Security Training Query’][contact-field label=’Name’ type=’name’ required=’1’/][contact-field label=’Official Email’ type=’email’ required=’1’/][contact-field label=’Query regarding training or pentesting services’ type=’textarea’ required=’1’/][/contact-form]



Attify Team

IoT Security and Penetration Testing

Get IoT Security Training

IoT Pentesting Exploitation Training

Tags

analog modulation Android android application security android hands on security and exploitation training android security Apktool application auditing application security auditing appsec usa appwatch arduino nano arm ARM binaries ARM course ARM exploitation book ARM exploitation video training ARM gadgets ARM Training attify attify badge attify training best security practices biggest iot attacks of all time binwalk blackberry pentesting blackhat ble BLE attacks BLE dangers BLE hacking and exploitation BLE security issues BLE sniffing BLE vulnerabilities bleah bluetooth technology box brut Exception BtleJuice capture radio traffic career in cybersecurity CCTV cameras challenges in iot retail chroot cloud based mobile application security scanner consulting CTF cyber attacks cybersecurity Damn Vulnerable iOS App dangers of iot DDoS attacks devops digital modulation dumping memory embedded hacking expert Exploit ARM devices exploitation exploiting ble exploiting smart devices firmadyne firmware analysis toolkit firmware emulation Firmware hacking firmware reverse engineering Flare-on frida getting started with firmware hacking GSMA guide to ARM exploitation hacked security IP cameras hacked smart devices hackers hackfest hacking smart devices healthcare business protection against iot threats healthcare cyber security how can healthcare fight iot threats How Mirai botnet infects your device How Mirai works how retail can prevent cyber attacks how to exploit ble how to hack radio waves how to protect iot devices how to secure iot device IDA internet of things Internet of Things Security internet security ios application security ios security iot iot attacks iot bots, malwares iot device IoT Devices IoT Exploitation iot hacking iot hacks IoT hacks on ARM devices iot penetration testing iot pentest iot pentesting iot security IoT security guidelines iot security training iot threats iot threats to healthcare industry iotsecurity IP cameras jtag jtag debugging latest iot attacks learn ARM exploitation measures to prevent cyber attacks on healthcare organisations Mirai Botnet mirai history mobile app mobile application security mobile application security testing mobile security monitor iot devices Mozilla network security in retail ninja recon technique NIST offensive iot exploitation ola cabs owasp owasp appsec penetration testers penetration testing pentesting pentesting mobile apps phishing attacks powerofcommunity PrinterSecurity privacy protection profession professional qemu quizup radio communication protocol radio coomunication radio waves hacking recent ARM attacks recent cyber attacks recent iot attacks recent security camera attacks retail iot Reversing safety measures to protect privacy sdr secure coding guidelines security security cameras security challenges in retail IoT security in healthcare iot security issue security issues faced by e-retailers security services security training security vulnerability setup smart devices smart user security social networking spi steps to prevent iot attacks on healthcare surveillance cameras hijacked threat modeling tools to exploit ble training uart Understanding Mirai Botnet virus vulnerabilities discovered in popular IoT IP cameras vulnerabilities in internet connected cameras vulnerability vulnerable ARM devices What is mirai botnet? why choose career in cybersecurity writeups xposed hooking zigbee zigbee exploitation zigbee security zwave

Instagram