0

高危漏洞

5

中危漏洞

5

低危漏洞

6

警告

文件名 20190218.apk
上传者 荣哥
文件大小 3.3607158660889MB
MD5 91594bdcca91271da879ec11bef47865
包名 com.adms.mia.bhcbxs
Main Activity com.adms.mia.bhcbxs.Load
Min SDK 14
Target SDK 14

权限列表

# 名称 说明 提示
0 android.permission.CALL_PHONE 允许应用程序在您不介入的情况下拨打电话。恶意应用程序可借此在您的话费单上产生意外通话费。请注意,此权限不允许应用程序拨打紧急呼救电话。 警告
1 android.permission.SEND_SMS 允许应用程序发送短信。恶意应用程序可能会不经您的确认就发送信息,给您带来费用。 警告
2 android.permission.ACCESS_COARSE_LOCATION 访问大概的位置源(例如蜂窝网络数据库)以确定手机的大概位置(如果可以)。恶意应用程序可借此确定您所处的大概位置。 注意
3 android.permission.ACCESS_FINE_LOCATION 访问精准的位置源,例如手机上的全球定位系统(如果有)。恶意应用程序可能会借此确定您所处的位置,并可能消耗额外的电池电量。 注意
4 android.permission.BROADCAST_STICKY 允许应用程序发送顽固广播,这些广播在结束后仍会保留。恶意应用程序可能会借此使手机耗用太多内存,从而降低其速度或稳定性。 注意
5 android.permission.GET_TASKS 允许应用程序检索有关当前和最近运行的任务的信息。恶意应用程序可借此发现有关其他应用程序的保密信息。 注意
6 android.permission.READ_PHONE_STATE 允许应用程序访问设备的手机功能。有此权限的应用程序可确定此手机的号码和序列号,是否正在通话,以及对方的号码等。 注意
7 android.permission.RECEIVE_BOOT_COMPLETED 允许应用程序在系统完成启动后即自行启动。这样会延长手机的启动时间,而且如果应用程序一直运行,会降低手机的整体速度。 注意
8 android.permission.RECORD_AUDIO 允许应用程序访问录音路径。 注意
9 android.permission.WRITE_SETTINGS 允许应用程序修改系统设置方面的数据。恶意应用程序可借此破坏您的系统配置。 注意
10 android.permission.ACCESS_NETWORK_STATE 允许应用程序查看所有网络的状态。 提示
11 android.permission.ACCESS_WIFI_STATE 允许应用程序查看有关WLAN状态的信息。 提示
12 android.permission.AUTHENTICATE_ACCOUNTS 允许应用程序使用AccountManager的帐户身份验证程序功能,包括创建帐户以及获取和设置其密码。 提示
13 android.permission.CAMERA 允许应用程序使用相机拍照,这样应用程序可随时收集进入相机镜头的图像。 提示
14 android.permission.CHANGE_NETWORK_STATE 允许应用程序更改网络连接的状态。 提示
15 android.permission.CHANGE_WIFI_STATE 允许应用程序连接到WLAN接入点以及与WLAN接入点断开连接,并对配置的WLAN网络进行更改。 提示
16 android.permission.FLASHLIGHT 允许应用程序控制闪光灯。 提示
17 android.permission.GET_ACCOUNTS 允许应用程序获取手机已知的帐户列表。 提示
18 android.permission.INTERNET 允许程序访问网络. 提示
19 android.permission.MANAGE_ACCOUNTS 允许应用程序执行添加、删除帐户及删除其密码之类的操作。 提示
20 android.permission.MOUNT_UNMOUNT_FILESYSTEMS 允许应用程序装载和卸载可移动存储器的文件系统。 提示
21 android.permission.USE_CREDENTIALS 允许应用程序请求身份验证标记。 提示
22 android.permission.VIBRATE 允许应用程序控制振动器。 提示
23 android.permission.WRITE_EXTERNAL_STORAGE 允许应用程序写入SD卡。 提示

四大组件

组件名称

