Lucene search
K

Microsoft .NET Framework Security Bypass Vulnerability

🗓️ 26 May 2011 00:00:00Reported by Copyright (C) 2011 SecPodType 
openvas
 openvas
🔗 plugins.openvas.org👁 21 Views

Microsoft .NET Framework Security Bypass Vulnerability. Vulnerability allows context-dependent attackers to bypass intended access restrictions

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2011-1271
4 Mar 201100:00
circl
CVE
CVE-2011-1271
10 May 201119:00
cve
Cvelist
CVE-2011-1271
10 May 201119:00
cvelist
EUVD
EUVD-2011-1279
10 May 201119:00
euvd
NVD
CVE-2011-1271
10 May 201119:55
nvd
OpenVAS
Microsoft .NET Framework Security Bypass Vulnerability
26 May 201100:00
openvas
OpenVAS
Microsoft .NET Framework Remote Code Execution Vulnerability (2538814)
15 Jun 201100:00
openvas
OpenVAS
Microsoft .NET Framework Remote Code Execution Vulnerability (2538814)
15 Jun 201100:00
openvas
Prion
Design/Logic Flaw
10 May 201119:55
prion
Positive Technologies
PT-2011-3007 · Microsoft · .Net Framework
10 May 201100:00
ptsecurity
Rows per page
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_ms_dotnet_security_bypass_vuln.nasl 5362 2017-02-20 12:46:39Z cfi $
#
# Microsoft .NET Framework Security Bypass Vulnerability
#
# Authors:
# Sooraj KS <[email protected]>
#
# Copyright:
# Copyright (c) 2011 SecPod, http://www.secpod.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_impact = "Successful exploitation could allow context-dependent attackers to bypass
  intended access restrictions.
  Impact Level: System/Application";
tag_affected = "Microsoft .NET Framework versions before 4 beta 2.";
tag_insight = "The flaw is due to an error in the JIT compiler, when
  'IsJITOptimizerDisabled' is set to false, fails to handle expressions
  related to null strings, which allows context-dependent attackers to bypass
  intended access restrictions in opportunistic circumstances by leveraging a
  crafted application.";
tag_solution = "Upgrade to Microsoft .NET Framework version 4 beta 2 or later.
  For updates refer to http://www.microsoft.com/net/download.aspx";
tag_summary = "The host is installed with Microsoft .NET Framework and is prone to
  security bypass vulnerability

  This NVT has been replaced by NVT secpod_ms11-044.nasl
  (OID:1.3.6.1.4.1.25623.1.0.902522).";

if(description)
{
  script_id(902518);
  script_version("$Revision: 5362 $");
  script_tag(name:"deprecated", value:TRUE);
  script_tag(name:"last_modification", value:"$Date: 2017-02-20 13:46:39 +0100 (Mon, 20 Feb 2017) $");
  script_tag(name:"creation_date", value:"2011-05-26 10:47:46 +0200 (Thu, 26 May 2011)");
  script_cve_id("CVE-2011-1271");
  script_tag(name:"cvss_base", value:"5.1");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:H/Au:N/C:P/I:P/A:P");
  script_name("Microsoft .NET Framework Security Bypass Vulnerability");
  script_xref(name : "URL" , value : "http://stackoverflow.com/questions/2135509/bug-only-occurring-when-compile-optimization-enabled/");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 SecPod");
  script_family("Windows");
  script_dependencies("secpod_reg_enum.nasl");
  script_require_ports(139, 445);
  script_mandatory_keys("SMB/WindowsVersion");

  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}

exit(66); ## This NVT is deprecated as addressed in secpod_ms11-044.nasl.

include("smb_nt.inc");
include("version_func.inc");
include("secpod_smb_func.inc");

## Confirm Windows OS
if(!get_kb_item("SMB/WindowsVersion")){
  exit(0);
}

## Confirm .NET
key = "SOFTWARE\Microsoft\ASP.NET\";
if(!registry_key_exists(key:key)){
  exit(0);
}

foreach item (registry_enum_keys(key:key))
{
  path = registry_get_sz(key:key + item, item:"Path");
  if("\Microsoft.NET\Framework" >< path)
  {
    path =  path + "\mscorlib.dll";
    share = ereg_replace(pattern:"([a-zA-Z]):.*", replace:"\1$", string:path);
    file = ereg_replace(pattern:"[a-zA-Z]:(.*)", replace:"\1", string:path);

    ## Get version from mscorlib.dll file
    dllVer = GetVer(file:file, share:share);
    if(!dllVer) {
      exit(0);
    }
  }
}

## Check for Microsoft .NET Framework versions before 4 beta 2 (4.0.21006.1)
if(version_is_less(version:dllVer, test_version:"4.0.21006.1")){
  security_message(0);
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation