A GUI-based Metamorphic Testing Technique for Detecting Authentication Vulnerabilities in Android Mobile Apps

被引:0
|
作者
Amalfitano, Domenico [2 ]
Junior, Misael [1 ]
Fasolino, Anna Rita [2 ]
Delamaro, Marcio [1 ]
机构
[1] Univ Sao Paulo, Inst Ciencias Matemat & Comp, ICMC USP, Sao Paulo, Brazil
[2] Univ Naples Federico II, Dept Elect Engn & Informat Technol, DIETI UNINA, Naples, Italy
关键词
Security testing; Metamorphic testing; Vulnerability testing; Mobile testing; Test automation; GUI-based testing;
D O I
10.1016/j.jss.2025.112364
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Context: The increasing use of mobile apps in daily life involves managing and sharing sensitive user information. Problem: New vulnerabilities are frequently reported in bug tracking systems, highlighting the need for effective security testing processes for these applications. Proposal: This study introduces a GUI-based Metamorphic Testing technique designed to detect five common real-world vulnerabilities related to username and password authentication methods in Android applications, as identified by OWASP. Methods: We developed five Metamorphic Relationships to test for these vulnerabilities and implemented a Metamorphic Vulnerability Testing Environment to automate the technique. This environment facilitates the generation of Source test case and the automatic creation and execution of Follow-up test case. Results: The technique was applied to 163 real-world Android applications, uncovering 159 vulnerabilities. Out of these, 108 apps exhibited at least one vulnerability. The vulnerabilities were validated through expert analysis conducted by three security professionals, who confirmed the issues by interacting directly with the app's graphical user interfaces (GUIs). Additionally, to assess the practical relevance of our approach, we engaged with 37 companies whose applications were identified as vulnerable. Nine companies confirmed the vulnerabilities, and 26 updated their apps to address the reported issues. Our findings also indicate a weak inverse correlation between user-perceived quality and vulnerabilities; even highly rated apps can harbor significant security flaws.
引用
收藏
页数:17
相关论文
共 50 条
  • [1] Automating GUI-based Test Oracles for Mobile Apps
    Baral, Kesina
    Johnson, Jack
    Mahmud, Junayed
    Salma, Sabiha
    Fazzini, Mattia
    Rubin, Julia
    Offutt, Jeff
    Moran, Kevin
    2024 IEEE/ACM 21ST INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2024, : 309 - 321
  • [2] A static technique for detecting input validation vulnerabilities in Android apps
    Fang, Zhejun
    Liu, Qixu
    Zhang, Yuqing
    Wang, Kai
    Wang, Zhiqiang
    Wu, Qianru
    SCIENCE CHINA-INFORMATION SCIENCES, 2017, 60 (05)
  • [3] A static technique for detecting input validation vulnerabilities in Android apps
    Zhejun FANG
    Qixu LIU
    Yuqing ZHANG
    Kai WANG
    Zhiqiang WANG
    Qianru WU
    ScienceChina(InformationSciences), 2017, 60 (05) : 210 - 225
  • [4] An analysis of widget layout attributes to support Android GUI-based testing
    Fulcini, Tommaso
    Coppola, Riccardo
    Torchiano, Marco
    Ardito, Luca
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS, ICSTW, 2023, : 117 - 125
  • [5] A Combined Technique of GUI Ripping and Input Perturbation Testing for Android Apps
    Imparato, Gennaro
    2015 IEEE/ACM 37th IEEE International Conference on Software Engineering, Vol 2, 2015, : 760 - 762
  • [6] FSMdroid: Guided GUI Testing of Android Apps
    Su, Ting
    2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C), 2016, : 689 - 691
  • [7] Witness: Detecting Vulnerabilities in Android Apps Extensively and Verifiably
    Liang, Hongliang
    Yang, Tianqi
    Jiang, Lin
    Chen, Yixiu
    Xie, Zhuosi
    2019 26TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC), 2019, : 434 - 441
  • [8] Guided, Stochastic Model-Based GUI Testing of Android Apps
    Su, Ting
    Meng, Guozhu
    Chen, Yuting
    Wu, Ke
    Yang, Weiming
    Yao, Yao
    Pu, Geguang
    Liu, Yang
    Su, Zhendong
    ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, : 245 - 256
  • [9] CrawlDroid: Effective Model-based GUI Testing of Android Apps
    Cao, Yuzhong
    Wu, Guoquan
    Chen, Wei
    Wei, Jun
    INTERNETWARE'18: PROCEEDINGS OF THE TENTH ASIA-PACIFIC SYMPOSIUM ON INTERNETWARE, 2018,
  • [10] RoboLIFT: Simple GUI-Based Unit Testing of Student-Written Android Applications
    Allevato, Anthony
    Edwards, Stephen H.
    SIGCSE 12: PROCEEDINGS OF THE 43RD ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2011, : 670 - 670