An internal penetration testing team discovers that a custom mobile application's source code explicitly disables Transport Layer Security (TLS) certificate validation routines. The application is configured to accept any presented digital certificate without verifying its certificate authority (CA) trust chain or hostname matching. Which of the following best describes the primary security risk introduced by this cryptographic control weakness?
- It enables unauthorized network nodes to perform Man-in-the-Middle (MitM) attacks by presenting arbitrary certificates to intercept traffic.Cevap
- BIt forces the application to fall back from high-speed symmetric encryption algorithms to slower asymmetric ciphers for bulk data transfer.
- CIt compromises perimeter network boundaries by allowing external untrusted IP addresses to bypass ingress firewall filtering rules.
- DIt exposes backend database servers to remote SQL injection attacks due to unvalidated user inputs in HTTP request headers.
Cevap
It enables unauthorized network nodes to perform Man-in-the-Middle (MitM) attacks by presenting arbitrary certificates to intercept traffic.
Transport Layer Security (TLS) relies on digital certificate validation to establish server authenticity. When an application disables checks for hostname matching and trust chain validation, it accepts any digital certificate presented to it. An attacker on the network path can easily intercept connection attempts, substitute their own certificate, and execute a Man-in-the-Middle (MitM) attack to inspect or modify encrypted data in transit.
Adım Adım Çözüm
Anahtar Kavram
Improper Certificate Validation & Trust Weakness