安全分析报告: 芭樂視頻 v2.2.16

安全分数


安全分数 43/100

风险评级


等级

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

严重性分布 (%)


隐私风险

3

用户/设备跟踪器


调研结果

高危 6
中危 26
信息 2
安全 1
关注 0

高危 应用程序容易受到 Janus 漏洞的影响

应用程序使用 v1 签名方案进行签名,如果仅使用 v1 签名方案进行签名,则在 Android 5.0-8.0 上容易受到 Janus 漏洞的影响。在使用 v1 和 v2/v3 方案签名的 Android 5.0-7.0 上运行的应用程序也容易受到攻击。

高危 程序可被任意调试

[android:debuggable=true]
应用可调试标签被开启,这使得逆向工程师更容易将调试器挂接到应用程序上。这允许导出堆栈跟踪和访问调试助手类。

高危 已启用远程WebView调试

已启用远程WebView调试
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x04c-Tampering-and-Reverse-Engineering.md#debugging-and-tracing

Files:
com/just/agentweb/AgentWebConfig.java, line(s) 48,10

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

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

Files:
com/hdl/m3u8/BuildConfig.java, line(s) 3,8
com/legendsoft/bale_patch_2_2_16/BuildConfig.java, line(s) 3,6
com/legendsoft/ui_bale/BuildConfig.java, line(s) 3,8
me/zhanghai/android/patternlock/BuildConfig.java, line(s) 3,8

高危 如果一个应用程序使用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/just/agentweb/UrlLoaderImpl.java, line(s) 116,120,5

中危 应用程序已启用明文网络流量

[android:usesCleartextTraffic=true]
应用程序打算使用明文网络流量,例如明文HTTP,FTP协议,DownloadManager和MediaPlayer。针对API级别27或更低的应用程序,默认值为“true”。针对API级别28或更高的应用程序,默认值为“false”。避免使用明文流量的主要原因是缺乏机密性,真实性和防篡改保护;网络攻击者可以窃听传输的数据,并且可以在不被检测到的情况下修改它。

中危 应用程序数据可以被备份

[android:allowBackup=true]
这个标志允许任何人通过adb备份你的应用程序数据。它允许已经启用了USB调试的用户从设备上复制应用程序数据。

中危 Activity (com.legendsoft.ui_bale.ui.video.activity.VideoDetailsActivity) 未被保护。

存在一个intent-filter。
发现 Activity与设备上的其他应用程序共享,因此让它可以被设备上的任何其他应用程序访问。intent-filter的存在表明这个Activity是显式导出的。

中危 Service (com.taobao.accs.ChannelService) 未被保护。

[android:exported=true]
发现 Service与设备上的其他应用程序共享,因此可被设备上的任何其他应用程序访问。

中危 Service (com.taobao.accs.data.MsgDistributeService) 未被保护。

[android:exported=true]
发现 Service与设备上的其他应用程序共享,因此可被设备上的任何其他应用程序访问。

中危 Broadcast Receiver (com.taobao.accs.EventReceiver) 未被保护。

存在一个intent-filter。
发现 Broadcast Receiver与设备上的其他应用程序共享,因此让它可以被设备上的任何其他应用程序访问。intent-filter的存在表明这个Broadcast Receiver是显式导出的。

中危 Broadcast Receiver (com.taobao.accs.ServiceReceiver) 未被保护。

存在一个intent-filter。
发现 Broadcast Receiver与设备上的其他应用程序共享,因此让它可以被设备上的任何其他应用程序访问。intent-filter的存在表明这个Broadcast Receiver是显式导出的。

中危 Service (org.android.agoo.accs.AgooService) 未被保护。

[android:exported=true]
发现 Service与设备上的其他应用程序共享,因此可被设备上的任何其他应用程序访问。

中危 Service (com.umeng.message.UmengIntentService) 未被保护。

[android:exported=true]
发现 Service与设备上的其他应用程序共享,因此可被设备上的任何其他应用程序访问。

中危 Service (com.umeng.message.XiaomiIntentService) 未被保护。

[android:exported=true]
发现 Service与设备上的其他应用程序共享,因此可被设备上的任何其他应用程序访问。

中危 Broadcast Receiver (com.taobao.agoo.AgooCommondReceiver) 未被保护。

