漏洞分析

0

高危漏洞

7

中危漏洞

2

低危漏洞

6

警告

文件名 kaitangshengshi_yxdown.com.apk
上传者 jaky5155
文件大小 34.799201965332MB
MD5 ac3c6b4328e7154fa2f00fd3596f63d7
包名 com.tencent.tmgp.hw.ktss
Main Activity com.shenyou.ktss.fire.DtdgMainActivity
Min SDK 8
Target SDK 20

权限列表

# 名称 说明 提示
0 android.permission.SEND_SMS 允许应用程序发送短信。恶意应用程序可能会不经您的确认就发送信息,给您带来费用。 警告
1 android.permission.ACCESS_COARSE_LOCATION 访问大概的位置源(例如蜂窝网络数据库)以确定手机的大概位置(如果可以)。恶意应用程序可借此确定您所处的大概位置。 注意
2 android.permission.ACCESS_FINE_LOCATION 访问精准的位置源,例如手机上的全球定位系统(如果有)。恶意应用程序可能会借此确定您所处的位置,并可能消耗额外的电池电量。 注意
3 android.permission.BLUETOOTH 允许应用程序查看本地蓝牙手机的配置,以及建立或接受与配对设备的连接。 注意
4 android.permission.GET_TASKS 允许应用程序检索有关当前和最近运行的任务的信息。恶意应用程序可借此发现有关其他应用程序的保密信息。 注意
5 android.permission.READ_HISTORY_BOOKMARKS 允许应用程序读取浏览器历史记录. 注意
6 android.permission.READ_PHONE_STATE 允许应用程序访问设备的手机功能。有此权限的应用程序可确定此手机的号码和序列号,是否正在通话,以及对方的号码等。 注意
7 android.permission.RECEIVE_BOOT_COMPLETED 允许应用程序在系统完成启动后即自行启动。这样会延长手机的启动时间,而且如果应用程序一直运行,会降低手机的整体速度。 注意
8 android.permission.RECORD_AUDIO 允许应用程序访问录音路径。 注意
9 android.permission.SET_DEBUG_APP 允许应用程序启动对其他应用程序的调试。恶意应用程序可借此终止其他应用程序。 注意
10 android.permission.SYSTEM_ALERT_WINDOW 允许应用程序显示系统警报窗口。恶意应用程序可借此掌控整个手机屏幕。 注意
11 android.permission.WRITE_SETTINGS 允许应用程序修改系统设置方面的数据。恶意应用程序可借此破坏您的系统配置。 注意
12 android.permission.ACCESS_NETWORK_STATE 允许应用程序查看所有网络的状态。 提示
13 android.permission.ACCESS_WIFI_STATE 允许应用程序查看有关WLAN状态的信息。 提示
14 android.permission.BLUETOOTH_ADMIN 允许应用程序配置本地蓝牙手机,以及发现远程设备并与其配对。 提示
15 android.permission.CAMERA 允许应用程序使用相机拍照,这样应用程序可随时收集进入相机镜头的图像。 提示
16 android.permission.CHANGE_NETWORK_STATE 允许应用程序更改网络连接的状态。 提示
17 android.permission.CHANGE_WIFI_STATE 允许应用程序连接到WLAN接入点以及与WLAN接入点断开连接,并对配置的WLAN网络进行更改。 提示
18 android.permission.DISABLE_KEYGUARD 允许应用程序停用键锁和任何关联的密码安全设置。例如,在手机上接听电话时停用键锁,在通话结束后重新启用键锁。 提示
19 android.permission.GET_ACCOUNTS 允许应用程序获取手机已知的帐户列表。 提示
20 android.permission.INTERNET 允许程序访问网络. 提示
21 android.permission.MANAGE_ACCOUNTS 允许应用程序执行添加、删除帐户及删除其密码之类的操作。 提示
22 android.permission.MODIFY_AUDIO_SETTINGS 允许应用程序修改整个系统的音频设置,如音量和路由。 提示
23 android.permission.MOUNT_UNMOUNT_FILESYSTEMS 允许应用程序装载和卸载可移动存储器的文件系统。 提示
24 android.permission.READ_LOGS 允许应用程序从系统的各日志文件中读取信息。这样应用程序可以发现您的手机使用情况,但这些信息不应包含任何个人信息或保密信息。 提示
25 android.permission.RESTART_PACKAGES 允许程序自己重启或重启其他程序 提示
26 android.permission.USE_CREDENTIALS 允许应用程序请求身份验证标记。 提示
27 android.permission.VIBRATE 允许应用程序控制振动器。 提示
28 android.permission.WAKE_LOCK 允许应用程序防止手机进入休眠状态。 提示
29 android.permission.WRITE_EXTERNAL_STORAGE 允许应用程序写入SD卡。 提示

四大组件

组件名称

