移动应用安全检测报告: pbw v1.6.7

安全基线评分


安全基线评分 41/100

综合风险等级


风险等级评定

  1. A
  2. B
  3. C
  4. F

漏洞与安全项分布(%)


隐私风险

4

检测到的第三方跟踪器数量


检测结果分布

高危安全漏洞 3
中危安全漏洞 14
安全提示信息 1
已通过安全项 0
重点安全关注 0

高危安全漏洞 如果一个应用程序使用WebView.loadDataWithBaseURL方法来加载一个网页到WebView,那么这个应用程序可能会遭受跨站脚本攻击

如果一个应用程序使用WebView.loadDataWithBaseURL方法来加载一个网页到WebView,那么这个应用程序可能会遭受跨站脚本攻击
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x05h-Testing-Platform-Interaction.md#static-analysis-7

Files:
com/unity3d/services/core/webview/WebViewApp.java, line(s) 301,303,10,374,400,406,412

高危安全漏洞 启用了调试配置。生产版本不能是可调试的

启用了调试配置。生产版本不能是可调试的
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x04c-Tampering-and-Reverse-Engineering.md#debugging-and-tracing

Files:
uk/lgl/BuildConfig.java, line(s) 3,6

高危安全漏洞 该文件是World Writable。任何应用程序都可以写入文件

该文件是World Writable。任何应用程序都可以写入文件
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x05d-Testing-Data-Storage.md#testing-local-storage-for-sensitive-data-mstg-storage-1-and-mstg-storage-2

Files:
com/prime31/GoogleIABPluginBase.java, line(s) 115

中危安全漏洞 Service (com.google.android.gms.auth.api.signin.RevocationBoundService) 受权限保护,但应检查权限保护级别。

Permission: com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION [android:exported=true]
检测到  Service 已导出并受未在本应用定义的权限保护。请在权限定义处核查其保护级别。若为 normal 或 dangerous,恶意应用可申请并与组件交互;若为 signature,仅同证书签名应用可访问。

中危安全漏洞 Service (androidx.work.impl.background.systemjob.SystemJobService) 受权限保护,但应检查权限保护级别。

Permission: android.permission.BIND_JOB_SERVICE [android:exported=true]
检测到  Service 已导出并受未在本应用定义的权限保护。请在权限定义处核查其保护级别。若为 normal 或 dangerous,恶意应用可申请并与组件交互;若为 signature,仅同证书签名应用可访问。

中危安全漏洞 Broadcast Receiver (androidx.work.impl.diagnostics.DiagnosticsReceiver) 受权限保护,但应检查权限保护级别。

Permission: android.permission.DUMP [android:exported=true]
检测到  Broadcast Receiver 已导出并受未在本应用定义的权限保护。请在权限定义处核查其保护级别。若为 normal 或 dangerous,恶意应用可申请并与组件交互;若为 signature,仅同证书签名应用可访问。

中危安全漏洞 Service (com.google.android.play.core.assetpacks.AssetPackExtractionService) 未受保护。

[android:exported=true]
检测到  Service 已导出,未受任何权限保护,任意应用均可访问。

中危安全漏洞 文件可能包含硬编码的敏感信息,如用户名、密码、密钥等

文件可能包含硬编码的敏感信息,如用户名、密码、密钥等
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x05d-Testing-Data-Storage.md#checking-memory-for-sensitive-data-mstg-storage-10

Files:
com/playnanoo/plugin/view/PNWViewFileCooser.java, line(s) 11
com/sglib/easymobile/androidnative/contacts/ContactsProvider.java, line(s) 22
com/sglib/easymobile/androidnative/gdpr/ConsentDialogButton.java, line(s) 9,8,10,12,11,13,14
com/sglib/easymobile/androidnative/gdpr/ConsentDialogToggle.java, line(s) 8,9,10,11,12,13,14
com/sglib/easymobile/androidnative/gdpr/ConsentDialogUnityMessagesSender.java, line(s) 55,85,56
com/sglib/easymobile/androidnative/gdpr/SplitContent.java, line(s) 9,12
com/sglib/easymobile/androidnative/gdpr/UnityColor.java, line(s) 10,11,12,13
com/sglib/easymobile/androidnative/media/CameraActivity.java, line(s) 19
com/sglib/easymobile/androidnative/media/DeviceCamera.java, line(s) 13,14,15
com/sglib/easymobile/androidnative/media/DeviceGallery.java, line(s) 30,31
com/sglib/easymobile/androidnative/notification/NotificationCategory.java, line(s) 11,15,16,17,12,13,18,19,21,20,22,23,24,25,14,26,27
com/sglib/easymobile/androidnative/notification/NotificationCategoryGroup.java, line(s) 10,11
com/sglib/easymobile/androidnative/notification/NotificationDefines.java, line(s) 7,11
com/sglib/easymobile/androidnative/notification/NotificationRequest.java, line(s) 8,9,10,11,12,13,14,15,16,17
com/sglib/easymobile/androidnative/notification/NotificationResponse.java, line(s) 8,9
com/unity3d/ads/metadata/InAppPurchaseMetaData.java, line(s) 13
com/unity3d/services/core/configuration/ExperimentObject.java, line(s) 7,8
com/unity3d/services/core/device/reader/DeviceInfoReaderFilterProvider.java, line(s) 11,12
com/unity3d/services/core/device/reader/JsonStorageKeyNames.java, line(s) 4,6,7,9,10,11,8,12,5,13,14,15
com/unity3d/services/core/properties/SdkProperties.java, line(s) 24