[android:exported=true]
发现 Broadcast Receiver与设备上的其他应用程序共享,因此可被设备上的任何其他应用程序访问。

中危 Service (com.umeng.message.UmengMessageIntentReceiverService) 未被保护。

[android:exported=true]
发现 Service与设备上的其他应用程序共享,因此可被设备上的任何其他应用程序访问。

中危 Activity (com.tencent.a.SetupInfoActivity) 未被保护。

存在一个intent-filter。
发现 Activity与设备上的其他应用程序共享,因此让它可以被设备上的任何其他应用程序访问。intent-filter的存在表明这个Activity是显式导出的。

中危 Activity (com.tencent.tauth.AuthActivity) 未被保护。

存在一个intent-filter。
发现 Activity与设备上的其他应用程序共享,因此让它可以被设备上的任何其他应用程序访问。intent-filter的存在表明这个Activity是显式导出的。

中危 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/danikula/videocache/ProxyCacheUtils.java, line(s) 71
com/download/library/DownloadTask.java, line(s) 365
com/download/library/Downloader.java, line(s) 317,325,549
com/download/library/Runtime.java, line(s) 242,260
com/just/agentweb/AgentWebUtils.java, line(s) 797
com/legendsoft/ui_bale/utils/cache/Utils.java, line(s) 43
org/litepal/util/cipher/CipherUtil.java, line(s) 38

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

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

Files:
com/legendsoft/bale_patch_2_2_16/app/ConstantThis.java, line(s) 17,8,9,13
com/legendsoft/ui_bale/main/Constant.java, line(s) 11,14
com/legendsoft/ui_bale/ui/main/fragment/RankFragment.java, line(s) 55
com/uuzuche/lib_zxing/decoding/Intents.java, line(s) 45
org/android/spdy/SpdyProtocol.java, line(s) 42
org/litepal/util/cipher/CipherUtil.java, line(s) 10

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

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

Files:
com/danikula/videocache/StorageUtils.java, line(s) 23,42
com/download/library/Downloader.java, line(s) 152
com/just/agentweb/AgentWebUtils.java, line(s) 162,497
com/yalantis/ucrop/util/FileUtils.java, line(s) 87
org/litepal/Operator.java, line(s) 93
org/litepal/tablemanager/Connector.java, line(s) 35,37

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

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

Files:
com/legendsoft/ui_bale/ui/main/activity/FindGirlFragment.java, line(s) 26
com/scwang/smartrefresh/header/FunGameBattleCityHeader.java, line(s) 15
com/scwang/smartrefresh/header/TaurusHeader.java, line(s) 25
com/scwang/smartrefresh/header/storehouse/StoreHouseBarItem.java, line(s) 8
org/android/spdy/SpdyBytePool.java, line(s) 3

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

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

Files:
com/just/agentweb/AbsAgentWebSettings.java, line(s) 58,35
com/tencent/as/javask.java, line(s) 126,127

中危 应用程序使用SQLite数据库并执行原始SQL查询。原始SQL查询中不受信任的用户输入可能会导致SQL注入。敏感信息也应加密并写入数据库

应用程序使用SQLite数据库并执行原始SQL查询。原始SQL查询中不受信任的用户输入可能会导致SQL注入。敏感信息也应加密并写入数据库
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x04h-Testing-Code-Quality.md#injection-flaws-mstg-arch-2-and-mstg-platform-2

Files:
com/danikula/videocache/sourcestorage/DatabaseSourceInfoStorage.java, line(s) 6,7,28
org/litepal/Operator.java, line(s) 6,523
org/litepal/tablemanager/AssociationCreator.java, line(s) 5,115
org/litepal/tablemanager/Generator.java, line(s) 4,54
org/litepal/util/DBUtility.java, line(s) 4,77,78,81,82,95,96,104,134,175,181

中危 IP地址泄露

IP地址泄露


Files:
com/danikula/videocache/HttpProxyCacheServer.java, line(s) 28
jaygoo/local/server/NanoHTTPD.java, line(s) 516
org/android/spdy/SpdyRequest.java, line(s) 27,53,72,94,118,137,163,182,204,228

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

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


Files:
jaygoo/local/server/NanoHTTPD.java, line(s) 326,907,994

