|The Vigil@nce team watches public vulnerabilities impacting your computers, and then offers security solutions, a database and tools to fix them.|
Java JRE, Flash: bypassing DNS pinning
Synthesis of the vulnerability
An attacker can create a HTML page calling a plugin and bypassing the DNS pinning protection included in web browsers.
Vulnerable systems: Flash Player, Windows (platform) ~ not comprehensive, NLD, OES, Java Oracle, Solaris, Trusted Solaris, RHEL, SLES, Unix (platform) ~ not comprehensive, ESX.
Severity of this threat: 1/4.
Consequences of a hack: data reading, data flow.
Pirate's origin: internet server.
Number of vulnerabilities in this bulletin: 2.
Creation date: 11/10/2007.
Références of this weakness: 103078, 6569621, 6609269, APSB07-20, CVE-2007-5273, CVE-2007-5274, CVE-2007-5275, CVE-2007-5375, RHSA-2007:1126-01, SUSE-SA:2008:025, VIGILANCE-VUL-7238, VMSA-2008-00010.3.
Description of the vulnerability
A "DNS rebinding" attack has the objective to force the web browser to connect to a server different than the one which provided the HTML document. This vulnerability for example permits to scan ports or to obtain information without going through the firewall.
This attack uses the following method:
- Attacker setups a DNS server for his "attacker.dom" domain. This server answers that IP address of www.attacker.dom is 188.8.131.52, with a TTL of 10 seconds.
- Attacker setups a web server to host a HTML page containing a script creating a connection to the originating server.
- Attacker invites victim to connect to his web server.
- When the HTML page is displayed, the script tries to access to the server: as the TTL expired, the web browser sends a new DNS query. However, this time, attacker's DNS server indicates the IP address of www.attacker.dom is 192.168.1.1.
- Script thus connects to the 192.168.1.1 address which is an internal address.
To protect against this attack, web browsers implement "DNS pinning" which consists in storing IP addresses in the cache whatever the duration indicated by the TTL. However, cache of plugins is different than cache of web browser, which permits to bypass this protection.
An attack can be created on the JVM by using LiveConnect, an Applet with an HTTP proxy or Relative Paths. [severity:1/4; 103078, 6569621, 6609269, CVE-2007-5273, CVE-2007-5274, CVE-2007-5375]
An attack can be created on the Flash plugin which also uses a separate cache. [severity:1/4; CVE-2007-5275]
Full Vigil@nce bulletin... (Free trial)
Computer vulnerabilities tracking service
Vigil@nce provides computer vulnerability analysis. The Vigil@nce security watch publishes vulnerability bulletins about threats impacting the information system. The Vigil@nce computer vulnerability tracking service alerts your teams of vulnerabilities or threats impacting your information system. The Vigil@nce vulnerability database contains several thousand vulnerabilities.