Vulnerabilities > CVE-2009-1135 - Permissions, Privileges, and Access Controls vulnerability in Microsoft ISA Server 2006

047910
CVSS 9.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
SINGLE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
microsoft
CWE-264
critical
nessus

Summary

Microsoft Internet Security and Acceleration (ISA) Server 2006 Gold and SP1, when Radius OTP is enabled, uses the HTTP-Basic authentication method, which allows remote attackers to gain the privileges of an arbitrary account, and access published web pages, via vectors involving attempted access to a network resource behind the ISA Server, aka "Radius OTP Bypass Vulnerability."

Vulnerable Configurations

Part Description Count
Application
Microsoft
3

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.

Msbulletin

bulletin_idMS09-031
bulletin_url
date2009-07-14T00:00:00
impactElevation of Privilege
knowledgebase_id970953
knowledgebase_url
severityImportant
titleVulnerability in Microsoft ISA Server 2006 Could Cause Elevation of Privilege

Nessus

NASL familyWindows : Microsoft Bulletins
NASL idSMB_NT_MS09-031.NASL
descriptionThe version of Microsoft Internet Security and Acceleration (ISA) Server 2006 installed on the remote host may allow an unauthenticated attacker with knowledge of administrator account usernames to gain access to published resources in the context of such a user without having to authenticate with the ISA server. Note that successful exploitation of this issue requires that ISA be configured for Radius One Time Password (OTP) authentication and authentication delegation with Kerberos Constrained Delegation.
last seen2020-06-01
modified2020-06-02
plugin id39794
published2009-07-14
reporterThis script is Copyright (C) 2009-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/39794
titleMS09-031: Vulnerability in Microsoft ISA Server 2006 Could Cause Elevation of Privilege (970953)
code
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


