firebase / quickstart-ios

Firebase Quickstart Samples for iOS
https://firebase.google.com
Apache License 2.0
2.8k stars 1.47k forks source link

Insecure IPC: Missing Sender Verification #1591

Open Sneha0523 opened 6 months ago

Sneha0523 commented 6 months ago

Summary The application fails to verify the sender of a URL-based Inter-Procedure Communication (IPC) call.

Explanation When a third party application or webview uses a URL to communicate with your application, the receiving application should verify that the sender matches an allow list of applications that are expected to communicate with it. The receiving application has the option to verify the origin of the calling URL using the UIApplicationDelegate application:openURL:options: or UIApplicationDelegate application:openURL:sourceApplication:annotation: delegate methods. Best practices dictate that we should always verify the sender of an IPC call and check it against a list of expected origins as a security-in-depth control.

Screenshot 2024-05-28 at 2 55 17 PM Screenshot 2024-05-28 at 2 50 15 PM