【问题标题】:How to solve Intent Redirection Vulnerability in android apk?如何解决android apk中的意图重定向漏洞?
【发布时间】:2020-08-09 22:47:48
【问题描述】:

我在 Unity 中创建了我的应用程序,然后导出了项目,然后我在 Android Studio 中生成了签名的 apk。

我想将我的应用上传到 Google Play 商店,但由于安全漏洞而被拒绝。

漏洞是Intent Redirection,建议我执行以下步骤之一: https://support.google.com/faqs/answer/9267555

我的应用使用 firebase(db 和 auth),我想这可能会导致漏洞(但我不确定,因为我在 Play 控制台中的警报是空的)。但是我该如何解决这个问题?

我尝试将 android:exported=”false” 添加到我的 Manifest 文件中,但它只包含一个活动,这可能是我在 Unity 中创建的整个应用程序。因此,当我将 android:exported=”false” 添加到此活动时,我无法安装我的应用程序(我找到了原因 Android Manifest's android:exported="false" prevents app from running on device

我的数据库管理器如下所示:

public class DatabaseManager : MonoBehaviour

{

public static DatabaseManager sharedInstance = null;

private void Awake()
{
    if (sharedInstance == null)
    {
        sharedInstance = this;
    }
    else if (sharedInstance != this)
    {
        Destroy(gameObject);
    }

    DontDestroyOnLoad(gameObject);
    FirebaseApp.DefaultInstance.SetEditorDatabaseUrl("https://addresstomydatabase.com/");

}

【问题讨论】:

  • 如果我们使用react-native怎么办?我们找不到导致此问题的软件包。谢谢!

标签: android security redirect android-intent android-security


【解决方案1】:

好的,所以我收到了来自 google play 支持的答复,该漏洞是由小米依赖引起的。

以下是解决此问题的方法: Your app contains an Intent Redirection vulnerability

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-15
    • 2022-01-21
    • 2022-10-04
    • 1970-01-01
    • 2021-06-14
    相关资源
    最近更新 更多