logo

Database

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.

Weakness:

313 - Insecure service configuration - Certificates

Category: Functionality Abuse

Detection Strategy

    Scans application code for custom TrustManager implementations that accept all certificates without validation

    Identifies WebView configurations that accept all SSL certificates without proper verification

    Detects override methods like checkServerTrusted() that are empty or return without proper certificate checks

    Finds instances where hostname verification is disabled or bypassed in network connections