漏洞分析

0

高危漏洞

6

中危漏洞

6

低危漏洞

9

警告

文件名 im.xinda.youdu_3.0.30_300030.apk
上传者 test
文件大小 36.590938568115MB
MD5 8aa3eea30db68338dcbc6e02c8aa251d
包名 im.xinda.youdu
Main Activity im.xinda.youdu.ui.activities.DefaultActivity
Min SDK 17
Target SDK 23

权限列表

# 名称 说明 提示
0 android.permission.PROCESS_OUTGOING_CALLS 允许应用程序处理外拨电话或更改要拨打的号码。恶意应用程序可能会借此监视、另行转接甚至阻止外拨电话。 警告
1 android.permission.READ_SMS 允许应用程序读取您的手机或SIM卡中存储的短信。恶意应用程序可借此读取您的机密信息。 警告
2 android.permission.ACCESS_COARSE_LOCATION 访问大概的位置源(例如蜂窝网络数据库)以确定手机的大概位置(如果可以)。恶意应用程序可借此确定您所处的大概位置。 注意
3 android.permission.ACCESS_FINE_LOCATION 访问精准的位置源,例如手机上的全球定位系统(如果有)。恶意应用程序可能会借此确定您所处的位置,并可能消耗额外的电池电量。 注意
4 android.permission.ACCESS_LOCATION_EXTRA_COMMANDS 访问额外的位置信息提供程序命令。恶意应用程序可借此干扰GPS或其他位置源的正常工作。 注意
5 android.permission.BROADCAST_STICKY 允许应用程序发送顽固广播,这些广播在结束后仍会保留。恶意应用程序可能会借此使手机耗用太多内存,从而降低其速度或稳定性。 注意
6 android.permission.READ_PHONE_STATE 允许应用程序访问设备的手机功能。有此权限的应用程序可确定此手机的号码和序列号,是否正在通话,以及对方的号码等。 注意
7 android.permission.RECEIVE_BOOT_COMPLETED 允许应用程序在系统完成启动后即自行启动。这样会延长手机的启动时间,而且如果应用程序一直运行,会降低手机的整体速度。 注意
8 android.permission.RECEIVE_SMS 允许应用程序接收和处理短信。恶意应用程序可借此监视您的信息,或者将信息删除而不向您显示。 注意
9 android.permission.RECORD_AUDIO 允许应用程序访问录音路径。 注意
10 android.permission.SYSTEM_ALERT_WINDOW 允许应用程序显示系统警报窗口。恶意应用程序可借此掌控整个手机屏幕。 注意
11 android.permission.ACCESS_NETWORK_STATE 允许应用程序查看所有网络的状态。 提示
12 android.permission.ACCESS_WIFI_STATE 允许应用程序查看有关WLAN状态的信息。 提示
13 android.permission.AUTHENTICATE_ACCOUNTS 允许应用程序使用AccountManager的帐户身份验证程序功能,包括创建帐户以及获取和设置其密码。 提示
14 android.permission.CAMERA 允许应用程序使用相机拍照,这样应用程序可随时收集进入相机镜头的图像。 提示
15 android.permission.CHANGE_NETWORK_STATE 允许应用程序更改网络连接的状态。 提示
16 android.permission.CHANGE_WIFI_STATE 允许应用程序连接到WLAN接入点以及与WLAN接入点断开连接,并对配置的WLAN网络进行更改。 提示
17 android.permission.FLASHLIGHT 允许应用程序控制闪光灯。 提示
18 android.permission.GET_ACCOUNTS 允许应用程序获取手机已知的帐户列表。 提示
19 android.permission.INTERNET 允许程序访问网络. 提示
20 android.permission.MANAGE_ACCOUNTS 允许应用程序执行添加、删除帐户及删除其密码之类的操作。 提示
21 android.permission.MODIFY_AUDIO_SETTINGS 允许应用程序修改整个系统的音频设置,如音量和路由。 提示
22 android.permission.VIBRATE 允许应用程序控制振动器。 提示
23 android.permission.WAKE_LOCK 允许应用程序防止手机进入休眠状态。 提示
24 android.permission.WRITE_EXTERNAL_STORAGE 允许应用程序写入SD卡。 提示

四大组件

组件名称

im.xinda.youdu.ui.activities.LaunchActivity
im.xinda.youdu.ui.activities.DefaultActivity
im.xinda.youdu.ui.activities.LoginActivity
im.xinda.youdu.ui.activities.MainActivity
im.xinda.youdu.ui.activities.SessionCreatorActivity
im.xinda.youdu.ui.activities.ChatActivity
im.xinda.youdu.ui.activities.ChatActivity2
im.xinda.youdu.ui.activities.AlbumActivity
im.xinda.youdu.ui.activities.DeptActivity
im.xinda.youdu.ui.activities.FavoriteDepartmentActivity
im.xinda.youdu.ui.activities.SinglePhotoActivity
im.xinda.youdu.ui.activities.GalleryActivity
im.xinda.youdu.ui.activities.SystemAndBroadcastActivity
im.xinda.youdu.ui.activities.SystemMsgActivity
im.xinda.youdu.ui.activities.BroadcastMsgActivity
im.xinda.youdu.ui.activities.CollectionsActivity
im.xinda.youdu.ui.activities.FileBrowserActivity
im.xinda.youdu.ui.activities.ShareActivity
im.xinda.youdu.ui.activities.SettingActivity
im.xinda.youdu.ui.activities.FontSettingActivity
im.xinda.youdu.ui.activities.SilentActivity
im.xinda.youdu.ui.activities.FeedBackActivity
im.xinda.youdu.ui.activities.CollectDetailActivity
im.xinda.youdu.ui.activities.SearchActivity
im.xinda.youdu.ui.activities.SessionSearchActivity
im.xinda.youdu.ui.activities.CodeReceiverActivity
im.xinda.youdu.ui.activities.SessionMemberSelectorActivity
im.xinda.youdu.ui.activities.CaptureQrcodeActivity
im.xinda.youdu.ui.activities.ConfirmLoginActivity
im.xinda.youdu.ui.activities.FileCacheClearActivity
im.xinda.youdu.ui.activities.ChatPhotoPreviewActivity
im.xinda.youdu.ui.activities.ServerQrcodeActivity
im.xinda.youdu.ui.activities.QrcodeDisplayActivity
im.xinda.youdu.ui.activities.ServerDetailActivity
im.xinda.youdu.ui.activities.AvatarCameraCaptureActivity
im.xinda.youdu.ui.activities.AvatarPreviewActivity
im.xinda.youdu.ui.activities.AvatarEditActivity
im.xinda.youdu.ui.activities.LaunchPermissionActivity
im.xinda.youdu.ui.activities.DownloadOrUpdateActivity
im.xinda.youdu.ui.activities.AvatarCamera2Activity
im.xinda.youdu.ui.activities.VerifyPasswordActivity
im.xinda.youdu.ui.activities.ReverseLoginActivity
im.xinda.youdu.ui.activities.AppSessionActivity
im.xinda.youdu.ui.activities.DBMigrationActivity
im.xinda.youdu.ui.activities.EnterpriseAppActivity
im.xinda.youdu.ui.activities.WebActivity
com.tencent.smtt.sdk.VideoActivity
im.xinda.youdu.ui.activities.InvitationEditActivity
im.xinda.youdu.ui.activities.ChatRecordActivity
im.xinda.youdu.ui.activities.SDCardFileActivity
im.xinda.youdu.ui.activities.SDCardActivity
im.xinda.youdu.ui.activities.ClientManagerActivity
im.xinda.youdu.ui.activities.VideoCaptureActivity
im.xinda.youdu.ui.activities.VideoViewActivity
im.xinda.youdu.ui.activities.InvitationShowActivity
im.xinda.youdu.ui.activities.ServerSettingActivity
im.xinda.youdu.ui.activities.EnterpriseServerInfoSearchActivity
im.xinda.youdu.ui.activities.SearchIndexDownloadActivity
im.xinda.youdu.ui.activities.MapLocationActivity
im.xinda.youdu.ui.activities.WipeDataActivity
im.xinda.youdu.ui.activities.DevicesActivity
im.xinda.youdu.ui.activities.CreatePswActivity
im.xinda.youdu.ui.activities.EnterPswActivity
im.xinda.youdu.ui.activities.SessionMessageActivity
im.xinda.youdu.ui.activities.TamperedShowActivity
im.xinda.youdu.ui.activities.ChatFileActivity
im.xinda.youdu.ui.activities.SingleModifyActivity
im.xinda.youdu.ui.activities.ModifyPasswordActivity
im.xinda.youdu.ui.activities.RadioListActivity
im.xinda.youdu.ui.activities.SingleMessagePreviewActivity
im.xinda.youdu.ui.activities.ManageStickerActivity
im.xinda.youdu.ui.activities.VideoConferenceActivity
im.xinda.youdu.ui.activities.DoubleMeetingActivity
im.xinda.youdu.ui.activities.MessageAlertSettingActivity
im.xinda.youdu.ui.activities.SessionSettingActivity
im.xinda.youdu.ui.activities.AccountSafetyActivity
im.xinda.youdu.ui.activities.OfflinePasswordSettingActivity
im.xinda.youdu.ui.activities.ProfileActivity
im.xinda.youdu.ui.activities.SMSSendActivity
im.xinda.youdu.ui.activities.SessionManageActivity
im.xinda.youdu.ui.activities.AboutActivity
im.xinda.youdu.ui.activities.UserActivity
im.xinda.youdu.ui.activities.ApplicationDetailsActivity
im.xinda.youdu.ui.activities.ChatDetailActivity
im.xinda.youdu.ui.activities.SMSResultActivity
im.xinda.youdu.ui.activities.UserSettingActivity
im.xinda.youdu.ui.activities.DeptPreviewActivity
im.xinda.youdu.ui.activities.SignatureModifyActivity
im.xinda.youdu.ui.activities.PhoneIdentifyActivity
im.xinda.youdu.ui.activities.MapViewActivity
im.xinda.youdu.ui.activities.MapSearchActivity
im.xinda.youdu.ui.activities.ReceiptStatusActivity
im.xinda.youdu.ui.activities.AnnouncementModifyActivity
im.xinda.youdu.ui.activities.BackgroundActivity
im.xinda.youdu.ui.activities.DefaultBackgroundActivity
im.xinda.youdu.ui.activities.AllSessionsActivity
im.xinda.youdu.ui.activities.WebFileActivity
com.huawei.hms.activity.BridgeActivity
com.huawei.android.hms.agent.common.HMSAgentActivity