中危 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:
me/zhanghai/android/patternlock/PatternUtils.java, line(s) 65

中危 不安全的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/tencent/as/javask.java, line(s) 143,127

中危 应用程序包含隐私跟踪程序

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

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

从应用程序中识别出以下机密确保这些不是机密或私人信息
友盟统计的=> "UMENG_APPKEY" : "5e8452a0895cca59f200033d"
友盟统计的=> "UMENG_CHANNEL" : "_25wan"
百度统计的=> "BaiduMobAd_CHANNEL" : "Baidu Market"
百度统计的=> "BaiduMobAd_STAT_ID" : "04ca89a194"
"library_roundedimageview_authorWebsite" : "https://github.com/vinc3m1"
5e8452a0895cca59f200033d
3a35fece1e5916993e3ae65e6ca69f2f
5dd8f6d33fc19509bd0006ec
5e4240214ca357ff51000019
3d448e5b5f35439a844071a87025cf7f
5e046a8fcb23d2383f0005fc
5e4395560cafb2a69000026d
9A04F079-9840-4286-AB92-E65BE0885F95
A2B55680-6F43-11E0-9A3F-0002A5D5C51B
85951bd067fc5e4d50ac3ff77544ab2b
0000016742C00BDA259000000168CE0F13200000016588840DCE7118A0002FBF1C31C3275D78
5dbbf73d570df38502000bc7
137b3f769527d77388ac54ff61ba9c94
7566f3f23fee364f68bf46fa4b90009b
b4f2fbd3189079b53653247fcb358e62

信息 应用程序记录日志信息,不得记录敏感信息

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

