HexBrain

Mapbox · Report #192886

Mapbox Android SDK uses Broadcast Receiver instead of Local Broadcast Manager

Validstatus
lowseverity
$1,000bounty
11upvotes
21 Mar 2017disclosed

Summary

Security researcher @mishre reported that the Mapbox Android SDK was using the Broadcast Receiver for location services requests and recommended that the switch be made to use the Local Broadcast Manager. The Local Broadcast Manager offers more granular control of broadcast permissions, as well as performance enhancements.

As part of the Mapbox Android SDK 5.x milestone, we had identified this feature of the SDK for refactoring and improvement. @mishre’s research highlighted the performance and security benefits of this switch and their recommendations were implemented in the Mapbox Android SDK 4.2.1 update, released December 22, 2016 (see Release Notes).

We recommend that all Android SDK users update to v4.2.1 or later. Mapbox Android SDK v4.2.1 uses the Local Broadcast Manager instead of the Broadcast Receiver. This change limits broadcasts of location data to local objects within the application's process.

Thank you again @mishre. This was a well researched and high quality report.

For more information on these specific Android API calls please see: BroadcastReceiver and LocalBroadcastManager.

How it was found

The write-up for this report has not been downloaded yet, or the program disclosed it without one. Read it on HackerOne.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original