im.xinda.youdu.service.YouduService
im.xinda.youdu.service.KeepAliveService
com.xiaomi.push.service.XMPushService
com.xiaomi.mipush.sdk.PushMessageHandler
com.xiaomi.mipush.sdk.MessageHandleService
com.meizu.cloud.pushsdk.NotificationService
com.amap.api.location.APSService

im.xinda.youdu.ui.broadcastreceiver.PhoneReceiver
im.xinda.youdu.ui.broadcastreceiver.BootBroadcastReceiver
im.xinda.youdu.broadcastreceiver.MeizuBroadcastReceiver
im.xinda.youdu.broadcastreceiver.ConnectivityChangeReceiver
im.xinda.youdu.broadcastreceiver.KeepAliveAlarmReceiver
im.xinda.youdu.broadcastreceiver.XiaomiBroadcastReceiver
com.xiaomi.push.service.receivers.NetworkStatusReceiver
com.xiaomi.push.service.receivers.PingReceiver
im.xinda.youdu.broadcastreceiver.HuaweiBroadcastReceiver
com.huawei.hms.support.api.push.PushEventReceiver
com.meizu.cloud.pushsdk.SystemReceiver

android.support.v4.content.FileProvider
com.huawei.hms.update.provider.UpdateProvider

第三方库

# 库名 介绍
0 com.alibaba.fastjson Fast JSON Processor https://github.com/alibaba/fastjson/wiki
1 com.google.protobuf Protocol Buffers - Google's data interchange format https://developers.google.com/protocol-buffers/
2 pl.droidsonroids.gif Views and Drawable for displaying animated GIFs on Android
3 com.tencent.smtt 腾讯X5浏览服务由QQ浏览器团队出品,致力于优化移动端webview体验的整套解决方案,使用QQ浏览器X5内核SDK和X5云端服务,解决移动端webview使用过程中出现的一切问题,优化用户的浏览体验,同时腾讯还将持续提供后续的更新和优化,为开发者提供最新最优秀的功能和服务。
4 okhttp3 An HTTP+SPDY client for Android and Java applications.
5 com.google.zxing Official ZXing ("Zebra Crossing") project home
6 com.qiniu.android Qiniu Resource (Cloud) Storage SDK for Android
7 in.srain.cube.views.ptr Ultra Pull to Refresh for Android. Support all the views.
8 com.nineoldandroids Android library for using the Honeycomb animation API on all versions of the platform back to 1.0!
9 com.xiaomi.mipush.sdk 小米推送(MiPush)是小米公司为开发者提供的消息推送服务,通过在云端和客户端之间建立一条稳定、可靠的长连接,为开发者提供向客户端应用推送实时消息的服务,帮助开发者有效地拉动用户活跃。
10 com.amap.api 高德LBS开放平台将高德最专业的定位、地图、搜索、导航等能力,以API、SDK等形式向广大开发者免费开放
11 org.apache.thrift Apache Thrift 是 Facebook 实现的一种高效的、支持多种编程语言的远程服务调用的框架。
12 pl.droidsonroids.gif Views and Drawable for displaying animated GIFs on Android
13 okhttp3 An HTTP+SPDY client for Android and Java applications.

静态扫描发现风险点

风险等级 风险名称

中危

检测到当前标志被设置成true或没设置,这会导致adb调试备份允许恶意攻击者复制应用程序数据,造成数据泄露。

中危

检测到2处证书弱校验漏洞。

位置: classes.dex
com.meizu.cloud.pushsdk.platform.a$b;
com.huawei.updatesdk.sdk.service.download.h$1;

当移动App客户端使用https或ssl/tls进行通信时,如果不校验证书的可信性,将存在中间人攻击漏洞,可导致信息泄露,传输数据被篡改,甚至通过中间人劫持将原有信息替换成恶意链接或恶意代码程序,以达到远程控制等攻击意图。建议:
对SSL证书进行强校验,包括签名CA是否合法、证书是否是自签名、主机域名是否匹配、证书是否过期等。

参考案例:
www.wooyun.org/bugs/wooyun-2014-079358

参考资料:
http://drops.wooyun.org/tips/3296
http://wolfeye.baidu.com/blog/webview-ignore-ssl-error/
https://jaq.alibaba.com/blog.htm?id=60

中危

该app需要移除大部分日志打印代码。
经扫描该包仍存在大量打日志代码,共发现138处打日志代码.(此处扫描的日志打印代码,是指调用android.util.Log.* 打印的.)
详情如下:

