Android Apk Improper Certificate Validation
Description
Detects improper SSL/TLS certificate validation in Android applications. This vulnerability occurs when an app fails to properly validate SSL certificates during secure communications, potentially allowing attackers to intercept sensitive data through man-in-the-middle attacks. Improper certificate validation severely compromises the security of network communications.
Detection Strategy
• Reads res/xml/network_security_config.xml from the APK
• Reports a vulnerability when the file contains both the text trust-anchors and the text user
• Finds the two texts only when the compiled file stores its strings in UTF-8
Search for vulnerabilities in your apps for free with Fluid Attacks' automated security testing! Start your 21-day free trial and discover the benefits of the Continuous Hacking Essential plan. If you prefer the Advanced plan, which includes the expertise of Fluid Attacks' pentesting team, fill out this contact form.