Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

[Security issue] Leakage of all pushes to third-party apps #648

Closed
@bagipro

Description

@bagipro

https://github.com/zo0r/react-native-push-notification/blob/master/android/src/main/java/com/dieam/reactnativepushnotification/modules/RNPushNotificationHelper.java#L311
https://github.com/zo0r/react-native-push-notification/blob/master/android/src/main/java/com/dieam/reactnativepushnotification/modules/RNPushNotificationRegistrationService.java#L36

All your users are vulnerable to this bug. I submitted an email to you a few months ago, but no fix/response was received.

You don't specify broadcast receiver in the broadcasts above. It means that any app installed on the same device can intercept those broadcasts, so all pushes from server are leaked to third parties. Use methods like Intent.setPackage() or Intent.setClass() etc to prevent broadcast interception

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions