Use of Implicit intent to send a broadcast with sensitive data
The com.insecureshop.AboutUsActivity
contains the following code:
The above code defines an action com.insecureshop.action.BROADCAST
and use implicit intent to send a broadcast containing username
and password
of the logged-in user.
Note (If you are exploiting this on Android version 7 and above):
On Android O, code like this no longer works the way that you expect:
Normally, this broadcast would be received by all receivers that are registered for that custom action string. Even on O, two sets of receivers will still receive the broadcast:
Those whose apps have
targetSdkVersion
of 25 or lowerThose that were registered via
registerReceiver()
of some already-running process
To use Implicit Receivers in your application, you need to define them programmatically in your code, using registerReceiver()
.
Reference:
Last updated