A security analyst reviews a vulnerability assessment report for an internal application server host. The report contains the following network service scan snippet:
Host: 192.168.4.15
Port: 1099/TCP
Service: Java JMX RMI
Finding: Remote JMX agent accepting unauthenticated connections. Anonymous users can register MBeans and execute arbitrary code with host system privileges.
Which of the following represents the BEST remediation strategy to address this host vulnerability?
- Enable authentication and TLS transport security on the JMX agent configuration while restricting listener access.Answer
- BRely on the internal edge firewall to block external access while keeping the host service unauthenticated for local subnet traffic.
- CDeploy an inline web application firewall (WAF) to inspect HTTP traffic targeting port 1099.
- DImplement a detective intrusion detection system (IDS) signature to log unauthorized connection attempts.
Answer
The best remediation strategy is to enable authentication and TLS transport security directly on the JMX agent configuration and restrict network listener access.
Enabling native authentication and TLS encryption on the JMX agent addresses the vulnerability at its source by requiring valid credentials before any remote management commands or MBean registrations can take place.
Step-by-Step Solution
Key Concept
Host Service Hardening and Misconfiguration Remediation
Estimated Time:1m 30s