中危安全漏洞 应用程序可以读取/写入外部存储器,任何应用程序都可以读取写入外部存储器的数据

应用程序可以读取/写入外部存储器,任何应用程序都可以读取写入外部存储器的数据
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x05d-Testing-Data-Storage.md#external-storage

Files:
com/playnanoo/plugin/view/PNWViewChromeClient.java, line(s) 166
com/playnanoo/plugin/view/ProviderPathConverter.java, line(s) 24
com/sglib/easymobile/androidnative/media/DeviceGallery.java, line(s) 127,167,171
com/sglib/easymobile/androidnative/media/Utilities.java, line(s) 92
com/unity3d/services/core/cache/CacheDirectory.java, line(s) 32
uk/lgl/modmenu/Logcat.java, line(s) 42

中危安全漏洞 不安全的Web视图实现。可能存在WebView任意代码执行漏洞

不安全的Web视图实现。可能存在WebView任意代码执行漏洞
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x05h-Testing-Platform-Interaction.md#testing-javascript-execution-in-webviews-mstg-platform-5

Files:
com/unity3d/services/ads/webplayer/WebPlayerView.java, line(s) 90,74
com/unity3d/services/core/webview/WebView.java, line(s) 74,47

中危安全漏洞 应用程序创建临时文件。敏感信息永远不应该被写进临时文件

应用程序创建临时文件。敏感信息永远不应该被写进临时文件


Files:
com/playnanoo/plugin/view/PNWViewChromeClient.java, line(s) 166,175
com/sglib/easymobile/androidnative/media/CameraActivity.java, line(s) 103

中危安全漏洞 MD5是已知存在哈希冲突的弱哈希

MD5是已知存在哈希冲突的弱哈希
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x04g-Testing-Cryptography.md#identifying-insecure-andor-deprecated-cryptographic-algorithms-mstg-crypto-4

Files:
com/playnanoo/plugin/common/Utils.java, line(s) 23

中危安全漏洞 SHA-1是已知存在哈希冲突的弱哈希

SHA-1是已知存在哈希冲突的弱哈希
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x04g-Testing-Cryptography.md#identifying-insecure-andor-deprecated-cryptographic-algorithms-mstg-crypto-4

Files:
com/unity3d/services/core/device/Device.java, line(s) 465

中危安全漏洞 应用程序使用不安全的随机数生成器

应用程序使用不安全的随机数生成器
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x04g-Testing-Cryptography.md#weak-random-number-generators

Files:
com/unity3d/services/core/request/metrics/SDKMetrics.java, line(s) 9

中危安全漏洞 可能存在跨域漏洞。在 WebView 中启用从 URL 访问文件可能会泄漏文件系统中的敏感信息

可能存在跨域漏洞。在 WebView 中启用从 URL 访问文件可能会泄漏文件系统中的敏感信息
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x05h-Testing-Platform-Interaction.md#static-analysis-6

Files:
com/unity3d/services/core/webview/WebView.java, line(s) 21,47

中危安全漏洞 应用程序包含隐私跟踪程序

此应用程序有多个4隐私跟踪程序。跟踪器可以跟踪设备或用户,是终端用户的隐私问题。

中危安全漏洞 此应用可能包含硬编码机密信息

从应用程序中识别出以下机密确保这些不是机密或私人信息
凭证信息=> "com.google.android.gms.games.APP_ID" : "\ 670860820693"
AdMob广告平台的=> "com.google.android.gms.ads.APPLICATION_ID" : "ca-app-pub-4455549067982542~2316773660"

