Vulnerabilities > CVE-2012-3543 - Improper Input Validation vulnerability in multiple products

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
HIGH
network
low complexity
mono-project
canonical
debian
CWE-20
nessus

Summary

mono 2.10.x ASP.NET Web Form Hash collision DoS

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Server Side Include (SSI) Injection
    An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
  • Cross Zone Scripting
    An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
  • Cross Site Scripting through Log Files
    An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
  • Command Line Execution through SQL Injection
    An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.

Nessus

  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2016-2958-1.NASL
    descriptionmono-core was updated to fix the following vulnerabilities : - CVE-2009-0689: Remote attackers could cause a denial of service and possibly arbitrary code execution through the string-to-double parser implementation. (bsc#958097) - CVE-2012-3543: Remote attackers could cause a denial of service through increased CPU consumption due to lack of protection against predictable hash collisions when processing form parameters. (bsc#739119) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id95452
    published2016-12-01
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/95452
    titleSUSE SLES11 Security Update : mono-core (SUSE-SU-2016:2958-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from SUSE update advisory SUSE-SU-2016:2958-1.
    # The text itself is copyright (C) SUSE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(95452);
      script_version("1.7");
      script_cvs_date("Date: 2019/11/25");
    
      script_cve_id("CVE-2009-0689", "CVE-2012-3543");
      script_bugtraq_id(35510, 36565, 36851, 37078, 37080, 37687, 37688, 55251);
    
      script_name(english:"SUSE SLES11 Security Update : mono-core (SUSE-SU-2016:2958-1)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SUSE host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "mono-core was updated to fix the following vulnerabilities :
    
      - CVE-2009-0689: Remote attackers could cause a denial of
        service and possibly arbitrary code execution through
        the string-to-double parser implementation. (bsc#958097)
    
      - CVE-2012-3543: Remote attackers could cause a denial of
        service through increased CPU consumption due to lack of
        protection against predictable hash collisions when
        processing form parameters. (bsc#739119)
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the SUSE security advisory. Tenable
    has attempted to automatically clean and format it as much as possible
    without introducing additional issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=739119"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=958097"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2009-0689/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2012-3543/"
      );
      # https://www.suse.com/support/update/announcement/2016/suse-su-20162958-1/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?017730e6"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "To install this SUSE Security Update use YaST online_update.
    Alternatively you can run the command listed for your product :
    
    SUSE Linux Enterprise Software Development Kit 11-SP4:zypper in -t
    patch sdksp4-mono-core-12866=1
    
    SUSE Linux Enterprise Server 11-SP4:zypper in -t patch
    slessp4-mono-core-12866=1
    
    SUSE Linux Enterprise Server 11-SP3-LTSS:zypper in -t patch
    slessp3-mono-core-12866=1
    
    To bring your system up-to-date, use 'zypper patch'."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_cwe_id(119);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-core");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-data");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-data-postgresql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-data-sqlite");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-locale-extras");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-nunit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-web");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-winforms");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:11");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2009/07/01");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/12/01");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/12/01");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/SuSE/release");
    if (isnull(release) || release !~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "SUSE");
    os_ver = pregmatch(pattern: "^(SLE(S|D)\d+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "SUSE");
    os_ver = os_ver[1];
    if (! preg(pattern:"^(SLES11)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLES11", "SUSE " + os_ver);
    
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SUSE " + os_ver, cpu);
    
    sp = get_kb_item("Host/SuSE/patchlevel");
    if (isnull(sp)) sp = "0";
    if (os_ver == "SLES11" && (! preg(pattern:"^(3|4)$", string:sp))) audit(AUDIT_OS_NOT, "SLES11 SP3/4", os_ver + " SP" + sp);
    
    
    flag = 0;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-core-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-data-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-data-postgresql-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-data-sqlite-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-locale-extras-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-nunit-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-web-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-winforms-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", reference:"mono-core-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", reference:"mono-data-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", reference:"mono-data-postgresql-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", reference:"mono-data-sqlite-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", reference:"mono-locale-extras-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", reference:"mono-nunit-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", reference:"mono-web-2.6.7-0.18.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", reference:"mono-winforms-2.6.7-0.18.1")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "mono-core");
    }
    
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-2547-1.NASL
    descriptionIt was discovered that the Mono TLS implementation was vulnerable to the SKIP-TLS vulnerability. A remote attacker could possibly use this issue to perform client impersonation attacks. (CVE-2015-2318) It was discovered that the Mono TLS implementation was vulnerable to the FREAK vulnerability. A remote attacker or a man in the middle could possibly use this issue to force the use of insecure ciphersuites. (CVE-2015-2319) It was discovered that the Mono TLS implementation still supported a fallback to SSLv2. This update removes the functionality as use of SSLv2 is known to be insecure. (CVE-2015-2320) It was discovered that Mono incorrectly handled memory in certain circumstances. A remote attacker could possibly use this issue to cause Mono to crash, resulting in a denial of service, or to obtain sensitive information. This issue only applied to Ubuntu 12.04 LTS. (CVE-2011-0992) It was discovered that Mono incorrectly handled hash collisions. A remote attacker could possibly use this issue to cause Mono to crash, resulting in a denial of service. This issue only applied to Ubuntu 12.04 LTS. (CVE-2012-3543). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id82074
    published2015-03-25
    reporterUbuntu Security Notice (C) 2015-2019 Canonical, Inc. / NASL script (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/82074
    titleUbuntu 12.04 LTS / 14.04 LTS / 14.10 : mono vulnerabilities (USN-2547-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Ubuntu Security Notice USN-2547-1. The text 
    # itself is copyright (C) Canonical, Inc. See 
    # <http://www.ubuntu.com/usn/>. Ubuntu(R) is a registered 
    # trademark of Canonical, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(82074);
      script_version("1.13");
      script_cvs_date("Date: 2019/09/18 12:31:44");
    
      script_cve_id("CVE-2011-0992", "CVE-2012-3543", "CVE-2015-2318", "CVE-2015-2319", "CVE-2015-2320");
      script_bugtraq_id(47208, 55251, 73250, 73253, 73256);
      script_xref(name:"USN", value:"2547-1");
    
      script_name(english:"Ubuntu 12.04 LTS / 14.04 LTS / 14.10 : mono vulnerabilities (USN-2547-1)");
      script_summary(english:"Checks dpkg output for updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Ubuntu host is missing one or more security-related
    patches."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "It was discovered that the Mono TLS implementation was vulnerable to
    the SKIP-TLS vulnerability. A remote attacker could possibly use this
    issue to perform client impersonation attacks. (CVE-2015-2318)
    
    It was discovered that the Mono TLS implementation was vulnerable to
    the FREAK vulnerability. A remote attacker or a man in the middle
    could possibly use this issue to force the use of insecure
    ciphersuites. (CVE-2015-2319)
    
    It was discovered that the Mono TLS implementation still supported a
    fallback to SSLv2. This update removes the functionality as use of
    SSLv2 is known to be insecure. (CVE-2015-2320)
    
    It was discovered that Mono incorrectly handled memory in certain
    circumstances. A remote attacker could possibly use this issue to
    cause Mono to crash, resulting in a denial of service, or to obtain
    sensitive information. This issue only applied to Ubuntu 12.04 LTS.
    (CVE-2011-0992)
    
    It was discovered that Mono incorrectly handled hash collisions. A
    remote attacker could possibly use this issue to cause Mono to crash,
    resulting in a denial of service. This issue only applied to Ubuntu
    12.04 LTS. (CVE-2012-3543).
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Ubuntu security advisory. Tenable
    has attempted to automatically clean and format it as much as possible
    without introducing additional issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://usn.ubuntu.com/2547-1/"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected libmono-2.0-1 and / or mono-runtime packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libmono-2.0-1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:mono-runtime");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:12.04:-:lts");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:14.04");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:14.10");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2011/04/13");
      script_set_attribute(attribute:"patch_publication_date", value:"2015/03/24");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/03/25");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"Ubuntu Security Notice (C) 2015-2019 Canonical, Inc. / NASL script (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Ubuntu Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/cpu", "Host/Ubuntu", "Host/Ubuntu/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("ubuntu.inc");
    include("misc_func.inc");
    
    if ( ! get_kb_item("Host/local_checks_enabled") ) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/Ubuntu/release");
    if ( isnull(release) ) audit(AUDIT_OS_NOT, "Ubuntu");
    release = chomp(release);
    if (! preg(pattern:"^(12\.04|14\.04|14\.10)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 12.04 / 14.04 / 14.10", "Ubuntu " + release);
    if ( ! get_kb_item("Host/Debian/dpkg-l") ) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Ubuntu", cpu);
    
    flag = 0;
    
    if (ubuntu_check(osver:"12.04", pkgname:"libmono-2.0-1", pkgver:"2.10.8.1-1ubuntu2.3")) flag++;
    if (ubuntu_check(osver:"12.04", pkgname:"mono-runtime", pkgver:"2.10.8.1-1ubuntu2.3")) flag++;
    if (ubuntu_check(osver:"14.04", pkgname:"libmono-2.0-1", pkgver:"3.2.8+dfsg-4ubuntu1.1")) flag++;
    if (ubuntu_check(osver:"14.04", pkgname:"mono-runtime", pkgver:"3.2.8+dfsg-4ubuntu1.1")) flag++;
    if (ubuntu_check(osver:"14.10", pkgname:"libmono-2.0-1", pkgver:"3.2.8+dfsg-4ubuntu2.1")) flag++;
    if (ubuntu_check(osver:"14.10", pkgname:"mono-runtime", pkgver:"3.2.8+dfsg-4ubuntu2.1")) flag++;
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_HOLE,
        extra      : ubuntu_report_get()
      );
      exit(0);
    }
    else
    {
      tested = ubuntu_pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "libmono-2.0-1 / mono-runtime");
    }
    
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201405-16.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201405-16 (Mono: Denial of Service) Mono does not properly randomize hash functions for form posts to protect against hash collision attacks. Impact : A remote attacker could send specially crafted parameters, possibly resulting in a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id74098
    published2014-05-20
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/74098
    titleGLSA-201405-16 : Mono: Denial of Service
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Gentoo Linux Security Advisory GLSA 201405-16.
    #
    # The advisory text is Copyright (C) 2001-2019 Gentoo Foundation, Inc.
    # and licensed under the Creative Commons - Attribution / Share Alike 
    # license. See http://creativecommons.org/licenses/by-sa/3.0/
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(74098);
      script_version("1.6");
      script_cvs_date("Date: 2019/11/25");
    
      script_cve_id("CVE-2012-3543");
      script_bugtraq_id(55251);
      script_xref(name:"GLSA", value:"201405-16");
    
      script_name(english:"GLSA-201405-16 : Mono: Denial of Service");
      script_summary(english:"Checks for updated package(s) in /var/db/pkg");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Gentoo host is missing one or more security-related
    patches."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The remote host is affected by the vulnerability described in GLSA-201405-16
    (Mono: Denial of Service)
    
        Mono does not properly randomize hash functions for form posts to
          protect against hash collision attacks.
      
    Impact :
    
        A remote attacker could send specially crafted parameters, possibly
          resulting in a Denial of Service condition.
      
    Workaround :
    
        There is no known workaround at this time."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security.gentoo.org/glsa/201405-16"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "All Mono users should upgrade to the latest version:
          # emerge --sync
          # emerge --ask --oneshot --verbose '>=dev-lang/mono-2.10.9-r2'"
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:mono");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:gentoo:linux");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/11/21");
      script_set_attribute(attribute:"patch_publication_date", value:"2014/05/18");
      script_set_attribute(attribute:"plugin_publication_date", value:"2014/05/20");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Gentoo Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Gentoo/release", "Host/Gentoo/qpkg-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("qpkg.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/Gentoo/release")) audit(AUDIT_OS_NOT, "Gentoo");
    if (!get_kb_item("Host/Gentoo/qpkg-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    
    if (qpkg_check(package:"dev-lang/mono", unaffected:make_list("ge 2.10.9-r2"), vulnerable:make_list("lt 2.10.9-r2"))) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:qpkg_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = qpkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "Mono");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2016-0257-1.NASL
    descriptionmono-core was updated to fix the following vulnerabilities : - CVE-2009-0689: Remote attackers could cause a denial of service and possibly arbitrary code execution through the string-to-double parser implementation (bsc#958097) - CVE-2012-3543: Remote attackers could cause a denial of service through increased CPU consumption due to lack of protection against predictable hash collisions when processing form parameters (bsc#739119) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id88454
    published2016-01-28
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/88454
    titleSUSE SLED11 / SLES11 Security Update : mono-core (SUSE-SU-2016:0257-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from SUSE update advisory SUSE-SU-2016:0257-1.
    # The text itself is copyright (C) SUSE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(88454);
      script_version("1.8");
      script_cvs_date("Date: 2019/11/25");
    
      script_cve_id("CVE-2009-0689", "CVE-2012-3543");
      script_bugtraq_id(35510, 36565, 36851, 37078, 37080, 37687, 37688, 55251);
    
      script_name(english:"SUSE SLED11 / SLES11 Security Update : mono-core (SUSE-SU-2016:0257-1)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SUSE host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "mono-core was updated to fix the following vulnerabilities :
    
      - CVE-2009-0689: Remote attackers could cause a denial of
        service and possibly arbitrary code execution through
        the string-to-double parser implementation (bsc#958097)
    
      - CVE-2012-3543: Remote attackers could cause a denial of
        service through increased CPU consumption due to lack of
        protection against predictable hash collisions when
        processing form parameters (bsc#739119)
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the SUSE security advisory. Tenable
    has attempted to automatically clean and format it as much as possible
    without introducing additional issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=739119"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=958097"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2009-0689/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2012-3543/"
      );
      # https://www.suse.com/support/update/announcement/2016/suse-su-20160257-1/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?a0ad9df0"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "To install this SUSE Security Update use YaST online_update.
    Alternatively you can run the command listed for your product :
    
    SUSE Linux Enterprise Software Development Kit 11-SP4 :
    
    zypper in -t patch sdksp4-mono-core-12369=1
    
    SUSE Linux Enterprise Software Development Kit 11-SP3 :
    
    zypper in -t patch sdksp3-mono-core-12369=1
    
    SUSE Linux Enterprise Server for VMWare 11-SP3 :
    
    zypper in -t patch slessp3-mono-core-12369=1
    
    SUSE Linux Enterprise Server 11-SP4 :
    
    zypper in -t patch slessp4-mono-core-12369=1
    
    SUSE Linux Enterprise Server 11-SP3 :
    
    zypper in -t patch slessp3-mono-core-12369=1
    
    SUSE Linux Enterprise Desktop 11-SP4 :
    
    zypper in -t patch sledsp4-mono-core-12369=1
    
    To bring your system up-to-date, use 'zypper patch'."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_cwe_id(119);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:bytefx-data-mysql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:ibm-data-db2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-core");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-data");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-data-firebird");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-data-oracle");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-data-postgresql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-data-sqlite");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-data-sybase");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-extras");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-jscript");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-locale-extras");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-nunit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-wcf");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-web");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:mono-winforms");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:monodoc-core");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:11");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2009/07/01");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/01/27");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/01/28");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/SuSE/release");
    if (isnull(release) || release !~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "SUSE");
    os_ver = pregmatch(pattern: "^(SLE(S|D)\d+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "SUSE");
    os_ver = os_ver[1];
    if (! preg(pattern:"^(SLED11|SLES11)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLED11 / SLES11", "SUSE " + os_ver);
    
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SUSE " + os_ver, cpu);
    
    sp = get_kb_item("Host/SuSE/patchlevel");
    if (isnull(sp)) sp = "0";
    if (os_ver == "SLES11" && (! preg(pattern:"^(3|4)$", string:sp))) audit(AUDIT_OS_NOT, "SLES11 SP3/4", os_ver + " SP" + sp);
    if (os_ver == "SLED11" && (! preg(pattern:"^(4)$", string:sp))) audit(AUDIT_OS_NOT, "SLED11 SP4", os_ver + " SP" + sp);
    
    
    flag = 0;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-core-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-data-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-data-postgresql-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-data-sqlite-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-locale-extras-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-nunit-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-web-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"4", reference:"mono-winforms-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", cpu:"s390x", reference:"mono-core-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", cpu:"s390x", reference:"mono-data-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", cpu:"s390x", reference:"mono-data-postgresql-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", cpu:"s390x", reference:"mono-data-sqlite-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", cpu:"s390x", reference:"mono-locale-extras-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", cpu:"s390x", reference:"mono-nunit-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", cpu:"s390x", reference:"mono-web-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", cpu:"s390x", reference:"mono-winforms-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"bytefx-data-mysql-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"ibm-data-db2-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-core-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-data-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-data-firebird-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-data-oracle-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-data-postgresql-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-data-sqlite-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-data-sybase-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-devel-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-extras-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-jscript-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-locale-extras-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-nunit-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-wcf-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-web-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"mono-winforms-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"monodoc-core-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"bytefx-data-mysql-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"ibm-data-db2-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-core-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-data-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-data-firebird-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-data-oracle-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-data-postgresql-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-data-sqlite-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-data-sybase-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-devel-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-extras-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-jscript-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-locale-extras-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-nunit-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-wcf-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-web-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"mono-winforms-2.6.7-0.16.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"monodoc-core-2.6.7-0.16.1")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "mono-core");
    }