位置: classes.dex
com.tencent.smtt.sdk.p;->a(Ljava/lang/Object; Landroid/content/Context; Ljava/lang/String; Z)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.export.external.libwebp;->decodeInto([B [I [I)[I==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
io.togoto.imagezoomcrop.photoview.f;->a(F F F F)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.google.zxing.client.a.a.a;->c(Landroid/hardware/Camera$Parameters;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.google.zxing.client.a.a.a;->a(Ljava/lang/String; Ljava/util/Collection; [Ljava/lang/String;)Ljava/lang/String;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.android.hms.agent.common.HMSAgentLog;->e(Ljava/lang/String;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.a.g;->m()I==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.meizu.cloud.pushsdk.common.b.c;->c(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.qiniu.android.c.b;->a([B Ljava/io/File; Ljava/lang/String; Lcom/qiniu/android/c/j; Lcom/qiniu/android/c/h; Lcom/qiniu/android/c/l; Lcom/qiniu/android/http/a; Lcom/qiniu/android/c/a;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.hms.core.aidl.f;->a(Ljava/lang/reflect/Field; Landroid/os/Bundle;)Ljava/lang/Object;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.meizu.cloud.a.a;->a(Landroid/content/Context;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
im.xinda.youdu.ui.widget.LoadPreView$1;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.a.d$3;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.google.zxing.client.a.a.a;->a(Landroid/hardware/Camera$Parameters; Z)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
io.togoto.imagezoomcrop.photoview.f;->c()Landroid/widget/ImageView;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.google.zxing.client.a.a.a;->d(Landroid/hardware/Camera$Parameters;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
im.xinda.youdu.lib.log.c;->a(J I Ljava/lang/String; Lim/xinda/youdu/lib/log/LogLevel; Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
io.togoto.imagezoomcrop.photoview.f$c;->a(I I I I)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.sdk.p;->a(Ljava/lang/Object; Landroid/content/Context; Landroid/os/Bundle; Landroid/widget/FrameLayout;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
im.xinda.youdu.lib.xutils.a.b;->a(Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.nineoldandroids.a.i$a;->b(Ljava/lang/Object;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
im.xinda.youdu.ui.lib.library.a.g;->a(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
io.agora.rtc.video.ViESurfaceRenderer;->(Landroid/view/SurfaceView;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.hms.a.a;->a(Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.nineoldandroids.a.i;->a(Ljava/lang/Class; Ljava/lang/String; Ljava/lang/Class;)Ljava/lang/reflect/Method;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.h;->b(Lcom/journeyapps/barcodescanner/b;)Ljava/lang/String;==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
im.xinda.youdu.ui.widget.ag;->a(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.a.g;->b(Z)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.qiniu.android.c.l$1;->a(Ljava/lang/String; D)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.sdk.TbsReaderView;->a()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.hms.core.aidl.f;->a(Landroid/os/Bundle; Lcom/huawei/hms/core/aidl/IMessageEntity;)Lcom/huawei/hms/core/aidl/IMessageEntity;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.xiaomi.a.a.e.d;->a(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Ljava/util/Map; Ljava/lang/String;)Lcom/xiaomi/a/a/e/b;==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.google.zxing.client.a.a.a;->a(Landroid/hardware/Camera$Parameters; Z Z Z)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.qiniu.android.c.b$2$1;->a(Lcom/qiniu/android/http/g; Lorg/json/JSONObject;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.google.zxing.client.a.e;->a(Landroid/content/Intent;)Ljava/util/Map;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.xiaomi.a.a.c.b;->a(Ljava/lang/String;)V==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
im.xinda.youdu.storage.e;->a(Ljava/lang/String;)Lim/xinda/youdu/datastructure/tables/a;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.sdk.TbsShareManager;->forceToLoadX5ForThirdApp(Landroid/content/Context; Z)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.utils.TbsLogClient;->e(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
io.agora.rtc.video.ViESurfaceRenderer;->surfaceCreated(Landroid/view/SurfaceHolder;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
io.agora.rtc.video.ViESurfaceRenderer;->surfaceDestroyed(Landroid/view/SurfaceHolder;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
im.xinda.youdu.model.n$5;->a(Lim/xinda/youdu/model/YDHttpResponse;)Ljava/lang/Boolean;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.a.d$4;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.CameraPreview;->d()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.google.zxing.client.a.a.a;->b(Landroid/hardware/Camera$Parameters; Z)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.hms.support.log.b.a;->a(Landroid/content/Context; Ljava/lang/String;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.a.j;->a(Ljava/util/List; Z)Lcom/journeyapps/barcodescanner/u;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.p;->b(Lcom/journeyapps/barcodescanner/v;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
io.agora.rtc.video.MediaCodecVideoDecoder;->disableVp8HwCodec()V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.android.hms.agent.common.HMSAgentLog;->i(Ljava/lang/String;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
im.xinda.youdu.lib.log.c;->a(J I Ljava/lang/String; Lim/xinda/youdu/lib/log/LogLevel; Ljava/lang/String;)V==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.android.hms.agent.common.HMSAgentLog;->w(Ljava/lang/String;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.hms.support.log.b.a;->a(Ljava/lang/String;)Z==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.nineoldandroids.a.i;->b(Ljava/lang/Object;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
io.togoto.imagezoomcrop.photoview.f;->a(F F F)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.utils.LogFileUtils;->encrypt(Ljava/lang/String; Ljava/lang/String;)[B==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.updatesdk.UpdateSdkAPI;->showUpdateDialog(Landroid/content/Context; Lcom/huawei/updatesdk/service/appmgr/bean/ApkUpgradeInfo; Z)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
in.srain.cube.views.ptr.b.a;->c(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.qiniu.android.c.b$2;->a(Lcom/qiniu/android/http/g; Lorg/json/JSONObject;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
io.togoto.imagezoomcrop.photoview.f$c;->a()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.meizu.cloud.pushsdk.common.b.c;->b(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.utils.v;->a(Ljava/lang/Object; Ljava/lang/String; [Ljava/lang/Class; [Ljava/lang/Object;)Ljava/lang/Object;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
io.togoto.imagezoomcrop.photoview.f$c;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.sdk.TbsReaderView;->preOpen(Ljava/lang/String; Z)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.a.g;->n()V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.sdk.TbsReaderView;->downloadPlugin(Ljava/lang/String;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.h;->g()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.google.zxing.client.a.a.a;->f(Landroid/hardware/Camera$Parameters;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
io.agora.rtc.video.ViESurfaceRenderer;->saveBitmapToJPEG(I I)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.google.zxing.client.a.e;->a(Landroid/content/Intent;)Ljava/util/Map;==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.export.external.libwebp;->decodeBase_16bit([B Landroid/graphics/Bitmap$Config;)[I==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.updatesdk.sdk.service.secure.a;->b(Ljava/lang/String;)Ljava/lang/String;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
io.togoto.imagezoomcrop.photoview.f;->onTouch(Landroid/view/View; Landroid/view/MotionEvent;)Z==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.sdk.p;->a(Ljava/lang/Object; Ljava/lang/Integer; Ljava/lang/Object; Ljava/lang/Object;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
im.xinda.youdu.lib.log.c;->a(J I Ljava/lang/String; Lim/xinda/youdu/lib/log/LogLevel; Ljava/lang/String;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
io.agora.rtc.video.ViESurfaceRenderer;->CreateBitmap(I I)Landroid/graphics/Bitmap;==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.a.a.f;->setMenuHeight(I)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.meizu.cloud.pushsdk.handler.a.a.a;->b(Ljava/lang/String;)Ljava/lang/String;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.updatesdk.sdk.service.storekit.b;->a(Ljava/lang/String; Ljava/lang/Throwable;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.CameraPreview;->a(Landroid/view/SurfaceHolder;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.sdk.p;->a(Ljava/lang/Object; Landroid/content/Context;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.export.external.libwebp;->decodeBase([B [I [I)[I==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
io.agora.rtc.video.ViESurfaceRenderer;->SetCoordinates(F F F F)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.sdk.TbsVideo;->openVideo(Landroid/content/Context; Ljava/lang/String; Landroid/os/Bundle;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.google.zxing.client.a.a.a.a;->a(I)I==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.xiaomi.a.a.e.d;->a(Ljava/util/Map;)Ljava/lang/String;==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
im.xinda.youdu.lib.log.c;->a(J I Ljava/lang/String; Lim/xinda/youdu/lib/log/LogLevel; Ljava/lang/String;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.export.external.libwebp;->incDecode([B [I [I)[I==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.a.d$2;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.a.g$a;->onPreviewFrame([B Landroid/hardware/Camera;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.google.zxing.client.a.a.a;->b(Landroid/hardware/Camera$Parameters;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
io.togoto.imagezoomcrop.photoview.f;->a(F F)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.export.external.libwebp;->loadWepLibraryIfNeed(Landroid/content/Context;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.export.external.libwebp;->loadWepLibraryIfNeed(Landroid/content/Context; Ljava/lang/String;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
in.srain.cube.views.ptr.b.a;->c(Ljava/lang/String; Ljava/lang/String; [Ljava/lang/Object;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
io.agora.rtc.video.ViESurfaceRenderer;->changeDestRect(I I)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.updatesdk.sdk.service.secure.a;->a(Ljava/lang/String; I)I==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.CameraPreview;->k()V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.sdk.QbSdk;->openFileReader(Landroid/content/Context; Ljava/lang/String; Ljava/util/HashMap; Lcom/tencent/smtt/sdk/ValueCallback;)I==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
in.srain.cube.views.ptr.b.a;->a(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
im.xinda.youdu.storage.c;->b(Ljava/lang/String;)Lim/xinda/youdu/datastructure/tables/Attachment;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.google.zxing.client.a.a.a;->a(Landroid/hardware/Camera$Parameters; I I)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.hms.a.a;->a(Ljava/lang/String; I)I==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.meizu.cloud.pushsdk.common.b.c;->a(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.meizu.cloud.pushsdk.common.base.c;->a()V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.updatesdk.sdk.service.secure.a;->a(Ljava/lang/String; Z)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.a.j;->a(Lcom/journeyapps/barcodescanner/u;)Landroid/graphics/Rect;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
io.togoto.imagezoomcrop.photoview.f;->a(F F F Z)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
io.agora.rtc.video.ViESurfaceRenderer;->CreateByteBuffer(I I)Ljava/nio/ByteBuffer;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.google.zxing.client.a.a.a;->e(Landroid/hardware/Camera$Parameters;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.hms.support.log.b.a;->b(Ljava/lang/String;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
io.agora.rtc.video.VideoCaptureFactory$AndroidCameraInfo;->getNumberOfCameras(Landroid/content/Context;)I==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.a.a;->(Landroid/hardware/Camera; Lcom/journeyapps/barcodescanner/a/h;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.CameraPreview$1;->surfaceChanged(Landroid/view/SurfaceHolder; I I I)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
in.srain.cube.views.ptr.b.a;->a(Ljava/lang/String; Ljava/lang/String; [Ljava/lang/Object;)V==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.utils.LogFileUtils;->encryptKey(Ljava/lang/String; Ljava/lang/String;)[B==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.CameraPreview;->e()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.sdk.TbsReaderView;->openFile(Landroid/os/Bundle;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.a.d$1;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.a.g;->b(Z)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.journeyapps.barcodescanner.CameraPreview;->i()V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
io.agora.rtc.video.ViESurfaceRenderer;->DrawByteBuffer()V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
in.srain.cube.views.ptr.b.a;->b(Ljava/lang/String; Ljava/lang/String; [Ljava/lang/Object;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
io.togoto.imagezoomcrop.photoview.a.a;->c(Landroid/view/MotionEvent;)Z==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
im.xinda.youdu.lib.log.c;->a(J I Ljava/lang/String; Lim/xinda/youdu/lib/log/LogLevel; Ljava/lang/String;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.sdk.p;->a(Ljava/lang/Object;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.sdk.p;->a(Ljava/lang/Object; Ljava/lang/String;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.hms.core.aidl.f;->a(Ljava/lang/String; Ljava/lang/Object; Landroid/os/Bundle;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.sdk.b.a.e;->a(Landroid/content/Context; Ljava/lang/String;)Landroid/graphics/drawable/Drawable;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.nineoldandroids.a.i;->a(Ljava/lang/Object;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.android.hms.agent.common.HMSAgentLog;->v(Ljava/lang/String;)V==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
in.srain.cube.views.ptr.b.a;->b(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.android.hms.agent.common.HMSAgentLog;->d(Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.xiaomi.a.a.e.d;->a(Landroid/content/Context; Ljava/net/URL; Z Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.smtt.sdk.p;->a(Ljava/lang/Object; I I)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.meizu.cloud.pushsdk.common.b.c;->d(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.hms.support.log.b.a;->a(Ljava/io/Closeable;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.huawei.hms.core.aidl.f;->a(Lcom/huawei/hms/core/aidl/IMessageEntity; Landroid/os/Bundle;)Landroid/os/Bundle;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I

中危

检测到4个WebView远程执行漏洞。

位置: classes.dex
com.tencent.smtt.sdk.WebView;->addJavascriptInterface(Ljava.lang.Object; Ljava.lang.String;)V
com.tencent.smtt.sdk.WebView;->addJavascriptInterface(Ljava.lang.Object; Ljava.lang.String;)V
im.xinda.youdu.ui.activities.WebActivity;->a(Landroid.webkit.WebView;)V
im.xinda.youdu.ui.activities.WebActivity;->a(Landroid.webkit.WebView;)V

Android API < 17之前版本存在远程代码执行安全漏洞,该漏洞源于程序没有正确限制使用addJavaScriptInterface方法,攻击者可以通过Java反射利用该漏洞执行任意Java对象的方法,导致远程代码执行安全漏洞。
(1)API等于高于17的Android系统。出于安全考虑,为了防止Java层的函数被随意调用,Google在4.2版本之后,规定允许被调用的函数必须以@JavascriptInterface进行注解。
(2)API等于高于17的Android系统。建议不要使用addJavascriptInterface接口,以免带来不必要的安全隐患,如果一定要使用该接口,建议使用证书校验。
(3)使用removeJavascriptInterface移除Android系统内部的默认内置接口:searchBoxJavaBridge_、accessibility、accessibilityTraversal。

参考案例:
www.wooyun.org/bugs/wooyun-2015-0140708
www.wooyun.org/bugs/wooyun-2016-0188252
http://drops.wooyun.org/papers/548

参考资料:
http://jaq.alibaba.com/blog.htm?id=48
http://blog.nsfocus.net/android-webview-remote-code-execution-vulnerability-analysis
https://developer.android.com/reference/android/webkit/WebView.html

中危

检测到108条敏感明文信息,建议移除。

位置: classes.dex
'10.0.0.172' used in: Lcom/xiaomi/a/a/e/d;->a(Ljava/net/URL;)Ljava/lang/String;
'10.0.0.200' used in: Lcom/xiaomi/a/a/e/d;->b(Landroid/content/Context; Ljava/net/URL;)Ljava/net/HttpURLConnection;
'file:///android_asset/webkit/android-weberror.png' used in: Lim/xinda/youdu/ui/activities/WebActivity$a$1;->run()V
'http://$ip:port$' used in: Lim/xinda/youdu/ui/adapter/f;->onClick(Landroid/view/View;)V
'http://%1$s/diagnoses/v1/report' used in: Lcom/xiaomi/c/j;->a(Ljava/lang/String; Ljava/lang/String;)V
'http://%1$s/gslb/?ver=3.0' used in: Lcom/xiaomi/c/g;->a(Ljava/util/ArrayList; Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;
'http://%1$s/gslb/gslb/getbucket.asp?ver=3.0' used in: Lcom/xiaomi/c/f;->a(Ljava/util/ArrayList; Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;
'http://%s' used in: Lcom/qiniu/android/b/b;->a(Lcom/qiniu/android/b/c; Z Ljava/lang/String;)Ljava/lang/String;
'http://10.237.12.17:9085/pass/register' used in: Lcom/xiaomi/push/service/z;->a()Ljava/lang/String;
'http://10.237.12.17:9085/pass/register' used in: Lcom/xiaomi/push/service/z;->a()Ljava/lang/String;
'http://a.vmall.com/app/' used in: Lcom/huawei/hms/update/e/j;->f()V
'http://abroad.apilocate.amap.com/mobile/binary' used in: Lcom/amap/api/col/sl3/lb;->a(Lcom/amap/api/location/AMapLocation;)Z
'http://abroad.apilocate.amap.com/mobile/binary' used in: Lcom/amap/api/col/sl3/kp;->a(Lcom/amap/api/col/sl3/ks;)V
'http://abroad.apilocate.amap.com/mobile/binary' used in: Lcom/amap/api/col/sl3/kw;->d(Landroid/content/Context;)V
'http://abroad.apilocate.amap.com/mobile/binary' used in: Lcom/amap/api/col/sl3/kw;->a(Landroid/content/Context;)V
'http://api.map.baidu.com/direction?origin=latlng:%1$s,%2$s|name:%3$s&destination=latlng:%4$s,%5$s|name:%6$s&mode=driving®ion=%7$s&output=html&src=%8$s' used in: Lim/xinda/youdu/ui/g/p;->b(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;
'http://apiinit.amap.com/v3/log/init' used in: Lcom/amap/api/col/sl3/hh;->()V
'http://apilocate.amap.com/mobile/binary' used in: Lcom/amap/api/col/sl3/mb;->()V
'http://apilocate.amap.com/mobile/binary' used in: Lcom/amap/api/col/sl3/kw;->d(Landroid/content/Context;)V
'http://apilocate.amap.com/mobile/binary' used in: Lcom/amap/api/col/sl3/kw;->()V
'http://apilocatesrc.amap.com/mobile/binary' used in: Lcom/amap/api/col/sl3/kp;->b(Lcom/amap/api/col/sl3/ks;)V
'http://apilocatesrc.amap.com/mobile/binary' used in: Lcom/amap/api/col/sl3/kp;->a(Lcom/amap/api/col/sl3/ks;)V
'http://cfg.imtt.qq.com/tbs?v=2&mk=' used in: Lcom/tencent/smtt/utils/x;->(Landroid/content/Context;)V
'http://cgicol.amap.com/collection/writedata?ver=v1.0_ali&' used in: Lcom/amap/api/col/sl3/ki;->a(Lcom/amap/api/col/sl3/ki; I)V
'http://data.hicloud.com:8089/sdkv2' used in: Lcom/hianalytics/android/b/a/a;->i()Ljava/lang/String;
'http://debugtbs.qq.com' used in: Lcom/tencent/smtt/sdk/WebView;->showDebugView(Ljava/lang/String;)Z
'http://debugx5.qq.com' used in: Lcom/tencent/smtt/sdk/WebView;->showDebugView(Ljava/lang/String;)Z
'http://log.tbs.qq.com/ajax?c=dl&k=' used in: Lcom/tencent/smtt/utils/x;->(Landroid/content/Context;)V
'http://log.tbs.qq.com/ajax?c=pu&tk=' used in: Lcom/tencent/smtt/utils/x;->(Landroid/content/Context;)V
'http://log.tbs.qq.com/ajax?c=pu&v=2&k=' used in: Lcom/tencent/smtt/utils/x;->(Landroid/content/Context;)V
'http://log.tbs.qq.com/ajax?c=ucfu&k=' used in: Lcom/tencent/smtt/utils/x;->(Landroid/content/Context;)V
'http://log.tbs.qq.com/ajax?c=ul&v=2&k=' used in: Lcom/tencent/smtt/utils/x;->(Landroid/content/Context;)V
'http://m5.amap.com' used in: Lcom/autonavi/ae/gmap/GLMapEngine;->getMapIndoorAddress()Ljava/lang/String;
'http://m5.amap.com/' used in: Lcom/autonavi/ae/gmap/maploader/GuideMapLoader;->getMapAddress()Ljava/lang/String;
'http://m5.amap.com/ws/mapapi/shortaddress/transform' used in: Lcom/amap/api/col/sl3/fg;->f()Ljava/lang/String;
'http://mdc.html5.qq.com/d/directdown.jsp?channel_id=11041' used in: Lcom/tencent/smtt/sdk/b/a/d;->onClick(Landroid/view/View;)V
'http://mdc.html5.qq.com/d/directdown.jsp?channel_id=11047' used in: Lcom/tencent/smtt/sdk/b/a/d;->onClick(Landroid/view/View;)V
'http://mdc.html5.qq.com/mh?channel_id=50079&u=' used in: Lcom/tencent/smtt/sdk/a/d;->a(Landroid/content/Context;)Lcom/tencent/smtt/sdk/a/d$a;
'http://mps.amap.com' used in: Lcom/autonavi/ae/gmap/GLMapEngine;->getMapSvrAddress()Ljava/lang/String;
'http://mqqad.html5.qq.com/adjs' used in: Lcom/tencent/smtt/utils/x;->(Landroid/content/Context;)V
'http://pms.mb.qq.com/rsp204' used in: Lcom/tencent/smtt/sdk/ah;->n()Z
'http://resolver.msg.xiaomi.net/psc/?t=a' used in: Lcom/xiaomi/push/service/h;->b()V
'http://restapi.amap.com' used in: Lcom/amap/api/col/sl3/hm;->a(Landroid/content/Context;)Ljava/net/Proxy;
'http://restapi.amap.com/v3' used in: Lcom/amap/api/col/sl3/fg;->a()Ljava/lang/String;
'http://restapi.amap.com/v3/config/district?' used in: Lcom/amap/api/col/sl3/a;->f(Landroid/os/Bundle;)V
'http://restapi.amap.com/v3/geocode/regeo' used in: Lcom/amap/api/col/sl3/kr;->a(Landroid/content/Context; D D)Ljava/lang/String;
'http://restapi.amap.com/v3/grasproad?' used in: Lcom/amap/api/col/sl3/gz;->c()Ljava/lang/String;
'http://restapi.amap.com/v3/iasdkauth' used in: Lcom/amap/api/col/sl3/hg$b;->c()Ljava/lang/String;
'http://restapi.amap.com/v3/place/around?' used in: Lcom/amap/api/col/sl3/a;->d(Landroid/os/Bundle;)V
'http://restapi.amap.com/v3/place/text?' used in: Lcom/amap/api/col/sl3/a;->e(Landroid/os/Bundle;)V
'http://restapi.amap.com/v4' used in: Lcom/amap/api/col/sl3/fg;->b()Ljava/lang/String;
'http://restapi.amap.com/v4/gridmap?' used in: Lcom/amap/api/col/sl3/dn$a;->(Lcom/amap/api/col/sl3/dn; I I I Ljava/lang/String;)V
'http://schemas.android.com/apk/res/android' used in: Landroid/support/v4/content/res/b;->a(Lorg/xmlpull/v1/XmlPullParser; Ljava/lang/String;)Z
'http://soft.tbs.imtt.qq.com/17421/tbs_res_imtt_tbs_DebugPlugin_DebugPlugin.tbs' used in: Lcom/tencent/smtt/utils/j;->run()V
'http://store.hispace.hicloud.com/hwmarket/api/' used in: Lcom/huawei/updatesdk/service/a/d;->()V
'http://wap.amap.com/' used in: Lcom/amap/api/maps/AMapUtils;->getLatestAMapApp(Landroid/content/Context;)V
'http://wap.amap.com/' used in: Lim/xinda/youdu/ui/g/a;->b(Landroid/content/Context; D D Ljava/lang/String; D D Ljava/lang/String;)V
'http://wb.amap.com/?n=%f,%f,%f,%f,%d&sourceapplication=openapi/0' used in: Lcom/amap/api/col/sl3/gu;->()V
'http://wb.amap.com/?p=%s,%f,%f,%s,%s&sourceapplication=openapi/0' used in: Lcom/amap/api/col/sl3/gu;->()V
'http://wb.amap.com/?q=%f,%f,%s&sourceapplication=openapi/0' used in: Lcom/amap/api/col/sl3/gu;->()V
'http://wb.amap.com/?r=%f,%f,%s,%f,%f,%s,%d,%d,%d,%s,%s,%s&sourceapplication=openapi/0' used in: Lcom/amap/api/col/sl3/gu;->()V
'http://wprd0%d.is.autonavi.com/appmaptile?' used in: Lcom/amap/api/col/sl3/dn$a;->(Lcom/amap/api/col/sl3/dn; I I I Ljava/lang/String;)V
'http://wup.imtt.qq.com:8080' used in: Lcom/tencent/smtt/utils/x;->(Landroid/content/Context;)V
'http://xmlpull.org/v1/doc/features.html#process-namespaces' used in: Lcom/xiaomi/smack/d/c;->a([B)V
'http://xmlpull.org/v1/doc/features.html#process-namespaces' used in: Lcom/xiaomi/smack/g;->e()V
'http://xmlpull.org/v1/doc/features.html#process-namespaces' used in: Lcom/xiaomi/smack/j;->()V
'http://xmlpull.org/v1/doc/features.html#process-namespaces' used in: Lcom/xiaomi/smack/c/c;->b()V
'http://yuntuapi.amap.com' used in: Lcom/amap/api/col/sl3/fg;->c()Ljava/lang/String;
'https://%s' used in: Lcom/qiniu/android/b/b;->a(Lcom/qiniu/android/b/c; Z Ljava/lang/String;)Ljava/lang/String;
'https://adiu.amap.com/ws/device/adius' used in: Lcom/amap/api/col/sl3/jf;->c()Ljava/lang/String;
'https://api-push.in.meizu.com/garcia/api/client/' used in: Lcom/meizu/cloud/pushsdk/platform/a/a;->(Landroid/content/Context;)V
'https://api-push.meizu.com/garcia/api/client/' used in: Lcom/meizu/cloud/pushsdk/platform/a/a;->(Landroid/content/Context;)V
'https://m5.amap.com/ws/mapapi/shortaddress/transform' used in: Lcom/amap/api/col/sl3/fg;->f()Ljava/lang/String;
'https://play.google.com/store/apps/details?id=com.huawei.hwid' used in: Lcom/huawei/hms/update/e/i;->b(Landroid/app/Activity;)V
'https://push.statics' used in: Lcom/meizu/cloud/pushsdk/a/d/e;->a(Lcom/meizu/cloud/pushsdk/a/d/i;)Ljava/net/HttpURLConnection;
'https://query.hicloud.com/hwid/v2/CheckEx.action' used in: Lcom/huawei/hms/update/a/e;->d()I
'https://restapi.amap.com/v3' used in: Lcom/amap/api/col/sl3/fg;->a()Ljava/lang/String;
'https://restapi.amap.com/v3/iasdkauth' used in: Lcom/amap/api/col/sl3/hg$b;->c()Ljava/lang/String;
'https://restapi.amap.com/v4' used in: Lcom/amap/api/col/sl3/fg;->b()Ljava/lang/String;
'https://uc.qbox.me' used in: Lcom/qiniu/android/b/a;->(Lcom/qiniu/android/dns/a;)V
'https://uplog.qbox.me/log/3' used in: Lcom/qiniu/android/a/b;->a()Lcom/qiniu/android/a/b;
'https://ver.youdu.im/version.check' used in: Lim/xinda/youdu/model/YDURL$Statistics;->()V
'https://youdu.im/android_power/index.html' used in: Lim/xinda/youdu/model/YDURL$Html;->()V
'https://youdu.im/android_power/index.html' used in: Lim/xinda/youdu/ui/activities/LaunchPermissionActivity;->o()V
'https://youdu.im/android_power_custom/index.html' used in: Lim/xinda/youdu/model/YDURL$Html;->()V
'https://youdu.im/copyright/terms.html' used in: Lim/xinda/youdu/model/YDURL$Html;->()V
'https://youdu.im/faq/index.html' used in: Lim/xinda/youdu/model/YDURL$Html;->()V
'https://youdu.im/phone_page/app.html' used in: Lim/xinda/youdu/model/YDURL$Html;->()V
'https://youdu.im/youdu/app/public' used in: Lim/xinda/youdu/ui/activities/InvitationEditActivity;->()V
'https://youdu.im/youdu/app/public' used in: Lim/xinda/youdu/ui/activities/TamperedShowActivity;->a(Landroid/view/View;)V
'https://yuntuapi.amap.com' used in: Lcom/amap/api/col/sl3/fg;->c()Ljava/lang/String;
"javascript:document.getElementsByTagName('HEAD').item(0).removeChild(document.getElementById('QQBrowserSDKNightMode'));" used in: Lcom/tencent/smtt/sdk/WebView;->(Landroid/content/Context; Landroid/util/AttributeSet; I Ljava/util/Map; Z)V
"javascript:document.getElementsByTagName('HEAD').item(0).removeChild(document.getElementById('QQBrowserSDKNightMode'));" used in: Lcom/tencent/smtt/sdk/WebView;->switchNightMode(Z)V
'javascript:onLocationChanged(' used in: Lim/xinda/youdu/ui/h/b;->a(Landroid/webkit/WebView; Lim/xinda/youdu/item/LocationInfo;)V
"javascript:onMenuClick('" used in: Lim/xinda/youdu/ui/h/b;->a(Landroid/webkit/WebView; Ljava/lang/String;)V
'javascript:onNewSms(' used in: Lim/xinda/youdu/ui/h/b;->a(Landroid/webkit/WebView; Lim/xinda/youdu/item/q;)V
'javascript:onScanQRCodeResult(' used in: Lim/xinda/youdu/ui/h/b;->c(Landroid/webkit/WebView; Ljava/lang/String;)V
'javascript:onSms(' used in: Lim/xinda/youdu/ui/h/b;->a(Landroid/webkit/WebView; I Ljava/util/List;)V
'javascript:onUserChooserResult(' used in: Lim/xinda/youdu/ui/h/b;->a(Landroid/webkit/WebView; Ljava/util/List;)V
"javascript:onYDAlbumSelected('" used in: Lim/xinda/youdu/ui/h/b;->b(Landroid/webkit/WebView; Ljava/lang/String;)V
"javascript:onYDUploadResult('" used in: Lim/xinda/youdu/ui/h/b;->a(Landroid/webkit/WebView; Ljava/lang/String; Lkotlin/Pair;)V
"javascript:var style = document.createElement('style');style.type='text/css';style.id='QQBrowserSDKNightMode';style.innerHTML='html,body{background:none !important;background-color: #1d1e2a !important;}html *{background-color: #1d1e2a !important; color:#888888 !important;border-color:#3e4f61 !important;text-shadow:none !important;box-shadow:none !important;}a,a *{border-color:#4c5b99 !important; color:#2d69b3 !important;text-decoration:none !important;}a:visited,a:visited *{color:#a600a6 !important;}a:active,a:active *{color:#5588AA !important;}input,select,textarea,option,button{background-image:none !important;color:#AAAAAA !important;border-color:#4c5b99 !important;}form,div,button,span{background-color:#1d1e2a !important; border-color:#4c5b99 !important;}img{opacity:0.5}';document.getElementsByTagName('HEAD').item(0).appendChild(style);" used in: Lcom/tencent/smtt/sdk/WebView;->switchToNightMode()V
"javascript:var style = document.createElement('style');style.type='text/css';style.id='QQBrowserSDKNightMode';style.innerHTML='html,body{background:none !important;background-color: #1d1e2a !important;}html *{background-color: #1d1e2a !important; color:#888888 !important;border-color:#3e4f61 !important;text-shadow:none !important;box-shadow:none !important;}a,a *{border-color:#4c5b99 !important; color:#2d69b3 !important;text-decoration:none !important;}a:visited,a:visited *{color:#a600a6 !important;}a:active,a:active *{color:#5588AA !important;}input,select,textarea,option,button{background-image:none !important;color:#AAAAAA !important;border-color:#4c5b99 !important;}form,div,button,span{background-color:#1d1e2a !important; border-color:#4c5b99 !important;}img{opacity:0.5}';document.getElementsByTagName('HEAD').item(0).appendChild(style);" used in: Lcom/tencent/smtt/sdk/WebView;->(Landroid/content/Context; Landroid/util/AttributeSet; I Ljava/util/Map; Z)V
"javascript:var style = document.createElement('style');style.type='text/css';style.id='QQBrowserSDKNightMode';style.innerHTML='html,body{background:none !important;background-color: #1d1e2a !important;}html *{background-color: #1d1e2a !important; color:#888888 !important;border-color:#3e4f61 !important;text-shadow:none !important;box-shadow:none !important;}a,a *{border-color:#4c5b99 !important; color:#2d69b3 !important;text-decoration:none !important;}a:visited,a:visited *{color:#a600a6 !important;}a:active,a:active *{color:#5588AA !important;}input,select,textarea,option,button{background-image:none !important;color:#AAAAAA !important;border-color:#4c5b99 !important;}form,div,button,span{background-color:#1d1e2a !important; border-color:#4c5b99 !important;}img{opacity:0.5}';document.getElementsByTagName('HEAD').item(0).appendChild(style);" used in: Lcom/tencent/smtt/sdk/WebView;->switchNightMode(Z)V
"javascript:window.java_native.getSource(document.getElementsByTagName('body')[0].innerHTML)" used in: Lim/xinda/youdu/ui/activities/WebActivity$c;->onPageFinished(Landroid/webkit/WebView; Ljava/lang/String;)V
'www.baidu.com:80' used in: Lcom/xiaomi/push/service/an;->run()V
'www.qq.com' used in: Lcom/tencent/smtt/sdk/ah;->l()Z

位置: classes2.dex
'http://schemas.android.com/apk/res/android' used in: Lpl/droidsonroids/gif/e;->a(Landroid/widget/ImageView; Landroid/util/AttributeSet; Z)I

中危

检测到3处setSavePassword密码明文存储漏洞。

位置: classes.dex
com.tencent.smtt.sdk.WebSettings;
im.xinda.youdu.ui.h.c;
im.xinda.youdu.ui.activities.WebActivity;

webview的保存密码功能默认设置为true。Webview会明文保存网站上的密码到本地私有文件”databases/webview.db”中。对于可以被root的系统环境或者配合其他漏洞(如webview的同源绕过漏洞),攻击者可以获取到用户密码。
建议:显示设置webView.getSetting().setSavePassword(false)。

参考案例:
www.wooyun.org/bugs/wooyun-2010-021420
www.wooyun.org/bugs/wooyun-2013-020246

参考资料:
http://wolfeye.baidu.com/blog/
www.claudxiao.net/2013/03/android-webview-cache/

低危

检测到2个WebView系统隐藏接口未移除。

位置: classes.dex
im.xinda.youdu.ui.activities.WebActivity;->a(Ljava.util.List; I)V
im.xinda.youdu.ui.activities.WebActivity;->a(Landroid.webkit.WebView;)V

android webview组件包含3个隐藏的系统接口:searchBoxJavaBridge_,accessibilityTraversal以及accessibility,恶意程序可以利用它们实现远程代码执行。
如果使用了WebView,那么使用WebView.removeJavascriptInterface(String name) API,显示的移除searchBoxJavaBridge_、accessibility、accessibilityTraversal这三个接口。

参考资料:
http://wolfeye.baidu.com/blog/android-webview/
http://blog.csdn.net/u013107656/article/details/51729398
http://wolfeye.baidu.com/blog/android-webview-cve-2014-7224/

低危

检测3处Intent Scheme URI漏洞。

位置: classes.dex
Lcom/meizu/cloud/pushsdk/handler/a/a/a;->a(Landroid/content/Context; Lcom/meizu/cloud/pushsdk/handler/MessageV3;)Landroid/content/Intent;
Lcom/xiaomi/mipush/sdk/j;->a(Landroid/content/Context; Ljava/lang/String; Ljava/util/Map;)Landroid/content/Intent;
Lim/xinda/youdu/ui/g/a;->a(Landroid/content/Context; D D Ljava/lang/String; D D Ljava/lang/String; Ljava/lang/String;)Z


Intent Scheme URI是一种特殊的URL格式,用来通过Web页面启动已安装应用的Activity组件,大多数主流浏览器都支持此功能。如果在app中,没有检查获取到的load_url的值,攻击者可以构造钓鱼网站,诱导用户点击加载,就可以盗取用户信息。所以,对Intent URI的处理不当时,就会导致基于Intent的攻击。建议:
如果使用了Intent.parseUri函数,获取的intent必须严格过滤,intent至少包含addCategory(“android.intent.category.BROWSABLE”),setComponent(null),setSelector(null)3个策略。

参考资料:
http://wolfeye.baidu.com/blog/intent-scheme-url/
http://drops.wooyun.org/papers/2893
http://drops.wooyun.org/mobile/15202

低危

检测到6处AES/DES弱加密风险。

位置: classes.dex
Lcom/amap/api/col/sl3/kl;->b([B [B)[B
im.xinda.youdu.utils.e;->a(Ljava.lang.String; Ljava.lang.String;)Z
Lcom/tencent/smtt/utils/p;->a([B Ljava/lang/String;)[B
Lcom/tencent/smtt/utils/p;->c([B)[B
im.xinda.youdu.utils.e;->a(Ljava.lang.String;)[B
Lcom/tencent/smtt/utils/p;->()V

使用AES/DES/DESede加密算法时,如果使用ECB模式,容易受到攻击风险,造成信息泄露。建议在使用AES/DES/DESede加密算法时,应显示指定使用CBC或CFB加密模式

参考资料:
http://blog.csdn.net/u013107656/article/details/51997957
https://developer.android.com/reference/javax/crypto/Cipher.html
http://drops.wooyun.org/tips/15870
https://developer.android.com/training/articles/keystore.html
http://wolfeye.baidu.com/blog/weak-encryption/
http://www.freebuf.com/articles/terminal/99868.html

低危

非debug包,需要通过打包平台proguard脚本,移除大部分系统输出代码。
经扫描该包仍存在大量系统输出代码,共发现11处系统输出代码.(此处扫描的系统输出代码,是指调用System.out.print*输出的,本应在打包平台移除的系统输出代码.)
各个bundle系统输出代码详情如下:

位置: classes.dex
com.xiaomi.smack.d.c;
com.xiaomi.smack.j;
com.xiaomi.smack.p;
com.google.a.a.a.a.a.a;
com.tencent.smtt.utils.d;
com.tencent.wcdb.DatabaseUtils;
eu.medsea.mimeutil.detector.MagicMimeEntry;
com.tencent.wcdb.repair.DBDumpUtil;
com.xiaomi.push.service.d;
com.amap.api.col.sl3.e;

位置: classes2.dex
org.slf4j.helpers.d;

低危

检测到2处主机名弱校验检测漏洞。

位置: classes.dex
com.meizu.cloud.pushsdk.platform.a$a;->verify(Ljava.lang.String; Ljavax.net.ssl.SSLSession;)Z
im.xinda.youdu.storage.y$a;->verify(Ljava.lang.String; Ljavax.net.ssl.SSLSession;)Z

自定义HostnameVerifier类,却不实现其verify方法验证域名直接返回true,直接接受任意域名。建议:
对SSL证书进行强校验,包括签名CA是否合法、证书是否是自签名、主机域名是否匹配、证书是否过期等。

参考资料:
http://drops.wooyun.org/tips/3296
https://www.91ri.org/12534.html

低危

检测到3处RSA算法不使用padding。

位置: classes.dex
'RSA/ECB/NoPadding' used in: Lcom/tencent/smtt/utils/p;->()V
'RSA/ECB/NoPadding' used in: Lcom/tencent/smtt/utils/q;->c()Ljava/lang/String;
'RSA/ECB/NoPadding' used in: Lcom/tencent/smtt/utils/q;->a(Ljava/lang/String;)Ljava/lang/String;

使用RSA公钥时通常会绑定一个padding,原因是为了防止一些依赖于no padding时对RSA算法的攻击。

参考资料:
http://drops.wooyun.org/tips/15870
https://developer.android.com/training/articles/keystore.html
http://wolfeye.baidu.com/blog/weak-encryption/
http://www.freebuf.com/articles/terminal/99868.html

警告

检测到14处addFlags使用Intent.FLAG_ACTIVITY_NEW_TASK。

位置: classes.dex
im.xinda.youdu.ui.g.a;->n
im.xinda.youdu.ui.g.a;->b
com.tencent.smtt.sdk.b.a.d;->onClick
com.meizu.cloud.pushsdk.handler.a.a.a;->a
com.xiaomi.mipush.sdk.j;->a
com.tencent.smtt.sdk.bc;->onError
com.tencent.smtt.sdk.a.d;->a
com.tencent.smtt.utils.s;->c
im.xinda.youdu.ui.g.a;->e
com.xiaomi.push.service.ak;->a
im.xinda.youdu.ui.g.a;->r
com.tencent.smtt.utils.s;->e
com.tencent.smtt.sdk.x;->a
com.tencent.smtt.sdk.bc;->b

APP创建Intent传递数据到其他Activity,如果创建的Activity不是在同一个Task中打开,就很可能被其他的Activity劫持读取到Intent内容,跨Task的Activity通过Intent传递敏感信息是不安全的。建议:
尽量避免使用包含FLAG_ACTIVITY_NEW_TASK标志的Intent来传递敏感信息。

参考资料:
http://wolfeye.baidu.com/blog/intent-data-leak

警告

检测到14个导出的组件接收其他app的消息,这些组件会被其他app引用并导致dos攻击。

activity im.xinda.youdu.ui.activities.LoginActivity
activity im.xinda.youdu.ui.activities.MainActivity
activity im.xinda.youdu.ui.activities.ReverseLoginActivity
service com.xiaomi.mipush.sdk.PushMessageHandler
service com.meizu.cloud.pushsdk.NotificationService
receiver im.xinda.youdu.ui.broadcastreceiver.PhoneReceiver
receiver im.xinda.youdu.ui.broadcastreceiver.BootBroadcastReceiver
receiver im.xinda.youdu.broadcastreceiver.MeizuBroadcastReceiver
receiver im.xinda.youdu.broadcastreceiver.ConnectivityChangeReceiver
receiver im.xinda.youdu.broadcastreceiver.XiaomiBroadcastReceiver
receiver com.xiaomi.push.service.receivers.NetworkStatusReceiver
receiver im.xinda.youdu.broadcastreceiver.HuaweiBroadcastReceiver
receiver com.huawei.hms.support.api.push.PushEventReceiver
receiver com.meizu.cloud.pushsdk.SystemReceiver

建议:
(1)最小化组件暴露。对不会参与跨应用调用的组件建议显示添加android:exported="false"属性。
(2)设置组件访问权限。对provider设置权限,同时将权限的protectionLevel设置为"signature"或"signatureOrSystem"。
(3)组件传输数据验证。对组件之间,特别是跨应用的组件之间的数据传入与返回做验证和增加异常处理,防止恶意调试数据传入,更要防止敏感数据返回。

参考案例:
http://www.wooyun.org/bugs/wooyun-2010-0169746
http://www.wooyun.org/bugs/wooyun-2010-0104965

参考资料:
http://jaq.alibaba.com/blog.htm?spm=0.0.0.0.Wz4OeC&id=55
《Android安全技术解密与防范》

警告

检测1处組件設置了android.intent.category.BROWSABLE属性。
im.xinda.youdu.ui.activities.MainActivity


在AndroidManifest文件中定义了android.intent.category.BROWSABLE属性的组件,可以通过浏览器唤起,这会导致远程命令执行漏洞攻击。建议:
(1)APP中任何接收外部输入数据的地方都是潜在的攻击点,过滤检查来自网页的参数。
(2)不要通过网页传输敏感信息,有的网站为了引导已经登录的用户到APP上使用,会使用脚本动态的生成URL Scheme的参数,其中包括了用户名、密码或者登录态token等敏感信息,让用户打开APP直接就登录了。恶意应用也可以注册相同的URL Sechme来截取这些敏感信息。Android系统会让用户选择使用哪个应用打开链接,但是如果用户不注意,就会使用恶意应用打开,导致敏感信息泄露或者其他风险。

參考案例:
http://www.wooyun.org/bugs/wooyun-2014-073875
http://www.wooyun.org/bugs/wooyun-2014-067798

参考资料:
http://wolfeye.baidu.com/blog/intent-scheme-url/
http://www.jssec.org/dl/android_securecoding_en.pdf
http://drops.wooyun.org/mobile/15202
http://blog.csdn.net/l173864930/article/details/36951805
http://drops.wooyun.org/papers/2893

警告

检测到1潜在的XSS漏洞。

位置: classes.dex
im.xinda.youdu.ui.h.c;->a(Landroid.content.Context; Landroid.webkit.WebSettings;)V

允许WebView执行JavaScript(setJavaScriptEnabled),有可能导致XSS攻击。建议尽量避免使用。
(1)API等于高高于17的Android系统。出于安全考虑,为了防止Java层的函数被随意调用,Google在4.2版本之后,规定允许被调用的函数必须以@JavascriptInterface进行注解。
(2)API等于高高于17的Android系统。建议不要使用addJavascriptInterface接口,以免带来不必要的安全隐患,如果一定要使用该接口,建议使用证书校验。
u(3)使用removeJavascriptInterface移除Android系统内部的默认内置接口:searchBoxJavaBridge_、accessibility、accessibilityTraversal。

参考案例:
www.wooyun.org/bugs/wooyun-2015-0140708
www.wooyun.org/bugs/wooyun-2016-0188252

参考资料:
http://jaq.alibaba.com/blog.htm?id=48
http://blog.nsfocus.net/android-webview-remote-code-execution-vulnerability-analysis

警告

检测到14处IvParameterSpec的使用。

位置: classes.dex
com.amap.api.col.sl3.dj;->a([B [B [B)Ljava.lang.String;
com.amap.api.col.sl3.hg;->a(Landroid.content.Context; Lcom.amap.api.col.sl3.ho; Ljava.lang.String; Ljava.util.Map;)Lcom.amap.api.col.sl3.hg$a;
com.amap.api.col.sl3.hk;->a([B [B [B)[B
com.amap.api.col.sl3.kl;->()V
com.amap.api.col.sl3.kl;->a([B)[B
com.amap.api.col.sl3.kl;->c([B Ljava.lang.String;)[B
com.amap.api.col.sl3.kl;->d([B Ljava.lang.String;)[B
com.amap.api.col.sl3.lx;->()V
com.amap.api.col.sl3.lx;->a([B)[B
com.hianalytics.android.b.a.b;->a(Ljava.lang.String; [B)[B
com.huawei.hms.support.api.push.a.a.b.a;->a(Ljava.lang.String; [B)Ljava.lang.String;
com.huawei.hms.support.api.push.a.a.b.a;->b(Ljava.lang.String; [B)Ljava.lang.String;
com.huawei.updatesdk.sdk.a.c.a.a;->a(I [B [B)Ljavax.crypto.Cipher;
com.xiaomi.mipush.sdk.i;->a([B I)Ljavax.crypto.Cipher;

使用IVParameterSpec函数,如果使用了固定的初始化向量,那么密码文本可预测性高得多,容易受到字典攻击等。建议禁止使用常量初始化矢量构造IVParameterSpec,使用聚安全提供的安全组件。

参考资料:
http://drops.wooyun.org/tips/15870
https://developer.android.com/training/articles/keystore.html
http://wolfeye.baidu.com/blog/weak-encryption/
http://www.freebuf.com/articles/terminal/99868.html

警告

检测到1个导出的组件存在Intent不安全反射风险。


位置: classes.dex
com.huawei.hms.update.e.p;->b

建议:
(1)不要通过Intent接收的Extra传播的反射函数
(2)将接受反射的组件设置为非导出组件。

警告

检测到2处provider的grantUriPermissions设置为true。
android.support.v4.content.FileProvider
com.huawei.hms.update.provider.UpdateProvider


grant-uri-permission若设置为true,可被其它程序员通过uri访问到content provider的内容,容易造成信息泄露。

参考资料:
https://security.tencent.com/index.php/blog/msg/6

警告

检测到2处socket通信。

位置: classes.dex
Lcom.amap.api.col.sl3.e$c;->run
Lcom.qiniu.android.dns.local.e;->a

Android应用通常使用PF_UNIX、PF_INET、PF_NETLINK等不同domain的socket来进行本地IPC或者远程网络通信,这些暴露的socket代表了潜在的本地或远程攻击面,历史上也出现过不少利用socket进行拒绝服务、root提权或者远程命令执行的案例特别是PF_INET类型的网络socket,可以通过网络与Android应用通信,其原本用于linux环境下开放网络服务,由于缺乏对网络调用者身份或者本地调用者id、permission等细粒度的安全检查机制,在实现不当的情况下,可以突破Android的沙箱限制,以被攻击应用的权限执行命令,通常出现比较严重的漏洞

参考案例:
http://www.wooyun.org/bugs/wooyun-2015-0148406
http://www.wooyun.org/bugs/wooyun-2015-0145365

参考资料:
http://wolfeye.baidu.com/blog/open-listen-port
http://blog.csdn.net/jltxgcy/article/details/50686858
https://www.bigniu.com/article/view/10
http://drops.wooyun.org/mobile/6973

警告

检测到24处使用了加解密算法。密钥处理不当可能会导致信息泄露。

位置: classes.dex
com.amap.api.col.sl3.kl;->b(Ljava.lang.String;)Ljavax.crypto.spec.SecretKeySpec;
okio.ByteString;->hmac(Ljava.lang.String; Lokio.ByteString;)Lokio.ByteString;
com.huawei.hms.support.api.push.a.a.b.a;->b(Ljava.lang.String; [B)Ljava.lang.String;
com.huawei.updatesdk.sdk.a.c.a.a;->a([B [B)[B
com.tencent.smtt.utils.LogFileUtils;->encrypt(Ljava.lang.String; Ljava.lang.String;)[B
com.xiaomi.mipush.sdk.i;->a([B I)Ljavax.crypto.Cipher;
com.huawei.updatesdk.support.b.a;->a([B [B)[B
com.amap.api.col.sl3.hg;->a(Landroid.content.Context; Lcom.amap.api.col.sl3.ho; Ljava.lang.String; Ljava.util.Map;)Lcom.amap.api.col.sl3.hg$a;
im.xinda.youdu.utils.e;->a(Ljava.lang.String; Ljava.lang.String;)Z
com.amap.api.col.sl3.kl;->b([B [B)[B
com.huawei.updatesdk.sdk.a.c.a.a;->a(I [B [B)Ljavax.crypto.Cipher;
b.a.b;->a([B [B)[B
im.xinda.youdu.utils.e;->a(Ljava.lang.String;)[B
com.hianalytics.android.b.a.b;->a(Ljava.lang.String; [B)[B
com.amap.api.col.sl3.kl;->a([B [B)[B
com.amap.api.col.sl3.kl;->a([B)[B
com.huawei.hms.support.api.push.a.a.b.a;->a(Ljava.lang.String; [B)Ljava.lang.String;
okio.Buffer;->hmac(Ljava.lang.String; Lokio.ByteString;)Lokio.ByteString;
com.amap.api.col.sl3.dj;->a([B [B [B)Ljava.lang.String;
com.amap.api.col.sl3.lx;->a([B)[B
okio.HashingSink;->(Lokio.Sink; Lokio.ByteString; Ljava.lang.String;)V
com.amap.api.col.sl3.hk;->a([B [B [B)[B
com.tencent.smtt.utils.LogFileUtils;->encryptKey(Ljava.lang.String; Ljava.lang.String;)[B

位置: classes2.dex
okio.HashingSource;->(Lokio.Source; Lokio.ByteString; Ljava.lang.String;)V

参考案例:
http://www.wooyun.org/bugs/wooyun-2010-0105766
http://www.wooyun.org/bugs/wooyun-2015-0162907
http://www.wooyun.org/bugs/wooyun-2010-0187287

参考资料:
http://drops.wooyun.org/tips/15870
https://developer.android.com/training/articles/keystore.html


动态扫描发现风险点

风险等级 风险名称

服务端分析

风险等级 风险名称

警告

检测到?处XSS漏洞。
开发中...

警告

检测到?处XSS跨站漏洞。
开发中...

应用证书