安全提示信息 应用程序记录日志信息,不得记录敏感信息

应用程序记录日志信息,不得记录敏感信息
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x05d-Testing-Data-Storage.md#logs

Files:
bitter/jnibridge/JNIBridge.java, line(s) 62
com/playnanoo/plugin/Plugin.java, line(s) 161,169,177,185,193,201,209,217,225,233,241,249,257,265,273,281,289,297,305,313,321,329,337,345,353,361,379,397,415,423
com/playnanoo/plugin/common/ApiLoader.java, line(s) 181,194
com/prime31/GoogleIABPlugin.java, line(s) 34,38,50,57,63,72,78,105,109,126,139,156,169,180,184,190,214
com/prime31/GoogleIABPluginBase.java, line(s) 57,106,43,45,47,61,77,80,83,88,117,132,167
com/prime31/GoogleIABProxyActivity.java, line(s) 54,56,62,20,29,31,36,37
com/prime31/IABConstants.java, line(s) 11,17,23,40
com/prime31/Inventory.java, line(s) 34,48,69,30
com/sglib/easymobile/androidnative/Helper.java, line(s) 12,16,8
com/sglib/easymobile/androidnative/media/GalleryActivity.java, line(s) 53,28
com/unity3d/ads/UnityAdsBaseOptions.java, line(s) 18
com/unity3d/ads/metadata/InAppPurchaseMetaData.java, line(s) 62,77,81
com/unity3d/ads/metadata/MetaData.java, line(s) 73,82
com/unity3d/services/UnityServices.java, line(s) 26,63,70,75,86,91,104,113,96,98,108,39
com/unity3d/services/ads/UnityAdsImplementation.java, line(s) 40,115
com/unity3d/services/ads/adunit/AdUnitActivity.java, line(s) 411,413,51,114,136,158,181,219,332,377,437,186
com/unity3d/services/ads/adunit/VideoPlayerHandler.java, line(s) 33,51
com/unity3d/services/ads/api/AdUnit.java, line(s) 76,79,82,85,108,422,428,480,484,489,493,99,112,117,122,154,244,336,352,381,388
com/unity3d/services/ads/api/VideoPlayer.java, line(s) 57,75,93,111,129,165
com/unity3d/services/ads/api/WebPlayer.java, line(s) 133
com/unity3d/services/ads/configuration/AdsModuleConfiguration.java, line(s) 48,59,67
com/unity3d/services/ads/gmascar/adapters/ScarAdapterFactory.java, line(s) 27
com/unity3d/services/ads/gmascar/bridges/AdapterStatusBridge.java, line(s) 26,35
com/unity3d/services/ads/gmascar/bridges/InitializeListenerBridge.java, line(s) 26,49
com/unity3d/services/ads/gmascar/bridges/MobileAdsBridge.java, line(s) 24
com/unity3d/services/ads/gmascar/finder/GMAInitializer.java, line(s) 53
com/unity3d/services/ads/gmascar/finder/ScarVersionFinder.java, line(s) 33
com/unity3d/services/ads/token/AsyncTokenStorage.java, line(s) 161,191
com/unity3d/services/ads/token/NativeTokenGenerator.java, line(s) 41
com/unity3d/services/ads/video/VideoPlayerView.java, line(s) 46,78,93,136,142,195,206,233
com/unity3d/services/ads/webplayer/WebPlayerView.java, line(s) 66,166,203,207,300,312,323,335,354,416
com/unity3d/services/banners/BannerView.java, line(s) 110
com/unity3d/services/banners/UnityBanners.java, line(s) 134
com/unity3d/services/core/api/Cache.java, line(s) 102,116,42,121,131
com/unity3d/services/core/api/DeviceInfo.java, line(s) 208,231,249,302,309,339,511
com/unity3d/services/core/api/Intent.java, line(s) 89,107,131,167,181
com/unity3d/services/core/api/Request.java, line(s) 33,45,63,75,92,104
com/unity3d/services/core/api/Sdk.java, line(s) 16,42,87,99,69,81,75
com/unity3d/services/core/broadcast/BroadcastEventReceiver.java, line(s) 36
com/unity3d/services/core/cache/CacheDirectory.java, line(s) 43,47,54,92,96,102,105,114,116,36,57,119
com/unity3d/services/core/cache/CacheThread.java, line(s) 29
com/unity3d/services/core/cache/CacheThreadHandler.java, line(s) 44,86,89,93
com/unity3d/services/core/configuration/ConfigurationReader.java, line(s) 40
com/unity3d/services/core/configuration/ConfigurationRequestFactory.java, line(s) 51
com/unity3d/services/core/configuration/EnvironmentCheck.java, line(s) 21,40,24,27,30,33,43
com/unity3d/services/core/configuration/ExperimentObject.java, line(s) 28
com/unity3d/services/core/configuration/ExperimentsReader.java, line(s) 32
com/unity3d/services/core/configuration/InitializationNotificationCenter.java, line(s) 66
com/unity3d/services/core/configuration/InitializeEventsMetricSender.java, line(s) 60,77,100,115,123
com/unity3d/services/core/configuration/InitializeThread.java, line(s) 186,197,223,421,436,513,545,643,655,675,58,67,487,522,525,552,555,595,629,679,742,833,335,428,464,814
com/unity3d/services/core/configuration/PrivacyConfigurationLoader.java, line(s) 29
com/unity3d/services/core/connectivity/ConnectivityMonitor.java, line(s) 113,130,157,102,149
com/unity3d/services/core/device/AdvertisingId.java, line(s) 177,49,59
com/unity3d/services/core/device/Device.java, line(s) 312,317,327,336,365,381,390,467,574,584,597,120
com/unity3d/services/core/device/OpenAdvertisingId.java, line(s) 168,57,64
com/unity3d/services/core/device/Storage.java, line(s) 36,40,70
com/unity3d/services/core/device/reader/DeviceInfoReaderCompressor.java, line(s) 40,44
com/unity3d/services/core/device/reader/DeviceInfoReaderExtended.java, line(s) 44,60
com/unity3d/services/core/log/DeviceLog.java, line(s) 186,226,233
com/unity3d/services/core/misc/JsonFlattener.java, line(s) 39
com/unity3d/services/core/misc/JsonStorage.java, line(s) 61,55,64,73,85,121,141,159,165
com/unity3d/services/core/misc/JsonStorageAggregator.java, line(s) 24
com/unity3d/services/core/misc/Utilities.java, line(s) 48,69
com/unity3d/services/core/misc/ViewUtilities.java, line(s) 18,27
com/unity3d/services/core/preferences/AndroidPreferences.java, line(s) 19,31,43,55,67
com/unity3d/services/core/properties/ClientProperties.java, line(s) 67,86,98,100
com/unity3d/services/core/properties/SdkProperties.java, line(s) 219,221,142
com/unity3d/services/core/reflection/GenericBridge.java, line(s) 32,39,58,73,82,88,95,101
com/unity3d/services/core/request/WebRequest.java, line(s) 263,153,162,169
com/unity3d/services/core/request/WebRequestRunnable.java, line(s) 35,39,82
com/unity3d/services/core/request/WebRequestThread.java, line(s) 44,150,164
com/unity3d/services/core/request/metrics/MetricCommonTags.java, line(s) 118
com/unity3d/services/core/request/metrics/MetricSender.java, line(s) 50,69,73,77,89,91,94
com/unity3d/services/core/request/metrics/MetricSenderWithBatch.java, line(s) 40
com/unity3d/services/core/request/metrics/SDKMetrics.java, line(s) 20,31,76,91,96
com/unity3d/services/core/sensorinfo/SensorInfoListener.java, line(s) 53
com/unity3d/services/core/timer/BaseTimer.java, line(s) 130
com/unity3d/services/core/webview/WebView.java, line(s) 83,29,109,113
com/unity3d/services/core/webview/WebViewApp.java, line(s) 122,141,162,191,402,407,443,154,184,227,272,292,299,307,337,387,415,418,421,436
com/unity3d/services/core/webview/WebViewUrlBuilder.java, line(s) 33
com/unity3d/services/core/webview/bridge/Invocation.java, line(s) 49
com/unity3d/services/core/webview/bridge/NativeCallback.java, line(s) 40
com/unity3d/services/core/webview/bridge/WebViewBridge.java, line(s) 99
com/unity3d/services/core/webview/bridge/WebViewBridgeInterface.java, line(s) 11,27
com/unity3d/services/core/webview/bridge/WebViewCallback.java, line(s) 56
com/unity3d/services/store/core/StoreLifecycleListener.java, line(s) 55
com/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge.java, line(s) 38
com/unity3d/services/store/gpbl/bridges/PurchaseBridge.java, line(s) 37
org/fmod/FMODAudioDevice.java, line(s) 69
org/fmod/a.java, line(s) 77
uk/lgl/modmenu/FloatingModMenuService.java, line(s) 1094,1416

综合安全基线评分: ( pbw 1.6.7)