CheckPoint Firewall / VPN-1
NGX R65, R71. Other versions untested but likely affected.
By sending a pre-authentication topology request to the VPN SecuRemote service, it is possible to obtain the firewall hostname name and logging or management station (such as SmartCenter) name.
Low - Information disclosure potentially reveals the client naming scheme and the firewall management station hostname. Allows for specifically targeting attacks towards the enterprise firewall management server.
By sending a certain query to the port 264/TCP on CheckPoint Firewall-1, the hostname is revealed. A Metasploit module is available to test for this vulnerability.
msf auxiliary(checkpoint_hostname) > set RHOST A.B.C.D
msf auxiliary(checkpoint_hostname) > run
[*] Attempting to contact Checkpoint FW1 SecuRemote Topology service...
[+] Appears to be a CheckPoint Firewall...
[+] Firewall Host: CPSYDFW1
[+] SmartCenter Host: CPSYDMGMTSVR
[*] Auxiliary module execution completed
None at this time. Consider a different VPN headend.
This vulnerability was disclosed by Patrick Webster.
A metasploit module is available here:
14-Dec-2011 - Discovered during audit.
21-Dec-2011 - Added auxiliary module to the Metasploit Framework.
23-Dec-2011 - Notified vendor. No response.
12-Mar-2012 - Disclosure.
18-Mar-2012 - CheckPoint publishes Solution ID sk69360 in response to the matter. CheckPoint states "The SmartCenter and Security Gateway names are part of the gateway certificate, which is presented for authentication in many scenarios. The gateway name is in the Subject field of the certificate and the SmartCenter name is in the Issuer field since Internal CA runs on the SmartCenter. Certificate owner name and CA names are considered public information." Lesson to firewall administrators - don't use internal hostnames in the CheckPoint certificate.
About OSI Security:
OSI Security is an independent network and computer security auditing and consulting company based in Sydney, Australia. We provide internal and external penetration testing, vulnerability auditing and wireless site audits, vendor product assessments, secure network design, forensics and risk mitigation services.
We can be found at http://www.osisecurity.com.au/