if (description)
{
  script_id(39794);
  script_version("1.22");
 script_cvs_date("Date: 2018/11/15 20:50:30");

  script_cve_id("CVE-2009-1135");
  script_bugtraq_id(35631);
  script_xref(name:"MSFT", value:"MS09-031");
  script_xref(name:"MSKB", value:"971143");
  script_xref(name:"IAVB", value:"2009-B-0031");

  script_name(english:"MS09-031: Vulnerability in Microsoft ISA Server 2006 Could Cause Elevation of Privilege (970953)");
  script_summary(english:"Checks version of wspsrv.exe");

  script_set_attribute(  attribute:"synopsis",  value:
"The remote host contains an application that is affected by a
privilege escalation vulnerability.");
  script_set_attribute( attribute:"description",  value:
"The version of Microsoft Internet Security and Acceleration (ISA)
Server 2006 installed on the remote host may allow an unauthenticated
attacker with knowledge of administrator account usernames to gain
access to published resources in the context of such a user without
having to authenticate with the ISA server.

Note that successful exploitation of this issue requires that ISA be
configured for Radius One Time Password (OTP) authentication and
authentication delegation with Kerberos Constrained Delegation.");
  script_set_attribute(attribute:"see_also", value:"https://docs.microsoft.com/en-us/security-updates/SecurityBulletins/2009/ms09-031");
  script_set_attribute( attribute:"solution",  value:"Microsoft has released a set of patches for ISA Server 2006.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");
  script_cwe_id(264);

  script_set_attribute(attribute:"vuln_publication_date", value:"2009/07/14");
  script_set_attribute(attribute:"patch_publication_date", value:"2009/07/14");
  script_set_attribute(attribute:"plugin_publication_date", value:"2009/07/14");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:microsoft:isa_server");
  script_set_attribute(attribute:"stig_severity", value:"II");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows : Microsoft Bulletins");

  script_copyright(english:"This script is Copyright (C) 2009-2018 Tenable Network Security, Inc.");

  script_dependencies("smb_hotfixes.nasl", "ms_bulletin_checks_possible.nasl");
  script_require_keys("SMB/MS_Bulletin_Checks/Possible");
  script_require_ports(139, 445, 'Host/patch_management_checks');

  exit(0);
}


include("smb_hotfixes_fcheck.inc");
include("smb_hotfixes.inc");
include("smb_func.inc");


include("misc_func.inc");
get_kb_item_or_exit("SMB/MS_Bulletin_Checks/Possible");

bulletin = 'MS09-031';
kbs = make_list("971143");
if (get_kb_item("Host/patch_management_checks")) hotfix_check_3rd_party(bulletin:bulletin, kbs:kbs, severity:SECURITY_HOLE);


path = get_kb_item("SMB/Registry/HKLM/SOFTWARE/Microsoft/Fpc");
if (!path) exit(0, "ISA Server does not appear to be installed.");

share = ereg_replace(pattern:"(^[A-Za-z]):.*", replace:"\1$", string:path);
if (!is_accessible_share(share:share)) exit(1, "Can't access '"+share+"' share.");


if (
  # ISA Server 2006
  hotfix_check_fversion(path:path, file:"wspsrv.exe", version:"5.0.5723.514", min_version:"5.0.5723.0", bulletin:bulletin, kb:'971143') == HCF_OLDER ||
  hotfix_check_fversion(path:path, file:"wspsrv.exe", version:"5.0.5721.263", min_version:"5.0.5721.0", bulletin:bulletin, kb:'970811') == HCF_OLDER ||
  hotfix_check_fversion(path:path, file:"wspsrv.exe", version:"5.0.5720.174", min_version:"5.0.0.0", bulletin:bulletin, kb:'970811') == HCF_OLDER
)
{
  set_kb_item(name:"SMB/Missing/MS09-031", value:TRUE);
  hotfix_security_hole();

  hotfix_check_fversion_end();
  exit(0);
}
else
{
  hotfix_check_fversion_end();
  exit(0, "The host is not affected.");
}

Oval

accepted2014-06-30T04:11:03.740-04:00
classvulnerability
contributors
  • nameDragos Prisaca
    organizationGideon Technologies, Inc.
  • nameJosh Turpin
    organizationSymantec Corporation
  • nameMaria Mikhno
    organizationALTX-SOFT
definition_extensions
  • commentMicrosoft Internet Security and Acceleration Server 2006
    ovaloval:org.mitre.oval:def:6052
  • commentMicrosoft Internet Security and Acceleration Server 2006
    ovaloval:org.mitre.oval:def:6052
  • commentMicrosoft Internet Security and Acceleration Server 2006
    ovaloval:org.mitre.oval:def:6052
descriptionMicrosoft Internet Security and Acceleration (ISA) Server 2006 Gold and SP1, when Radius OTP is enabled, uses the HTTP-Basic authentication method, which allows remote attackers to gain the privileges of an arbitrary account, and access published web pages, via vectors involving attempted access to a network resource behind the ISA Server, aka "Radius OTP Bypass Vulnerability."
familywindows
idoval:org.mitre.oval:def:5649
statusaccepted
submitted2009-07-14T13:00:00
titleRadius OTP Bypass Vulnerability
version10

Seebug

bulletinFamilyexploit
descriptionBugraq ID: 35631 CVE ID:CVE-2009-1135 Microsoft ISA Server是一款企业防火墙和高性能的Web缓存解决方案。 配置了Radius OTP的ISA Server 2006验证机制存在问题,远程攻击者可以利用漏洞绕过验证访问受限WEB资源。 当使用HTTP-Basic方法验证请求时存在未明错误,可导致访问WEB发布的资源。 成功利用漏洞需要合法管理用户名和ISA服务器配置了Radius一次性密码(OTP)验证和KCD(Kerberos Constrained Delegation)的验证委托。 Microsoft ISA Server 2006 Supportability Update 0 Microsoft ISA Server 2006 SP1 Microsoft ISA Server 2006 用户可参考如下补丁程序: Microsoft ISA Server 2006 Microsoft Security Update for ISA Server 2006 (KB 970811) http://www.microsoft.com/downloads/details.aspx?familyid=c4e9b1dd-526d -407b-bc23-ebc2738b1b19
idSSV:11814
last seen2017-11-19
modified2009-07-15
published2009-07-15
reporterRoot
titleMicrosoft ISA Server Radius OTP验证绕过漏洞