com.shenyou.ktss.fire.DtdgMainActivity
com.firedg.sdk.impl.FDSDKActivity
com.firedg.sdk.identify.FDIDActivity
com.huowu.sdk.HuowuActivity
com.tencent.tauth.AuthActivity
com.tencent.connect.common.AssistActivity
com.tencent.tmgp.hw.ktss.wxapi.WXEntryActivity
com.tencent.tmgp.hw.ktss.wxapi.WXPayEntryActivity

com.shenyou.ktss.fire.NotificationService
com.huowu.sdk.FloatViewService
com.sina.weibo.sdk.net.DownloadService

com.shenyou.ktss.fire.NotificationRegReceiver

第三方库

# 库名 介绍
0 com.tencent.map 腾讯地图Android SDK是一套基于Android2.3及以上设备的应用接口,通过该接口,您可以方便地访问腾讯地图为您提供的高质量地点数据和服务,构建丰富而实用的地图及位置服务类应用。腾讯地图Android SDK除提供创建底图、缩放、平滑移图等基础功能外,还提供定位、地址解析、反地址解析、周边搜索、路线方案等拓展服务,助你在应用开发中事半功倍。腾讯地图Android SDK的服务需要注册,免费的向第三方提供,任何非盈利性网站均可使用。
1 com.tencent.mm.sdk 微信支付
2 com.tencent.connect 腾讯开放平台
3 com.alipay.share.sdk 分享给支付宝好友功能
4 android.support.multidex DEPRECATED
5 com.tencent.tauth 腾讯QQ互联平台为广大开发者整理了SDK列表,辅助开发者快速接入QQ登录、分享等功能。QQ互联是腾讯旗下的开放平台,通过QQ互联,网站主和开发者可以申请接入QQ登录、用户可以使用QQ账号登录接入的站点,通过添加分享和赞组件,将站点内容分享到QQ空间和朋友网,通过获取API授权,网站主还可以将用户操作同步到QQ空间和朋友网。
6 com.google.gson A Java serialization library that can convert Java Objects into JSON and back.
7 org.apache.http The Apache HttpComponents™ project is responsible for creating and maintaining a toolset of low level Java components focused on HTTP and associated protocols.
8 com.loopj.android.http An Asynchronous HTTP Library for Android http://loopj.com/android-async-http/
9 com.umeng.socialize 社会化组件帮您接入和升级各种社交平台,快速武装您的应用!

静态扫描发现风险点

风险等级 风险名称

中危

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

中危

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

位置: classes.dex
com.loopj.android.http.MySSLSocketFactory$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

中危

检测到1处中间人攻击漏洞。

位置: classes.dex
com.loopj.android.http.MySSLSocketFactory;->getFixedSocketFactory()Lorg.apache.http.conn.ssl.SSLSocketFactory;

setHostnameVerifier方法设置ALLOW_ALL_HOSTNAME_VERIFIER,直接接受任意域名,可能造成中间人攻击漏洞。建议:
对SSL证书进行强校验,包括签名CA是否合法、证书是否是自签名、主机域名是否匹配、证书是否过期等。

参考案例:
http://www.wooyun.org/bugs/wooyun-2010-042710
http://www.wooyun.org/bugs/wooyun-2010-052339
http://www.wooyun.org/bugs/wooyun-2016-0190773

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

中危

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