com.adms.mia.bhcbxs.Load
com.adms.mia.bhcbxs.Main
com.adms.mia.bhcbxs.Login
com.adms.mia.bhcbxs.Set
com.adms.mia.bhcbxs.plugins.video.Album
com.adms.mia.bhcbxs.plugins.video.Video
com.adms.mia.bhcbxs.plugins.video.Media
com.adms.mia.bhcbxs.plugins.video.Recorder
com.adms.mia.bhcbxs.plugins.barcode.Scanner
com.adms.mia.bhcbxs.plugins.Showalbum
com.adms.mia.bhcbxs.Page
com.adms.mia.bhcbxs.plugins.ViewImage
com.adms.mia.bhcbxs.plugins.PictGallery
com.adms.mia.bhcbxs.plugins.baidu.LocMarker
com.adms.mia.bhcbxs.plugins.baidu.LocSelect
com.adms.mia.bhcbxs.weight.PhotoView
com.adms.mia.bhcbxs.wxapi.WXPayEntryActivity
com.alipay.sdk.app.H5PayActivity
com.alipay.sdk.app.H5AuthActivity

com.adms.mia.bhcbxs.libs.MessageService
com.baidu.location.f

com.adms.mia.bhcbxs.libs.ReceiverImpl

第三方库

# 库名 介绍
0 org.eclipse.paho.client.mqttv3 A simple MQTT Service that will keep running for the duration of your Android application using the Paho Java MQTT Client.
1 com.alipay.sdk 支付宝移动支付功能
2 com.google.zxing Official ZXing ("Zebra Crossing") project home
3 com.baidu.lbsapi 百度Android全景SDK是为Android移动平台提供的一套全景图服务接口,面向广大开发者提供全景图的检索、显示和交互功能,从而更加清晰方便地展示目标位置的周边环境。
4 com.baidu.mapapi 百度地图 Android SDK是一套基于Android 2.1及以上版本设备的应用程序接口。 您可以使用该套 SDK开发适用于Android系统移动设备的地图应用,通过调用地图SDK接口,您可以轻松访问百度地图服务和数据,构建功能丰富、交互性强的地图类应用程序。
5 org.json 根据Gson库使用的要求,将JSONObject格式的String 解析成实体

静态扫描发现风险点

风险等级 风险名称

中危

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

中危

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

位置: classes.dex
com.baidu.location.t$a$1;
com.adms.mia.bhcbxs.conn.HttpManager$1;
com.baidu.lbsapi.auth.e;
com.baidu.lbsapi.auth.h;

当移动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

中危

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

位置: classes.dex
com.baidu.location.t;->if(Lorg.apache.http.params.HttpParams;)Lorg.apache.http.client.HttpClient;
com.baidu.lbsapi.auth.f;->a()Lorg.apache.http.client.HttpClient;
com.baidu.lbsapi.auth.c;->a()Lorg.apache.http.client.HttpClient;

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

