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 条
  • [21] Fixing Bug Reporting for Mobile and GUI-Based Applications
    Moran, Kevin
    2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C), 2016, : 831 - 834
  • [22] A Technique for Parallel GUI Testing of Android Applications
    Tramontana, Porfirio
    Amatucci, Nicola
    Fasolino, Anna Rita
    TESTING SOFTWARE AND SYSTEMS, ICTSS 2020, 2020, 12543 : 169 - 185
  • [23] Code review guidelines for GUI-based testing artifacts
    Bauer, Andreas
    Coppola, Riccardo
    Alegroth, Emil
    Gorschek, Tony
    INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 163
  • [24] Automated Bidirectional Languages Localization Testing for Android Apps with Rich GUI
    Awwad, AimanM. Ayyal
    Slany, Wolfgang
    MOBILE INFORMATION SYSTEMS, 2016, 2016
  • [25] Guided GUI Testing of Android Apps with Minimal Restart and Approximate Learning
    Choi, Wontae
    Necula, George
    Sen, Koushik
    ACM SIGPLAN NOTICES, 2013, 48 (10) : 623 - 639
  • [26] Advances in Model-Based Testing of GUI-Based Software
    Banerjee, I.
    ADVANCES IN COMPUTERS, VOL 105, 2017, 105 : 45 - 78
  • [27] CamDroid: Context-Aware Model-Based Automated GUI Testing for Android Apps
    Wang, Hongyi
    Li, Yang
    Yang, Jing
    Hu, Daqiang
    Liao, Zhi
    TSINGHUA SCIENCE AND TECHNOLOGY, 2025, 30 (01): : 55 - 67
  • [28] Mining Android App Usages for Generating Actionable GUI-based Execution Scenarios
    Linares-Vasquez, Mario
    White, Martin
    Bernal-Cardenas, Carlos
    Moran, Kevin
    Poshyvanyk, Denys
    12TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2015), 2015, : 111 - 122
  • [29] Evaluating the Effectiveness of Neuroevolution for Automated GUI-Based Software Testing
    Zimmermann, Daniel
    Deubel, Patrick
    Koziolek, Anne
    2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS, ASEW, 2023, : 119 - 126
  • [30] An event-flow model of GUI-based applications for testing
    Memon, Atif M.
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2007, 17 (03): : 137 - 157