Rapid7 Vulnerability & Exploit Database

Android Janus APK Signature bypass

Back to Search

Android Janus APK Signature bypass

Disclosed
07/31/2017
Created
11/07/2019

Description

This module exploits CVE-2017-13156 in Android to install a payload into another application. The payload APK will have the same signature and can be installed as an update, preserving the existing data. The vulnerability was fixed in the 5th December 2017 security patch, and was additionally fixed by the APK Signature scheme v2, so only APKs signed with the v1 scheme are vulnerable. Payload handler is disabled, and a multi/handler must be started first.

Author(s)

  • GuardSquare
  • V-E-O
  • timwr
  • h00die

Platform

Android

Architectures

dalvik

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/android/local/janus
msf exploit(janus) > show targets
    ...targets...
msf exploit(janus) > set TARGET < target-id >
msf exploit(janus) > show options
    ...show and set options...
msf exploit(janus) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;