位置: classes.dex
com.tencent.mm.opensdk.diffdev.a.a;->stopAuth()Z==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.favorite.FavoriteManager;->getAllFavPois()Ljava/util/List;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXWebpageObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.test.a;->a(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.test.a;->g(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.test.a;->e(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.a;->detach()V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.test.a;->j(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelbiz.JumpToBizWebview$Req;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->unregisterApp()V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.adms.mia.bhcbxs.plugins.barcode.camera.AutoFocusCallback;->onAutoFocus(Z Landroid/hardware/Camera;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.utils.f;->a(Landroid/os/IBinder;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.SendAuth$Req;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXMediaMessage$Builder;->pathNewToOld(Ljava/lang/String;)Ljava/lang/String;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelbiz.JumpToBizTempSession$Req;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.f$a;->b([B)Lcom/tencent/mm/opensdk/diffdev/a/f$a;==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.utils.poi.BaiduMapPoiSearch;->openBaiduMapPoiNearbySearch(Lcom/baidu/mapapi/utils/poi/PoiParaOption; Landroid/content/Context;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->sendReq(Lcom/tencent/mm/opensdk/modelbase/BaseReq;)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.b.c$a;->a(I Ljava/lang/String;)Ljava/lang/Object;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->sendPayReq(Landroid/content/Context; Landroid/os/Bundle;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.utils.e;->onServiceDisconnected(Landroid/content/ComponentName;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.adms.mia.bhcbxs.plugins.barcode.camera.FlashlightManager;->()V==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->(Landroid/content/Context; Ljava/lang/String; Z)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXEmojiObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->openWXApp()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.favorite.FavoriteManager;->getFavPoi(Ljava/lang/String;)Lcom/baidu/mapapi/favorite/FavoritePoiInfo;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.f$a;->b([B)Lcom/tencent/mm/opensdk/diffdev/a/f$a;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.a.a.a;->a(Landroid/content/Context; Lcom/tencent/mm/opensdk/a/a/a$a;)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.test.a;->m(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXVideoObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->sendReq(Lcom/tencent/mm/opensdk/modelbase/BaseReq;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.location.ad;->onDestroy()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.f;->doInBackground([Ljava/lang/Object;)Ljava/lang/Object;==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.d$a;->a(Ljava/lang/String; [B)Z==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.location.LocationClient$1;->onServiceConnected(Landroid/content/ComponentName; Landroid/os/IBinder;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.location.k$a;->(Lcom/baidu/location/k; Landroid/os/Message;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.test.a;->h(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.f;->doInBackground([Ljava/lang/Object;)Ljava/lang/Object;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.test.a;->i(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->sendPayReq(Landroid/content/Context; Landroid/os/Bundle;)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.d;->a()Z==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXFileObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.d;->doInBackground([Ljava/lang/Object;)Ljava/lang/Object;==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.utils.d;->a(Landroid/os/IBinder;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->sendResp(Lcom/tencent/mm/opensdk/modelbase/BaseResp;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.utils.PermissionCheck;->init(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.adms.mia.bhcbxs.plugins.barcode.camera.CameraConfigurationManager;->findBestPreviewSizeValue(Ljava/lang/CharSequence; Landroid/graphics/Point;)Landroid/graphics/Point;==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.utils.route.BaiduMapRoutePlan;->openBaiduMapWalkingRout(Lcom/baidu/mapapi/utils/route/RouteParaOption; Landroid/content/Context;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXAppExtendObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.DiffDevOAuthFactory;->getDiffDevOAuth(I)Lcom/tencent/mm/opensdk/diffdev/IDiffDevOAuth;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXMediaMessage$Builder;->pathOldToNew(Ljava/lang/String;)Ljava/lang/String;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.adms.mia.bhcbxs.plugins.barcode.decoding.CaptureActivityHandler;->handleMessage(Landroid/os/Message;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.DiffDevOAuthFactory;->getDiffDevOAuth(I)Lcom/tencent/mm/opensdk/diffdev/IDiffDevOAuth;==>android.util.Log;->v(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.test.a;->c(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.favorite.FavoriteManager;->updateFavPoi(Ljava/lang/String; Lcom/baidu/mapapi/favorite/FavoritePoiInfo;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->getWXAppSupportAPI()I==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplComm;->validateAppSignatureForPackage(Landroid/content/Context; Ljava/lang/String; Z)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.utils.route.BaiduMapRoutePlan;->openBaiduMapTransitRoute(Lcom/baidu/mapapi/utils/route/RouteParaOption; Landroid/content/Context;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.f;->doInBackground([Ljava/lang/Object;)Ljava/lang/Object;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.b;->onAuthGotQrcode(Ljava/lang/String; [B)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.utils.poi.BaiduMapPoiSearch;->openBaiduMapPoiDetialsPage(Lcom/baidu/mapapi/utils/poi/PoiParaOption; Landroid/content/Context;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.utils.c;->g()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelbiz.AddCardToWXCardPackage$Resp;->toBundle(Landroid/os/Bundle;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.location.t$1;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.adms.mia.bhcbxs.plugins.barcode.camera.PreviewCallback;->onPreviewFrame([B Landroid/hardware/Camera;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.b.a;->a(Landroid/os/Bundle; Ljava/lang/String;)I==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelbiz.AddCardToWXCardPackage$Req;->toBundle(Landroid/os/Bundle;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.b;->onAuthFinish(Lcom/tencent/mm/opensdk/diffdev/OAuthErrCode; Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.location.c;->if(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.location.LocationClient;->setLocOption(Lcom/baidu/location/LocationClientOption;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->registerApp(Ljava/lang/String; J)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.MMSharedPreferences$REditor;->commit()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.a;->a(Lcom/baidu/mapapi/utils/PermissionCheck$b;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelbiz.ChooseCardFromWXCardPackage$Resp;->fromBundle(Landroid/os/Bundle;)V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.test.a;->k(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.d;->onPostExecute(Ljava/lang/Object;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.a.a;->a(Landroid/content/Context; Lcom/tencent/mm/opensdk/a/a$a;)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.utils.e;->onServiceConnected(Landroid/content/ComponentName; Landroid/os/IBinder;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelpay.PayReq;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.favorite.FavoriteManager;->clearAllFavPoi()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.MMSharedPreferences;->getValue(Ljava/lang/String;)Ljava/lang/Object;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.SendMessageToWX$Req;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.location.t$2;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.adms.mia.bhcbxs.plugins.barcode.camera.CameraConfigurationManager;->getCameraResolution(Landroid/hardware/Camera$Parameters; Landroid/graphics/Point;)Landroid/graphics/Point;==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXImageObject;->(Landroid/graphics/Bitmap;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.adms.mia.bhcbxs.plugins.barcode.camera.CameraManager;->getFramingRect()Landroid/graphics/Rect;==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.MMSharedPreferences;->getAll()Ljava/util/Map;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.platform.comapi.d.a;->b(Ljava/lang/String; Ljava/lang/String;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.SendAuth$Resp;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.LaunchFromWX$Req;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXTextObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXMusicObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXAPIFactory;->createWXAPI(Landroid/content/Context; Ljava/lang/String; Z)Lcom/tencent/mm/opensdk/openapi/IWXAPI;==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.test.a;->d(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.a;->auth(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Lcom/tencent/mm/opensdk/diffdev/OAuthListener;)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.b;->onQrcodeScanned()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXDesignerSharedObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.utils.c;->h()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.e;->a(Ljava/lang/String; I)[B==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplComm;->validateAppSignature(Landroid/content/Context; [Landroid/content/pm/Signature; Z)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.location.t$4;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXImageObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.location.c;->if(Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.a;->auth(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Lcom/tencent/mm/opensdk/diffdev/OAuthListener;)Z==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.utils.route.BaiduMapRoutePlan;->openBaiduMapDrivingRoute(Lcom/baidu/mapapi/utils/route/RouteParaOption; Landroid/content/Context;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXMediaMessage;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.utils.c;->f()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXMediaMessage$Builder;->fromBundle(Landroid/os/Bundle;)Lcom/tencent/mm/opensdk/modelmsg/WXMediaMessage;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.adms.mia.bhcbxs.plugins.barcode.camera.CameraConfigurationManager;->initFromCameraParameters(Landroid/hardware/Camera;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.b.a;->b(Landroid/os/Bundle; Ljava/lang/String;)Ljava/lang/String;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.adms.mia.bhcbxs.plugins.barcode.camera.CameraConfigurationManager;->setDesiredCameraParameters(Landroid/hardware/Camera;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.a.a.a;->a(Landroid/content/Context; Lcom/tencent/mm/opensdk/a/a/a$a;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.d$a;->a([B)Lcom/tencent/mm/opensdk/diffdev/a/d$a;==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->registerApp(Ljava/lang/String; J)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.d$a;->a(Ljava/lang/String; [B)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.location.t$3;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->checkSumConsistent([B [B)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.test.a;->b(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.location.ad;->onCreate(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.adms.mia.bhcbxs.plugins.barcode.decoding.DecodeHandler;->decode([B I I)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.d;->onPostExecute(Ljava/lang/Object;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.location.aj$a;->X()V==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXEmojiPageSharedObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelbiz.JumpToBizProfile$Req;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXMediaMessage;->setThumbImage(Landroid/graphics/Bitmap;)V==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.map.Polyline;->a(Landroid/os/Bundle;)Landroid/os/Bundle;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->unregisterApp()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.d;->doInBackground([Ljava/lang/Object;)Ljava/lang/Object;==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.lbsapi.auth.a;->a(Ljava/lang/String;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.GetMessageFromWX$Resp;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.favorite.FavoriteManager;->add(Lcom/baidu/mapapi/favorite/FavoritePoiInfo;)I==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.test.a;->f(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.location.t$5;->run()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.baidu.mapapi.favorite.FavoriteManager;->deleteFavPoi(Ljava/lang/String;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.d$a;->a([B)Lcom/tencent/mm/opensdk/diffdev/a/d$a;==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.adms.mia.bhcbxs.plugins.barcode.camera.CameraConfigurationManager;->setZoom(Landroid/hardware/Camera$Parameters;)V==>android.util.Log;->w(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->detach()V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.modelmsg.WXEmojiSharedObject;->checkArgs()Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.a.a;->a(Landroid/content/Context; Lcom/tencent/mm/opensdk/a/a$a;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->handleIntent(Landroid/content/Intent; Lcom/tencent/mm/opensdk/openapi/IWXAPIEventHandler;)Z==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.d$a;->a(Ljava/lang/String; [B)Z==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.alipay.test.a;->l(Landroid/content/Context;)V==>android.util.Log;->d(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.openapi.WXApiImplV10;->handleIntent(Landroid/content/Intent; Lcom/tencent/mm/opensdk/openapi/IWXAPIEventHandler;)Z==>android.util.Log;->e(Ljava/lang/String; Ljava/lang/String;)I
com.tencent.mm.opensdk.diffdev.a.a;->stopAuth()Z==>android.util.Log;->i(Ljava/lang/String; Ljava/lang/String;)I

中危

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

位置: classes.dex
'10.0.0.172' used in: Lcom/baidu/lbsapi/auth/f;->a(Lorg/apache/http/client/HttpClient;)Z
'10.0.0.172' used in: Lcom/baidu/location/t;->if(Landroid/content/Context; Landroid/net/NetworkInfo;)I
'10.0.0.172' used in: Lcom/baidu/location/t;->()V
'10.0.0.172' used in: Lcom/baidu/platform/comapi/d/b;->a(Landroid/content/Context;)V
'10.0.0.172' used in: Lcom/baidu/lbsapi/auth/c;->a(Lorg/apache/http/client/HttpClient;)Z
'10.0.0.200' used in: Lcom/baidu/lbsapi/auth/f;->a(Lorg/apache/http/client/HttpClient;)Z
'10.0.0.200' used in: Lcom/baidu/location/t;->if(Landroid/content/Context; Landroid/net/NetworkInfo;)I
'10.0.0.200' used in: Lcom/baidu/platform/comapi/d/b;->a(Landroid/content/Context;)V
'10.0.0.200' used in: Lcom/adms/mia/bhcbxs/conn/HttpManager;->getConnection(Ljava/lang/String; Z)Ljava/net/HttpURLConnection;
'10.0.0.200' used in: Lcom/baidu/lbsapi/auth/c;->a(Lorg/apache/http/client/HttpClient;)Z
'ftp://anonymous:anonymous@' used in: Lcom/google/zxing/client/result/optional/NDEFURIResultParser;->()V
'ftp://ftp.' used in: Lcom/google/zxing/client/result/optional/NDEFURIResultParser;->()V
'http://117.141.89.254:8091' used in: Lcom/adms/mia/bhcbxs/libs/AppImpl;->initContext()V
'http://api.map.baidu.com/direction?' used in: Lcom/baidu/mapapi/utils/route/BaiduMapRoutePlan;->a(Lcom/baidu/mapapi/utils/route/RouteParaOption; Landroid/content/Context; I)V
'http://api.map.baidu.com/geosearch/v2/bound' used in: Lcom/baidu/mapapi/cloud/BoundSearchInfo;->()V
'http://api.map.baidu.com/geosearch/v2/detail/' used in: Lcom/baidu/mapapi/cloud/DetailSearchInfo;->()V
'http://api.map.baidu.com/geosearch/v2/local' used in: Lcom/baidu/mapapi/cloud/LocalSearchInfo;->()V
'http://api.map.baidu.com/geosearch/v2/nearby' used in: Lcom/baidu/mapapi/cloud/NearbySearchInfo;->()V
'http://api.map.baidu.com/place/detail?' used in: Lcom/baidu/mapapi/utils/poi/BaiduMapPoiSearch;->a(Lcom/baidu/mapapi/utils/poi/PoiParaOption; Landroid/content/Context;)V
'http://api.map.baidu.com/place/search?' used in: Lcom/baidu/mapapi/utils/poi/BaiduMapPoiSearch;->b(Lcom/baidu/mapapi/utils/poi/PoiParaOption; Landroid/content/Context;)V
'http://daohang.map.baidu.com/mobile/#navi/naving/start=' used in: Lcom/baidu/mapapi/navi/BaiduMapNavigation;->openWebBaiduMapNavi(Lcom/baidu/mapapi/navi/NaviParaOption; Landroid/content/Context;)V
'http://daohang.map.baidu.com/mobile/#search/search/qt=nav&sn=2$$$$$$' used in: Lcom/baidu/mapapi/navi/BaiduMapNavigation;->openWebBaiduMapNavi(Lcom/baidu/mapapi/navi/NaviParaOption; Landroid/content/Context;)V
'http://h5.m.taobao.com/trade/paySuccess.html?bizOrderId=$OrderId$&' used in: Lcom/alipay/sdk/data/a;->b()Lcom/alipay/sdk/data/a;
'http://h5.m.taobao.com/trade/paySuccess.html?bizOrderId=$OrderId$&' used in: Lcom/alipay/sdk/data/a;->d()V
'http://h5.m.taobao.com/trade/paySuccess.html?bizOrderId=$OrderId$&' used in: Lcom/alipay/sdk/data/a;->()V
'http://h5.m.taobao.com/trade/paySuccess.html?bizOrderId=$OrderId$&' used in: Lcom/alipay/sdk/data/b;->run()V
'http://h5.m.taobao.com/trade/paySuccess.html?bizOrderId=$OrderId$&' used in: Lcom/alipay/sdk/data/a;->a(Ljava/lang/String;)V
'http://h5.m.taobao.com/trade/paySuccess.html?bizOrderId=$OrderId$&' used in: Lcom/alipay/sdk/data/a;->a(Lcom/alipay/sdk/data/a; Ljava/lang/String;)V
'http://h5.m.taobao.com/trade/paySuccess.html?bizOrderId=$OrderId$&' used in: Lcom/alipay/sdk/data/a;->b(Ljava/lang/String;)V
'http://lba.baidu.com/' used in: Lcom/baidu/location/BDLocation;->getAdUrl(Ljava/lang/String;)Ljava/lang/String;
'http://loc.map.baidu.com/fence' used in: Lcom/baidu/location/a3$a;->X()V
'http://loc.map.baidu.com/fence' used in: Lcom/baidu/location/ax$b;->X()V
'http://loc.map.baidu.com/oqur.php' used in: Lcom/baidu/location/c;->()V
'http://loc.map.baidu.com/sdk.php' used in: Lcom/baidu/location/c;->()V
'http://loc.map.baidu.com/sdk_ep.php' used in: Lcom/baidu/location/c;->()V
'http://loc.map.baidu.com/tcu.php' used in: Lcom/baidu/location/c;->()V
'http://loc.map.baidu.com/user_err.php' used in: Lcom/baidu/location/c;->()V
'http://m.alipay.com/?action=h5quit' used in: Lcom/alipay/sdk/util/l;->a(Landroid/webkit/WebView; Ljava/lang/String; Landroid/app/Activity;)Z
'http://mo.baidu.com/map/' used in: Lcom/baidu/mapapi/utils/OpenClientUtil;->getLatestBaiduMapApp(Landroid/content/Context;)V
'http://mobilegw-1-64.test.alipay.net/mgw.htm' used in: Lcom/alipay/apmobilesecuritysdk/b/a;->c()Ljava/lang/String;
'http://mobilegw-1-64.test.alipay.net/mgw.htm' used in: Lcom/alipay/apmobilesecuritysdk/b/a;->c()Ljava/lang/String;
'http://mobilegw.aaa.alipay.net/mgw.htm' used in: Lcom/alipay/apmobilesecuritysdk/b/a;->c()Ljava/lang/String;
'http://mobilegw.aaa.alipay.net/mgw.htm' used in: Lcom/alipay/apmobilesecuritysdk/b/a;->c()Ljava/lang/String;
'http://mobilegw.stable.alipay.net/mgw.htm' used in: Lcom/alipay/apmobilesecuritysdk/b/a;->c()Ljava/lang/String;
'http://mobilegw.stable.alipay.net/mgw.htm' used in: Lcom/alipay/apmobilesecuritysdk/b/a;->c()Ljava/lang/String;
'http://open.weixin.qq.com/connect/sdk/qrconnect?appid=%s&noncestr=%s×tamp=%s&scope=%s&signature=%s' used in: Lcom/tencent/mm/opensdk/diffdev/a/d;->()V
'http://www.' used in: Lcom/google/zxing/client/result/optional/NDEFURIResultParser;->()V
'http://www.google.com/speech-api/v1/recognize?xjerr=1&client=chromium&lang=zh-CN&maxresults=1' used in: Lcom/adms/mia/bhcbxs/plugins/video/Stt$2;->run()V
'http://xmlpull.org/v1/doc/features.html#indent-output' used in: Lcom/ta/utdid2/b/a/e;->a(Ljava/util/Map; Ljava/io/OutputStream;)V
'http://xmlpull.org/v1/doc/features.html#indent-output' used in: Lcom/ta/utdid2/b/a/a;->setFeature(Ljava/lang/String; Z)V
'https://api.skyhookwireless.com/wps2/location' used in: Lcom/baidu/location/c;->()V
'https://long.open.weixin.qq.com/connect/l/qrconnect?f=json&uuid=%s' used in: Lcom/tencent/mm/opensdk/diffdev/a/f;->(Ljava/lang/String; Lcom/tencent/mm/opensdk/diffdev/OAuthListener;)V
'https://mcgw.alipay.com/sdklog.do' used in: Lcom/alipay/sdk/packet/impl/c;->a(Landroid/content/Context; Ljava/lang/String;)Lcom/alipay/sdk/packet/b;
'https://mclient.alipay.com/home/exterfaceAssign.htm?' used in: Lcom/alipay/sdk/app/PayTask;->pay(Ljava/lang/String; Z)Ljava/lang/String;
'https://mobilegw.alipay.com/mgw.htm' used in: Lcom/alipay/sdk/cons/a;->()V
'https://mobilegw.alipay.com/mgw.htm' used in: Lcom/alipay/apmobilesecuritysdk/b/a;->c()Ljava/lang/String;
'https://mobilegw.alipaydev.com/mgw.htm' used in: Lcom/alipay/sdk/util/k;->a(Landroid/content/Context;)Ljava/lang/String;
'https://sapi.map.baidu.com/sdkcs/verify' used in: Lcom/baidu/lbsapi/auth/i;->a(Z Ljava/lang/String; Ljava/util/Hashtable; [Ljava/lang/String; Ljava/lang/String;)V
'https://sapi.map.baidu.com/sdkcs/verify' used in: Lcom/baidu/lbsapi/auth/i;->a(Z Ljava/lang/String; Ljava/util/Hashtable; Ljava/lang/String;)V
'https://wappaygw.alipay.com/home/exterfaceAssign.htm?' used in: Lcom/alipay/sdk/app/PayTask;->pay(Ljava/lang/String; Z)Ljava/lang/String;
'https://www.' used in: Lcom/google/zxing/client/result/optional/NDEFURIResultParser;->()V

低危

检测1处Intent Scheme URI漏洞。

位置: classes.dex
Lcom/baidu/mapapi/navi/BaiduMapNavigation;->openBaiduMapNavi(Lcom/baidu/mapapi/navi/NaviParaOption; Landroid/content/Context;)V


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

低危

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

位置: classes.dex
com.alipay.sdk.encrypt.b;->a(I Ljava.lang.String; Ljava.lang.String;)Ljava.lang.String;

使用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脚本,移除大部分系统输出代码。
经扫描该包仍存在大量系统输出代码,共发现3处系统输出代码.(此处扫描的系统输出代码,是指调用System.out.print*输出的,本应在打包平台移除的系统输出代码.)
各个bundle系统输出代码详情如下:

位置: classes.dex
com.adms.mia.bhcbxs.libs.Logs;
com.baidu.mapapi.a;
com.adms.mia.bhcbxs.plugins.video.Media;

低危

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

位置: classes.dex
com.adms.mia.bhcbxs.conn.HttpManager$2;->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

低危

检测到1处地方在自定义实现的WebViewClient类在onReceivedSslError调用proceed()方法。

位置: classes.dex
com.alipay.sdk.auth.AuthActivity$b;->onReceivedSslError(Landroid.webkit.WebView; Landroid.webkit.SslErrorHandler; Landroid.net.http.SslError;)V

Android WebView组件加载网页发生证书认证错误时,会调用WebViewClient类的onReceivedSslError方法,如果该方法实现调用了handler.proceed()来忽略该证书错误,则会受到中间人攻击的威胁,可能导致隐私泄露。建议:
当发生证书认证错误时,采用默认的处理方法handler.cancel(),停止加载问题页面当发生证书认证错误时,采用默认的处理方法handler.cancel(),停止加载问题页面。

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

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

警告

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

位置: classes.dex
com.tencent.mm.opensdk.a.a;->a

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

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

警告

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

activity com.adms.mia.bhcbxs.wxapi.WXPayEntryActivity

建议:
(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安全技术解密与防范》

警告

检测到3潜在的XSS漏洞。

位置: classes.dex
com.adms.mia.bhcbxs.webkit.WebPage;->(Landroid.content.Context; Landroid.os.Handler;)V
com.alipay.sdk.auth.AuthActivity;->onCreate(Landroid.os.Bundle;)V
com.alipay.sdk.util.l;->a(Landroid.app.Activity; Ljava.lang.String; Ljava.lang.String;)Landroid.webkit.WebView;

允许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

警告

检测到12处IvParameterSpec的使用。

位置: classes.dex
com.alipay.sdk.encrypt.e;->a(Ljava.lang.String; [B)[B
com.alipay.sdk.encrypt.e;->b(Ljava.lang.String; [B)[B
com.alipay.security.mobile.module.a.a.c;->a(Ljava.lang.String; Ljava.lang.String;)Ljava.lang.String;
com.alipay.security.mobile.module.a.a.c;->a([B [B)[B
com.alipay.security.mobile.module.a.a.c;->b(Ljava.lang.String; Ljava.lang.String;)Ljava.lang.String;
com.alipay.security.mobile.module.a.a.c;->b(Ljava.lang.String; Ljava.lang.String;)Ljava.lang.String;
com.baidu.android.bbalbs.common.a.a;->a(Ljava.lang.String; Ljava.lang.String; [B)[B
com.baidu.android.bbalbs.common.a.a;->b(Ljava.lang.String; Ljava.lang.String; [B)[B
com.baidu.location.b.b.a;->a(Ljava.lang.String; Ljava.lang.String; [B)[B
com.baidu.location.b.b.a;->if(Ljava.lang.String; Ljava.lang.String; [B)[B
com.ta.utdid2.a.a.a;->a([B [B)[B
com.ta.utdid2.a.a.a;->b([B [B)[B

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

警告

检测到 4处url没有使用安全的https链接。

位置: classes.dex
http://m.alipay.com/
http://mobilegw-1-64.test.alipay.net/
http://mobilegw.aaa.alipay.net/
http://mobilegw.stable.alipay.net/

参考资料:
https://jaq.alibaba.com/blog.htm?id=60
https://developer.android.com/training/articles/security-ssl.html

警告

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

位置: classes.dex
com.ta.utdid2.a.a.a;->b([B [B)[B
com.alipay.sdk.encrypt.e;->a(Ljava.lang.String; [B)[B
com.baidu.android.bbalbs.common.a.a;->a(Ljava.lang.String; Ljava.lang.String; [B)[B
com.alipay.security.mobile.module.a.a.c;->b(Ljava.lang.String; Ljava.lang.String;)Ljava.lang.String;
com.alipay.sdk.encrypt.b;->a(I Ljava.lang.String; Ljava.lang.String;)Ljava.lang.String;
com.alipay.security.mobile.module.a.a.c;->a(Ljava.lang.String; Ljava.lang.String;)Ljava.lang.String;
com.baidu.location.b.b.a;->if(Ljava.lang.String; Ljava.lang.String; [B)[B
com.baidu.location.b.b.a;->a(Ljava.lang.String; Ljava.lang.String; [B)[B
com.baidu.android.bbalbs.common.a.a;->b(Ljava.lang.String; Ljava.lang.String; [B)[B
com.ta.utdid2.device.c;->b([B)Ljava.lang.String;
com.ta.utdid2.a.a.a;->a([B [B)[B
com.alipay.security.mobile.module.a.a.c;->a([B [B)[B
com.alipay.sdk.encrypt.e;->b(Ljava.lang.String; [B)[B

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

应用证书