From 8c707b20e047eb7ceb96160d14da062e0e477fdc Mon Sep 17 00:00:00 2001 From: sinn3r Date: Wed, 19 Mar 2014 21:54:36 -0500 Subject: [PATCH] Add support for specific builds of MSIE 9 on Win 7 SP1 These IE9 versions are vulnerable to MS14-012 (see #3120). If we don't add them, then os_detect might recognize the target as IE 8, and fail. --- data/js/detect/os.js | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/data/js/detect/os.js b/data/js/detect/os.js index 29413518e3..803d8d79ef 100644 --- a/data/js/detect/os.js +++ b/data/js/detect/os.js @@ -877,6 +877,42 @@ window.os_detect.getVersion = function(){ os_flavor = "7"; os_sp = "SP1"; break; + case "9016502": + // IE 9.0.8112.16502 / Windows 7 SP1 + ua_version = "9.0"; + os_flavor = "7"; + os_sp = "SP1"; + break; + case "9016506": + // IE 9.0.8112.16506 / Windows 7 SP1 + ua_version = "9.0"; + os_flavor = "7"; + os_sp = "SP1"; + break; + case "9016514": + // IE 9.0.8112.16514 / Windows 7 SP1 + ua_version = "9.0"; + os_flavor = "7"; + os_sp = "SP1"; + break; + case "9016520": + // IE 9.0.8112.16520 / Windows 7 SP1 + ua_version = "9.0"; + os_flavor = "7"; + os_sp = "SP1"; + break; + case "9016526": + // IE 9.0.8112.16526 / Windows 7 SP1 + ua_version = "9.0"; + os_flavor = "7"; + os_sp = "SP1"; + break; + case "9016533": + // IE 9.0.8112.16533 / Windows 7 SP1 + ua_version = "9.0"; + os_flavor = "7"; + os_sp = "SP1"; + break; case "10016720": // IE 10.0.9200.16721 / Windows 7 SP1 ua_version = "10.0";