Identifying Implementation Flaws of SMS OTP Authentication
Currently, the Short Message Service (SMS) One-Time Passwords (OTP) authentication is widely adopted in mobile applications. However, due to improper implementation by developers, significant security flaws exist in the SMS OTP authentication mechanisms of some apps. To provide a comprehensive and accurate assessment, we propose a new approach. First, we locate the SMS OTP authentication page through UI exploration. Then, using hooking technology, we conduct simulated attacks to verify the security of the SMS OTP authentication in the app, focusing on its susceptibility to brute-force attacks. This approach is applicable to apps with app-side or UI-layer protection measures, uncovering hidden implementation flaws beneath these protections. Technically, we employ dynamic analysis based on the ART virtual machine instrumentation to obtain runtime information of the app and generate vulnerability verification scripts, overcoming the challenges posed by code-packing in program analysis. We implemented a semi-automatic tool named <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">AuthChecker</i> and tested it on 950 popular apps, identifying 87 apps with security flaws that potentially allow attackers to achieve unauthorized account access. Our findings highlight the security issues in SMS OTP authentication of apps, promoting improvements in vulnerability patching and preventive strategies by developers.
Authors
- Jiayu Zhao
- Fannv He
- Yiyu Yang
- Yuqing Zhang (ORCID: https://orcid.org/0000-0001-8306-7195)
Institutions
- Computer Network Information Center (CN)
- University of Chinese Academy of Sciences (CN)
Publication Details
- Journal
- IEEE Transactions on Mobile Computing
- Published
- 2025-03-12
- DOI
- https://doi.org/10.1109/tmc.2025.3550883
- Citations
- 3
- Primary Topic
- IPv6, Mobility, Handover, Networks, Security
- Type
- article
- Field-Weighted Citation Impact
- 2.19