位置: classes.dex
com.tencent.a.a.a.a.h;->b(Landroid/content/Context;)Ljava/lang/String;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.wxop.stat.b.r;->b(Landroid/content/Context;)Ljava/lang/String;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxHelper;->outputMemoryInfo()V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.firedg.sdk.HuowuUser;->(Landroid/app/Activity;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxVideo;->onCompletion(Landroid/media/MediaPlayer;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->init(Lorg/cocos2dx/lib/IQdSDKAbstract;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.firedg.sdk.FDSDK;->log(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->v(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->v(Ljava/lang/String;)V==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->logout(Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->e(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.CocosNotificationService$1;->removeAllNotifiaction()V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->doLoginForVerifycode(Landroid/app/Activity; I Ljava/lang/String; Ljava/lang/String; Lcom/huowu/sdk/InternalCallback;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->e(Ljava/lang/String; Ljava/lang/String; Ljava/lang/Exception;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.WebViewClientEmb;->onPageFinished(Landroid/webkit/WebView; Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.sdk.b.b;->f(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->i(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APApiImlV1;->registerApp(Ljava/lang/String;)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->init(Landroid/app/Activity; Lcom/huowu/sdk/InitParam;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxGLSurfaceView$1;->handleMessage(Landroid/os/Message;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxVideo;->surfaceDestroyed(Landroid/view/SurfaceHolder;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxGLSurfaceView;->dumpMotionEvent(Landroid/view/MotionEvent;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.CocosNotificationService;->onStartCommand(Landroid/content/Intent; I I)I==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->i(Ljava/lang/String; Ljava/lang/String; Ljava/lang/Exception;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->d(Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.NotificationHelper;->pushMessage(Ljava/lang/String; I I Ljava/lang/String;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.view.a.c;->show()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.shenyou.ktss.fire.FirePlatformSDK$3;->run()V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.shenyou.ktss.fire.NotificationService;->localPushMessage(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.ExtractHtmlFile;->UnZipFolder(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->queryExit(Lorg/cocos2dx/lib/IQdSDKQueryExitCallback;)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APWebPageObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.sdk.openapi.WXApiImplV10$ActivityLifecycleCb$1;->run()V==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.wxop.stat.b.b;->b(Ljava/lang/Object;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.sdk.openapi.WXApiImplV10$ActivityLifecycleCb;->onActivityResumed(Landroid/app/Activity;)V==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.SendMessageToZFB$Req;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->goLoginView()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->exit()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.shenyou.ktss.fire.FirePlatformSDK$1$3;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.a.a.a.a.b;->b()Ljava/lang/String;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk$1;->onComplete(Lcom/umeng/socialize/bean/SHARE_MEDIA; I Ljava/util/Map;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.firedg.sdk.utils.L;->e([Ljava/lang/Object;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->payCallback(I Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxVideo;->surfaceCreated(Landroid/view/SurfaceHolder;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->d(Ljava/lang/String; Ljava/lang/String; Ljava/lang/Exception;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.a.a.a.a.d;->b()Ljava/lang/String;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.CocosNotificationService$2;->run()V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->post(Landroid/app/Activity; Ljava/lang/String; Landroid/os/Bundle; Lcom/huowu/sdk/RequestCallback;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk$4;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.view.a.b.c;->onDraw(Landroid/graphics/Canvas;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->w(Ljava/lang/String; Ljava/lang/String; Ljava/lang/Exception;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.wxop.stat.b.b;->error(Ljava/lang/Object;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk$15;->onResult(I Lorg/json/JSONObject;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->getAdChannelId(Landroid/content/Context; Ljava/lang/String;)Ljava/lang/String;==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxBitmap;->createTextBitmap(Ljava/lang/String; Ljava/lang/String; I I I I Z)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->d(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk$5;->onSuccess(I [Lorg/apache/http/Header; [B)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxHelper;->getLocalIpAddress()Ljava/lang/String;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxVideo;->(Landroid/app/Activity;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.CocosNotificationService;->onDestroy()V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.CocosNotificationService;->localPushMessage(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APTaobaoGoodsObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APApiImlV1;->registerApp(Ljava/lang/String;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.shenyou.ktss.fire.FirePlatformSDK$1;->onInitResult(Lcom/firedg/sdk/InitResult;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.CocosNotificationService;->onCreate()V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APApiImlV1;->openZFBApp()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->addLoad(Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->logoutCallback(I)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.sdk.b.b;->e(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk$5;->onFailure(I [Lorg/apache/http/Header; [B Ljava/lang/Throwable;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.shenyou.ktss.fire.FirePlatformSDK$3;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APApiImlV1;->handleIntent(Landroid/content/Intent; Lcom/alipay/share/sdk/openapi/IAPAPIEventHandler;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxBroadcastReceiver;->onReceive(Landroid/content/Context; Landroid/content/Intent;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.wxop.stat.b.r;->W(Landroid/content/Context;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.shenyou.ktss.fire.FirePlatformSDK$5;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.FloatViewService;->hide()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->checkUpdate()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.CocosNotificationService;->onBind(Landroid/content/Intent;)Landroid/os/IBinder;==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.a.a.a.a.e;->b()Ljava/lang/String;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxVideo;->onVideoFinish()V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.shenyou.ktss.fire.FirePlatformSDK;->_QdopenPay(Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APTextObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.wxop.stat.b.b;->warn(Ljava/lang/Object;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.shenyou.ktss.fire.FirePlatformSDK$1;->onResult(I Ljava/lang/String;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APMediaMessage;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APMediaMessage$Builder;->fromBundle(Landroid/os/Bundle;)Lcom/alipay/share/sdk/openapi/APMediaMessage;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->initSDKCallback(I)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.NotificationHelper;->setNotificationService(Landroid/content/ComponentName; Landroid/os/IBinder;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.channel.APMessageAct;->send(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->pay(Lcom/huowu/sdk/PayParam;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.a.a.a.a.d;->b(Ljava/lang/String;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.channel.APMessageAct;->send(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.a.a.a.a.b;->b(Ljava/lang/String;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.shenyou.ktss.fire.FirePlatformSDK;->onLogout(I)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.firedg.sdk.DeviceInfor.FDPostDeviceInfo;->postDeviceInfor()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->doRegisterPhone(Landroid/app/Activity; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Lcom/huowu/sdk/InternalCallback;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxHelper;->getMacAddress()Ljava/lang/String;==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APImageObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.firedg.sdk.utils.L;->i([Ljava/lang/Object;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->openUserPanel()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->doPay(Landroid/app/Activity; Landroid/os/Bundle; Lcom/huowu/sdk/InternalCallback;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxActivity;->onCreate(Landroid/os/Bundle;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.CocosNotificationService$1;->pushMessage(Ljava/lang/String; I I Ljava/lang/String;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APApiImlV1;->unregisterApp()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.shenyou.ktss.fire.FirePlatformSDK$1$1;->run()V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.CocosNotificationService;->()V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.view.a.b.a;->onDraw(Landroid/graphics/Canvas;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.wxop.stat.b.b;->debug(Ljava/lang/Object;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.a.a.a.a.h;->c(Landroid/content/Context;)Ljava/lang/String;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->openLogin(Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.firedg.sdk.utils.L;->d([Ljava/lang/Object;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->w(Ljava/lang/String;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.NotificationHelper;->unbindService()V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->sendSDKStatistic(Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->e(Ljava/lang/String;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->loginCallback(I Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.handler.UMTencentSSOHandler;->onCreate(Landroid/content/Context; Lcom/umeng/socialize/PlatformConfig$Platform;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.sdk.b.b;->h(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->getLoginState(Ljava/lang/String;)I==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxBitmap;->newPaint(Ljava/lang/String; I I Z)Landroid/graphics/Paint;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.a.a.a.a.e;->b(Ljava/lang/String;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.wxop.stat.b.r;->X(Landroid/content/Context;)Lorg/json/JSONArray;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APApiImlV1;->checkSumConsistent(Ljava/lang/String;)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->invoke(Ljava/lang/String; Ljava/lang/String;)Ljava/lang/String;==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APApiImlV1;->getZFBSupportAPI()I==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.channel.APMessage;->send(Landroid/content/Context; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Landroid/os/Bundle;)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->doGetVerifyCode(Landroid/app/Activity; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Lcom/huowu/sdk/InternalCallback;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->openPay(Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->doRegisterUser(Landroid/app/Activity; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Lcom/huowu/sdk/InternalCallback;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->init(Landroid/app/Activity; Lcom/huowu/sdk/InitParam;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->logout()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxBitmap;->getFontSizeAccordingHeight(I)I==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.FloatViewService;->onCreate()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk$20;->onResult(I Lorg/json/JSONObject;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->post(Landroid/app/Activity; Ljava/lang/String; Landroid/os/Bundle; Lcom/huowu/sdk/RequestCallback; Z)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.firedg.sdk.HuowuUser;->exit()V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxActivity;->isAndroidEmulator()Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APApiImlV1;->checkSumConsistent([Landroid/content/pm/Signature;)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk$3;->onSuccess(I [Lorg/apache/http/Header; Lorg/json/JSONObject;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.channel.APMessage$Receiver;->onReceive(Landroid/content/Context; Landroid/content/Intent;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APApiImlV1;->checkSumConsistent([B [B)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->login(Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->destroy()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk$14;->onResult(I Lorg/json/JSONObject;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->initSDK()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.firedg.sdk.utils.L;->v([Ljava/lang/Object;)V==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->sendExtendInfo(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.sdk.openapi.WXApiImplV10$ActivityLifecycleCb$2;->run()V==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.wxop.stat.b.r;->c(Landroid/content/Context;)Ljava/lang/String;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->w(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.sdk.openapi.WXApiImplV10$ActivityLifecycleCb;->onActivityPaused(Landroid/app/Activity;)V==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxActivity;->onLowMemory()V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.sdk.b.b;->g(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APApiImlV1;->sendReq(Lcom/alipay/share/sdk/openapi/BaseReq;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->v(Ljava/lang/String; Ljava/lang/String; Ljava/lang/Exception;)V==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk$21;->onSuccess(I [Lorg/apache/http/Header; Lorg/json/JSONObject;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.wxop.stat.b.r;->W(Landroid/content/Context;)Z==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.Cocos2dxMusic;->playBackgroundMusic(Ljava/lang/String; Z)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APApiImlV1;->unregisterApp()V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.share.sdk.openapi.APMediaMessage;->setThumbImage(Landroid/graphics/Bitmap;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.umeng.socialize.utils.Log;->i(Ljava/lang/String;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->showFloatButton(Z)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->playAnimation()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.huowu.sdk.HuowuSdk;->doGetFastRegister(Landroid/app/Activity; Lcom/huowu/sdk/InternalCallback;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
org.cocos2dx.lib.PlatformHelper;->commonCallback(Ljava/lang/String; I Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I

中危

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

位置: classes.dex
com.firedg.sdk.identify.FDIDActivity;->setContainerView()Landroid.view.View;
com.firedg.sdk.impl.FDSDKActivity;->setContainerView()Landroid.view.View;
com.huowu.sdk.HuowuActivity;->setWebView(Landroid.webkit.WebView; Ljava.lang.String; Lcom.huowu.sdk.WebViewClientEmb; Ljava.lang.String;)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

中危

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

位置: classes.dex
'10.0.0.172' used in: Lcom/tencent/wxop/stat/b/l;->v(Landroid/content/Context;)Lorg/apache/http/HttpHost;
'10.0.0.200' used in: Lcom/tencent/wxop/stat/b/l;->v(Landroid/content/Context;)Lorg/apache/http/HttpHost;
'file:///' used in: Lcom/huowu/sdk/HuowuActivity;->getHtmlPath()Ljava/lang/String;
'file:///android_asset' used in: Lcom/huowu/sdk/HuowuActivity;->getHtmlPath()Ljava/lang/String;
'http://adv.firedg.com/upapi.php?method=appLoad&platform=hwsdk&game_id=' used in: Lcom/huowu/sdk/HuowuSdk;->addLoad(Ljava/lang/String;)V
'http://analy.qq.com/cgi-bin/mapp_apptrace' used in: Lcom/tencent/open/yyb/a$b;->a([Landroid/os/Bundle;)Ljava/lang/Void;
'http://anysdktest.firedg.com/deviceRecord.php' used in: Lcom/firedg/sdk/DeviceInfor/FDPostDeviceInfo;->postDeviceInfor()V
'http://appact.qzone.qq.com/appstore_activity_task_pcpush_sdk' used in: Lcom/tencent/open/TaskGuide;->e(I)V
'http://appact.qzone.qq.com/appstore_activity_task_pcpush_sdk' used in: Lcom/tencent/open/TaskGuide;->showTaskGuideWindow(Landroid/app/Activity; Landroid/os/Bundle; Lcom/tencent/tauth/IUiListener;)V
'http://appsupport.qq.com/cgi-bin/appstage/mstats_batch_report' used in: Lcom/tencent/open/b/g$5;->run()V
'http://appsupport.qq.com/cgi-bin/qzapps/mapp_addapp.cgi' used in: Lcom/tencent/connect/auth/AuthAgent$FeedConfirmListener;->a()V
'http://appsupport.qq.com/cgi-bin/qzapps/mapp_addapp.cgi' used in: Lcom/tencent/connect/auth/AuthAgent$FeedConfirmListener;->(Lcom/tencent/connect/auth/AuthAgent; Lcom/tencent/tauth/IUiListener;)V
'http://c.isdspeed.qq.com/code.cgi' used in: Lcom/tencent/open/b/d;->a(I Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/Long; I I Ljava/lang/String;)V
'http://cgi.connect.qq.com/qqconnectopen/openapi/policy_conf' used in: Lcom/tencent/open/utils/OpenConfig$1;->run()V
'http://cgi.qplus.com/report/report' used in: Lcom/tencent/open/utils/Util$1;->run()V
'http://dev.umeng.com/' used in: Lcom/umeng/socialize/media/QZoneShareContent;->buildParamsQzone()Landroid/os/Bundle;
'http://dev.umeng.com/' used in: Lcom/umeng/socialize/media/QZoneShareContent;->setShareToImage(Landroid/os/Bundle;)V
'http://dev.umeng.com/' used in: Lcom/umeng/socialize/media/QQShareContent;->buildParams()Landroid/os/Bundle;
'http://fusion.qq.com/cgi-bin/prize_sharing/exchange_prize.cgi' used in: Lcom/tencent/open/GameAppOperation$3;->run()V
'http://fusion.qq.com/cgi-bin/prize_sharing/get_activity_state.cgi' used in: Lcom/tencent/open/GameAppOperation$4;->run()V
'http://fusion.qq.com/cgi-bin/prize_sharing/make_share_url.cgi' used in: Lcom/tencent/open/GameAppOperation$1;->run()V
'http://fusion.qq.com/cgi-bin/prize_sharing/query_unexchange_prize.cgi' used in: Lcom/tencent/open/GameAppOperation$2;->run()V
'http://fusion.qq.com/cgi-bin/qzapps/mapp_lbs_delete.cgi' used in: Lcom/tencent/open/LocationApi;->deleteLocation(Landroid/app/Activity; Landroid/os/Bundle; Lcom/tencent/tauth/IUiListener;)V
'http://fusion.qq.com/cgi-bin/qzapps/mapp_lbs_getnear.cgi' used in: Lcom/tencent/open/LocationApi;->a(Landroid/location/Location;)V
'http://fusion.qq.com/cgi-bin/qzapps/unified_jump?appid=%1$s&from=%2$s&isOpenAppID=1' used in: Lcom/tencent/connect/share/QQShare;->shareToQQ(Landroid/app/Activity; Landroid/os/Bundle; Lcom/tencent/tauth/IUiListener;)V
'http://fusion.qq.com/cgi-bin/qzapps/unified_jump?appid=%1$s&from=%2$s&isOpenAppID=1' used in: Lcom/tencent/connect/share/QzoneShare;->shareToQzone(Landroid/app/Activity; Landroid/os/Bundle; Lcom/tencent/tauth/IUiListener;)V
'http://lbs.map.qq.com/loc?c=1' used in: Lcom/tencent/map/b/f$b;->(Lcom/tencent/map/b/f; Ljava/lang/String;)V
'http://log.umsns.com/' used in: Lcom/umeng/socialize/net/base/SocializeClient;->execute(Lcom/umeng/socialize/net/base/SocializeRequest;)Lcom/umeng/socialize/net/base/SocializeReseponse;
'http://log.umsns.com/' used in: Lcom/umeng/socialize/view/OauthDialog;->a(Lcom/umeng/socialize/bean/SHARE_MEDIA;)Ljava/lang/String;
'http://ls.map.soso.com/deflect?c=1' used in: Lcom/tencent/map/b/b$b;->run()V
'http://ls.map.soso.com/monitor/monitor.html' used in: Lcom/tencent/map/b/q;->a(Ljava/lang/String; Z)Ljava/net/HttpURLConnection;
'http://lstest.map.soso.com/loc?c=1' used in: Lcom/tencent/map/b/f$b;->(Lcom/tencent/map/b/f; Ljava/lang/String;)V
'http://m.wsq.qq.com/direct?' used in: Lcom/tencent/open/yyb/AppbarAgent;->c(Ljava/lang/String;)Ljava/lang/String;
'http://openmobile.qq.com/oauth2.0/m_authorize?' used in: Lcom/tencent/connect/auth/AuthAgent;->a(Z Lcom/tencent/tauth/IUiListener;)I
'http://openmobile.qq.com/oauth2.0/m_jump_by_version?' used in: Lcom/tencent/connect/common/BaseApi;->getCommonDownloadQQUrl(Ljava/lang/String;)Ljava/lang/String;
'http://pingma.qq.com:80/mstat/report' used in: Lcom/tencent/wxop/stat/c;->()V
'http://qzs.qq.com' used in: Lcom/tencent/open/SocialApiIml;->writeEncryToken(Landroid/content/Context;)V
'http://qzs.qq.com/open/mobile/brag/sdk_brag.html?' used in: Lcom/tencent/open/SocialApiIml;->brag(Landroid/app/Activity; Landroid/os/Bundle; Lcom/tencent/tauth/IUiListener;)V
'http://qzs.qq.com/open/mobile/brag/sdk_brag.html?' used in: Lcom/tencent/open/SocialApiIml;->challenge(Landroid/app/Activity; Landroid/os/Bundle; Lcom/tencent/tauth/IUiListener;)V
'http://qzs.qq.com/open/mobile/invite/sdk_invite.html?' used in: Lcom/tencent/open/SocialApiIml;->invite(Landroid/app/Activity; Landroid/os/Bundle; Lcom/tencent/tauth/IUiListener;)V
'http://qzs.qq.com/open/mobile/jsbridge/demo.htm' used in: Lcom/tencent/open/yyb/AppbarJsBridge;->share(Landroid/net/Uri; I Ljava/lang/String; Ljava/lang/String;)V
'http://qzs.qq.com/open/mobile/login/qzsjump.html?' used in: Lcom/tencent/connect/auth/AuthDialog$LoginWebViewClient;->onReceivedError(Landroid/webkit/WebView; I Ljava/lang/String; Ljava/lang/String;)V
'http://qzs.qq.com/open/mobile/login/qzsjump.html?' used in: Lcom/tencent/connect/auth/AuthDialog;->a()Ljava/lang/String;
'http://qzs.qq.com/open/mobile/login/qzsjump.html?' used in: Lcom/tencent/connect/common/BaseApi;->handleDownloadLastestQQ(Landroid/app/Activity; Landroid/os/Bundle; Lcom/tencent/tauth/IUiListener;)V
'http://qzs.qq.com/open/mobile/not_support.html?' used in: Lcom/tencent/open/SocialApiIml;->a(Landroid/app/Activity; Landroid/os/Bundle; Lcom/tencent/tauth/IUiListener;)V
'http://qzs.qq.com/open/mobile/rate/sdk_rate.html?' used in: Lcom/tencent/open/SocialApiIml;->grade(Landroid/app/Activity; Landroid/os/Bundle; Lcom/tencent/tauth/IUiListener;)V
'http://qzs.qq.com/open/mobile/reactive/sdk_reactive.html?' used in: Lcom/tencent/open/SocialApiIml;->reactive(Landroid/app/Activity; Landroid/os/Bundle; Lcom/tencent/tauth/IUiListener;)V
'http://qzs.qq.com/open/mobile/request/sdk_request.html?' used in: Lcom/tencent/open/SocialApiIml;->a(Landroid/app/Activity; Ljava/lang/String; Landroid/os/Bundle; Lcom/tencent/tauth/IUiListener;)V
'http://qzs.qq.com/open/mobile/sendstory/sdk_sendstory_v1.3.html?' used in: Lcom/tencent/open/SocialApiIml;->story(Landroid/app/Activity; Landroid/os/Bundle; Lcom/tencent/tauth/IUiListener;)V
'http://sns.whalecloud.com' used in: Lcom/umeng/socialize/Config;->()V
'http://webpresence.qq.com/getonline?Type=1&' used in: Lcom/tencent/open/wpa/WPA;->getWPAUserOnlineState(Ljava/lang/String; Lcom/tencent/tauth/IUiListener;)V
'http://wspeed.qq.com/w.cgi' used in: Lcom/tencent/open/b/g$4;->run()V
'http://www.baidu.com' used in: Lcom/firedg/sdk/FDTimeCalculation$2;->run()V
'http://www.myapp.com/forward/a/45592?g_f=990935' used in: Lcom/tencent/open/wpa/WPA;->startWPAConversation(Landroid/app/Activity; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)I
'http://www.umeng.com/social' used in: Lcom/umeng/socialize/media/WeiXinShareContent;->buildTextImageParams()Lcom/tencent/mm/sdk/modelmsg/WXMediaMessage;
'https://api.weixin.qq.com/sns/oauth2/access_token?' used in: Lcom/umeng/socialize/handler/UMWXHandler;->getAuthWithCode(Ljava/lang/String; Lcom/umeng/socialize/UMAuthListener;)V
'https://api.weixin.qq.com/sns/oauth2/refresh_token?' used in: Lcom/umeng/socialize/handler/UMWXHandler;->getAuthWithRefreshToken(Ljava/lang/String;)Ljava/util/Map;
'https://api.weixin.qq.com/sns/oauth2/refresh_token?appid=' used in: Lcom/umeng/socialize/handler/UMWXHandler;->authorize(Landroid/app/Activity; Lcom/umeng/socialize/UMAuthListener;)V
'https://api.weixin.qq.com/sns/userinfo?access_token=' used in: Lcom/umeng/socialize/handler/UMWXHandler;->getPlatformInfo(Landroid/app/Activity; Lcom/umeng/socialize/UMAuthListener;)V
'https://mcashier.95516.com/mobile/zh_CN' used in: Lcom/firedg/sdk/impl/FDSDKActivity$1;->shouldOverrideUrlLoading(Landroid/webkit/WebView; Ljava/lang/String;)Z
'https://mcashier.95516.com/mobile/zh_CN' used in: Lcom/firedg/sdk/identify/FDIDActivity$1;->shouldOverrideUrlLoading(Landroid/webkit/WebView; Ljava/lang/String;)Z
'https://mclient.alipay.com/home/exterfaceAssign' used in: Lcom/firedg/sdk/impl/FDSDKActivity$1;->shouldOverrideUrlLoading(Landroid/webkit/WebView; Ljava/lang/String;)Z
'https://mclient.alipay.com/home/exterfaceAssign' used in: Lcom/firedg/sdk/identify/FDIDActivity$1;->shouldOverrideUrlLoading(Landroid/webkit/WebView; Ljava/lang/String;)Z
'https://openmobile.qq.com/' used in: Lcom/tencent/open/utils/HttpUtils;->request(Lcom/tencent/connect/auth/QQToken; Landroid/content/Context; Ljava/lang/String; Landroid/os/Bundle; Ljava/lang/String;)Lorg/json/JSONObject;
'https://openmobile.qq.com/' used in: Lcom/tencent/open/utils/HttpUtils;->upload(Lcom/tencent/connect/auth/QQToken; Landroid/content/Context; Ljava/lang/String; Landroid/os/Bundle;)Lorg/json/JSONObject;
'https://openmobile.qq.com/user/user_login_statis' used in: Lcom/tencent/connect/auth/AuthAgent;->a(Lcom/tencent/tauth/IUiListener;)V
'https://openmobile.qq.com/v3/user/get_info' used in: Lcom/tencent/connect/auth/AuthAgent;->b(Lcom/tencent/tauth/IUiListener;)V
'https://qr.alipay' used in: Lcom/huowu/sdk/HuowuActivity$6;->shouldOverrideUrlLoading(Landroid/webkit/WebView; Ljava/lang/String;)Z
'javascript:callback(' used in: Lcom/huowu/sdk/HuowuActivity$15$1;->run()V
'javascript:cutPic()' used in: Lcom/huowu/sdk/HuowuActivity$14$1;->run()V
'javascript:getFastRgt(' used in: Lcom/huowu/sdk/HuowuActivity$20$1;->run()V
'javascript:onlineTime(' used in: Lcom/firedg/sdk/identify/FDIDActivity$1;->onPageFinished(Landroid/webkit/WebView; Ljava/lang/String;)V
"javascript:payWay('" used in: Lcom/firedg/sdk/impl/FDSDKActivity;->setPayParams(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String;)V
'javascript:returnHistory(' used in: Lcom/huowu/sdk/HuowuActivity$27;->run()V
'javascript:time()' used in: Lcom/huowu/sdk/HuowuActivity$16$1;->run()V
'javascript:time()' used in: Lcom/huowu/sdk/HuowuActivity$17$1$1;->run()V
'javascript:time()' used in: Lcom/huowu/sdk/HuowuActivity$18$1$1;->run()V
'javascript:toSetPassword(' used in: Lcom/huowu/sdk/HuowuActivity$19$1;->run()V
'javascript:window.JsBridge&&JsBridge.callback(' used in: Lcom/tencent/open/a$a;->a(Ljava/lang/Object;)V
'javascript:window.JsBridge&&JsBridge.callback(' used in: Lcom/tencent/open/a$a;->a()V

中危

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

位置: classes.dex
com.tencent.open.SocialApiIml;
com.firedg.sdk.impl.FDSDKActivity;
com.huowu.sdk.HuowuActivity$15$1;
com.firedg.sdk.identify.FDIDActivity;
com.huowu.sdk.HuowuActivity;
com.umeng.socialize.view.OauthDialog;
com.tencent.open.yyb.AppbarActivity;

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/

低危

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

位置: classes.dex
com.huowu.sdk.HuowuActivity;->_showPayDesk(Z)V
com.huowu.sdk.HuowuActivity;->_showWapPay(Ljava.lang.String;)V
com.umeng.socialize.view.OauthDialog;->a()Z
com.firedg.sdk.identify.FDIDActivity;->setContainerView()Landroid.view.View;
com.firedg.sdk.impl.FDSDKActivity;->setContainerView()Landroid.view.View;
com.huowu.sdk.HuowuActivity$15$1;->run()V
com.huowu.sdk.HuowuActivity;->setWebView(Landroid.webkit.WebView; Ljava.lang.String; Lcom.huowu.sdk.WebViewClientEmb; Ljava.lang.String;)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/

低危

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

位置: classes.dex
com.firedg.sdk.utils.FDHttpUtils;
com.tencent.open.utils.Util;
com.firedg.sdk.utils.VerifyUtils$3$1;
com.firedg.sdk.SDKTools;
com.huowu.sdk.HuowuActivity;
com.huowu.sdk.HuowuActivity$19$1;
org.cocos2dx.lib.Cocos2dxVideo;
com.huowu.sdk.HuowuActivity$2;
com.huowu.sdk.ExtractHtmlFile;
com.shenyou.ktss.fire.QDApplication;

警告

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

位置: classes.dex
com.tencent.mm.sdk.a.a;->a
com.alipay.share.sdk.openapi.channel.APMessageAct;->send
com.tencent.connect.auth.AuthDialog$LoginWebViewClient;->shouldOverrideUrlLoading
com.tencent.open.TDialog$FbWebViewClient;->shouldOverrideUrlLoading
com.tencent.open.utils.Util;->a
com.tencent.open.PKDialog;->loadUrlWithBrowser

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

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

警告

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

activity com.tencent.tauth.AuthActivity
activity com.tencent.tmgp.hw.ktss.wxapi.WXEntryActivity
activity com.tencent.tmgp.hw.ktss.wxapi.WXPayEntryActivity
receiver com.shenyou.ktss.fire.NotificationRegReceiver

建议:
(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属性。
com.tencent.tauth.AuthActivity


在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

警告

检测到12潜在的XSS漏洞。

位置: classes.dex
com.firedg.sdk.identify.FDIDActivity;->setContainerView()Landroid.view.View;
com.firedg.sdk.impl.FDSDKActivity;->setContainerView()Landroid.view.View;
com.huowu.sdk.HuowuActivity;->_showPayDesk(Z)V
com.huowu.sdk.HuowuActivity;->_showWapPay(Ljava.lang.String;)V
com.huowu.sdk.HuowuActivity;->setWebView(Landroid.webkit.WebView; Ljava.lang.String; Lcom.huowu.sdk.WebViewClientEmb; Ljava.lang.String;)V
com.tencent.connect.auth.AuthDialog;->d()V
com.tencent.open.PKDialog;->initViews()V
com.tencent.open.SocialApiIml;->writeEncryToken(Landroid.content.Context;)V
com.tencent.open.TDialog;->b()V
com.tencent.open.yyb.AppbarActivity;->initViews()V
com.umeng.socialize.view.OauthDialog;->a()Z
org.cocos2dx.lib.Cocos2dxWebView$1;->run()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

警告

检测到2处IvParameterSpec的使用。

位置: classes.dex
com.umeng.socialize.net.utils.AesHelper;->decryptNoPadding(Ljava.lang.String; Ljava.lang.String;)Ljava.lang.String;
com.umeng.socialize.net.utils.AesHelper;->encryptNoPadding(Ljava.lang.String; Ljava.lang.String;)Ljava.lang.String;

使用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

警告

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

位置: classes.dex
com.umeng.socialize.net.utils.AesHelper;->decryptNoPadding(Ljava.lang.String; Ljava.lang.String;)Ljava.lang.String;
com.umeng.socialize.net.utils.AesHelper;->encryptNoPadding(Ljava.lang.String; Ljava.lang.String;)Ljava.lang.String;

参考案例:
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跨站漏洞。
开发中...

应用证书