Files:
cn/jzvd/JZTextureView.java, line(s) 51,79,80
cn/jzvd/JZUtils.java, line(s) 88
cn/jzvd/Jzvd.java, line(s) 100,115,222,248,425,513,572,918,429,205,240,264,274,292,310,316,364,374,380,399,405,411,417,438,450,594,606,682,691,703,929
com/coremedia/iso/boxes/sampleentry/AudioSampleEntry.java, line(s) 193
com/danikula/videocache/HttpProxyCacheDebuger.java, line(s) 46,52,59,26,36
com/download/library/Runtime.java, line(s) 236,211
com/hdl/m3u8/M3U8DownloadTask.java, line(s) 302,379
com/hdl/m3u8/utils/MUtils.java, line(s) 157
com/jakewharton/disklrucache/DiskLruCache.java, line(s) 112
com/just/agentweb/AgentWebUtils.java, line(s) 394,373,386,405,407
com/just/agentweb/AgentWebView.java, line(s) 59,193,208,231,48,51,243
com/just/agentweb/DefaultChromeClient.java, line(s) 204,210
com/just/agentweb/JsCallJava.java, line(s) 202,67,43,78
com/just/agentweb/JsCallback.java, line(s) 46
com/just/agentweb/LogUtils.java, line(s) 29,33,38,15,21
com/legendsoft/ui_bale/img/Image64Utils.java, line(s) 96,101,135,208
com/legendsoft/ui_bale/ui/main/fragment/ViewPagerSampleKt.java, line(s) 257,564,575
com/legendsoft/ui_bale/ui/user/activity/PlattelLockActivity.java, line(s) 127
com/legendsoft/ui_bale/utils/LogUtil.java, line(s) 21,63,73,27,51,79,16,39,45,57,33
com/legendsoft/ui_bale/weight/customview/PhotoViewPager.java, line(s) 22,25
com/legenfsoft/newiconesigua/main/activity/shortvideo/ShortVideoFragment.java, line(s) 225,294
com/makeramen/roundedimageview/RoundedDrawable.java, line(s) 103
com/makeramen/roundedimageview/RoundedImageView.java, line(s) 264,302
com/scwang/smartrefresh/layout/SmartRefreshLayout.java, line(s) 1978,1988
com/taobao/tlog/adapter/TLogConfigSwitchReceiver.java, line(s) 38,40,48,55,61,74,26
com/taobao/tlog/adapter/TLogFileUploader.java, line(s) 32,36,44,48,77,81
com/uuzuche/lib_zxing/activity/CaptureActivity.java, line(s) 48
com/uuzuche/lib_zxing/camera/AutoFocusCallback.java, line(s) 28
com/uuzuche/lib_zxing/camera/CameraConfigurationManager.java, line(s) 33,37,47,52,83,45,107,124,174,185
com/uuzuche/lib_zxing/camera/FlashlightManager.java, line(s) 15,17,58,69,78,81,84
com/uuzuche/lib_zxing/camera/PreviewCallback.java, line(s) 39
com/uuzuche/lib_zxing/decoding/CaptureActivityHandler.java, line(s) 50,55,68,72
com/uuzuche/lib_zxing/decoding/DecodeHandler.java, line(s) 60
com/yalantis/ucrop/PictureMultiCuttingActivity.java, line(s) 184
com/yalantis/ucrop/UCropActivity.java, line(s) 146
com/yalantis/ucrop/task/BitmapCropTask.java, line(s) 116
com/yalantis/ucrop/task/BitmapLoadTask.java, line(s) 126,157,186,91,132,144
com/yalantis/ucrop/util/BitmapLoadUtils.java, line(s) 119,36,67
com/yalantis/ucrop/util/EglUtils.java, line(s) 27
com/yalantis/ucrop/util/FileUtils.java, line(s) 54
com/yalantis/ucrop/util/ImageHeaderParser.java, line(s) 48,55,67,76,110,120,132,149,164,170,174,179,185,189,302,47,54,66,75,109,119,131,148,163,169,173,178,184,188
com/yalantis/ucrop/view/TransformImageView.java, line(s) 217,238,125,78
jaygoo/local/server/M3U8HttpServer.java, line(s) 28,30,54,65,73,48,51
jaygoo/local/server/M3U8HttpServerLog.java, line(s) 11,17
me/codeboy/android/aligntextview/CBAlignTextView.java, line(s) 124
org/android/spdy/NetTimeGaurd.java, line(s) 32,41
org/android/spdy/ProtectedPointerTest.java, line(s) 14,21,39
org/android/spdy/spduLog.java, line(s) 10,46,22,16,28,34,40
org/greenrobot/eventbus/Logger.java, line(s) 86,91
org/greenrobot/eventbus/util/ErrorDialogConfig.java, line(s) 34
org/greenrobot/eventbus/util/ErrorDialogManager.java, line(s) 182
org/greenrobot/eventbus/util/ExceptionToResourceMapping.java, line(s) 25
org/litepal/crud/SaveHandler.java, line(s) 233
org/litepal/tablemanager/AssociationCreator.java, line(s) 63,100,111,234
org/litepal/tablemanager/AssociationUpdater.java, line(s) 38,88,130,152,230,232,234,236
org/litepal/tablemanager/Upgrader.java, line(s) 25,86,99,131,139,147,160,177,179,181
org/litepal/util/LitePalLog.java, line(s) 12,18
org/litepal/util/cipher/AESCrypt.java, line(s) 87,93,42,70
pub/devrel/easypermissions/EasyPermissions.java, line(s) 138,140,34
pub/devrel/easypermissions/helper/ActivityPermissionHelper.java, line(s) 38
pub/devrel/easypermissions/helper/BaseSupportPermissionsHelper.java, line(s) 22
top/zibin/luban/Luban.java, line(s) 84,83

信息 此应用程序将数据复制到剪贴板。敏感数据不应复制到剪贴板,因为其他应用程序可以访问它

此应用程序将数据复制到剪贴板。敏感数据不应复制到剪贴板,因为其他应用程序可以访问它
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x04b-Mobile-App-Security-Testing.md#clipboard

Files:
me/codeboy/android/aligntextview/CBAlignTextView.java, line(s) 4,122

安全 此应用程序使用SSL Pinning 来检测或防止安全通信通道中的MITM攻击

此应用程序使用SSL Pinning 来检测或防止安全通信通道中的MITM攻击
https://github.com/OWASP/owasp-mstg/blob/master/Document/0x05g-Testing-Network-Communication.md#testing-custom-certificate-stores-and-certificate-pinning-mstg-network-4

Files:
com/legendsoft/ui_bale/api/ApiClient.java, line(s) 147,147,148
jaygoo/local/server/NanoHTTPD.java, line(s) 1454,1452,1454,1479,1451,1451

安全评分: ( 芭樂視頻 2.2.16)