A system administrator captures network traffic between an application host and a centralized authentication server on an internal network segment:
text
14:22:05.819201 IP 172.16.40.12.51234 > 172.16.40.50.389: Flags [P.], length 88: LDAP
bindRequest(1) "cn=svc_auth,ou=services,dc=internal,dc=net" simple
Which of the following is the BEST mitigation strategy to resolve the infrastructure vulnerability demonstrated in this log snippet?
- Reconfigure the directory service and client application to enforce LDAPS over TCP port 636 or enable STARTTLS.Answer
- BDeploy a web application firewall (WAF) directly in front of the authentication server to inspect incoming HTTP payloads.
- CMaintain the current configuration because the traffic is confined to the internal corporate network segment behind external firewalls.
- DConfigure an inline network intrusion prevention system (NIPS) with signature rules for SQL injection attack vectors.
Answer
Reconfigure the directory service and client application to enforce LDAPS over TCP port 636 or enable STARTTLS.
The packet capture shows an unencrypted LDAP simple bind request over standard TCP port 389. Simple bind sends directory credentials in cleartext. Enforcing LDAPS (which encrypts LDAP traffic over TCP port 636) or upgrading to STARTTLS establishes TLS encryption, protecting credentials from being intercepted by unauthorized network sniffing.
Step-by-Step Solution
Key Concept
Host and Network Infrastructure Vulnerabilities - Unencrypted Legacy Protocols
Estimated Time:1m 30s