Vulnerabilities > CVE-2010-1459 - Cross-site Scripting vulnerability in Mono

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
mono
CWE-79
nessus

Summary

The default configuration of ASP.NET in Mono before 2.6.4 has a value of FALSE for the EnableViewStateMac property, which allows remote attackers to conduct cross-site scripting (XSS) attacks, as demonstrated by the __VIEWSTATE parameter to 2.0/menu/menu1.aspx in the XSP sample project.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • 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.
  • Embedding Scripts in Non-Script Elements
    This attack is a form of Cross-Site Scripting (XSS) where malicious scripts are embedded in elements that are not expected to host scripts such as image tags (<img>), comments in XML documents (< !-CDATA->), etc. These tags may not be subject to the same input validation, output validation, and other content filtering and checking routines, so this can create an opportunity for an attacker to tunnel through the application's elements and launch a XSS attack through other elements. As with all remote attacks, it is important to differentiate the ability to launch an attack (such as probing an internal network for unpatched servers) and the ability of the remote attacker to collect and interpret the output of said attack.
  • Embedding Scripts within Scripts
    An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
  • Cross-Site Scripting in Error Pages
    An attacker distributes a link (or possibly some other query structure) with a request to a third party web server that is malformed and also contains a block of exploit code in order to have the exploit become live code in the resulting error page. When the third party web server receives the crafted request and notes the error it then creates an error message that echoes the malformed message, including the exploit. Doing this converts the exploit portion of the message into to valid language elements that are executed by the viewing browser. When a victim executes the query provided by the attacker the infected error message error message is returned including the exploit code which then runs in the victim's browser. XSS can result in execution of code as well as data leakage (e.g. session cookies can be sent to the attacker). This type of attack is especially dangerous since the exploit appears to come from the third party web server, who the victim may trust and hence be more vulnerable to deception.
  • Cross-Site Scripting Using Alternate Syntax
    The attacker uses alternate forms of keywords or commands that result in the same action as the primary form but which may not be caught by filters. For example, many keywords are processed in a case insensitive manner. If the site's web filtering algorithm does not convert all tags into a consistent case before the comparison with forbidden keywords it is possible to bypass filters (e.g., incomplete black lists) by using an alternate case structure. For example, the "script" tag using the alternate forms of "Script" or "ScRiPt" may bypass filters where "script" is the only form tested. Other variants using different syntax representations are also possible as well as using pollution meta-characters or entities that are eventually ignored by the rendering engine. The attack can result in the execution of otherwise prohibited functionality.

Nessus

  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_BYTEFX-DATA-MYSQL-100422.NASL
    descriptionMono
    last seen2020-06-01
    modified2020-06-02
    plugin id50892
    published2010-12-02
    reporterThis script is Copyright (C) 2010-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/50892
    titleSuSE 11 / 11.1 Security Update : mono-core / Mono (SAT Patch Numbers 2326 / 2474)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from SuSE 11 update information. The text itself is
    # copyright (C) Novell, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(50892);
      script_version("1.9");
      script_cvs_date("Date: 2019/10/25 13:36:39");
    
      script_cve_id("CVE-2010-1459");
    
      script_name(english:"SuSE 11 / 11.1 Security Update : mono-core / Mono (SAT Patch Numbers 2326 / 2474)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SuSE 11 host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Mono's ASP.NET implementation did not set the 'EnableViewStateMac'
    property by default. Attackers could exploit that to conduct
    cross-site scripting (XSS) attacks."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=592428"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://support.novell.com/security/cve/CVE-2010-1459.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Apply SAT patch number 2326 / 2474 as appropriate."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:bytefx-data-mysql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:ibm-data-db2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:mono-core");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:mono-data");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:mono-data-firebird");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:mono-data-oracle");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:mono-data-postgresql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:mono-data-sqlite");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:mono-data-sybase");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:mono-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:mono-extras");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:mono-jscript");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:mono-locale-extras");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:mono-nunit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:mono-web");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:mono-winforms");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:11");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/04/22");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/12/02");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-2019 Tenable Network Security, Inc.");
      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)11") audit(AUDIT_OS_NOT, "SuSE 11");
    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 11", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"bytefx-data-mysql-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"ibm-data-db2-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"mono-core-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"mono-data-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"mono-data-firebird-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"mono-data-oracle-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"mono-data-postgresql-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"mono-data-sqlite-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"mono-data-sybase-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"mono-devel-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"mono-extras-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"mono-jscript-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"mono-locale-extras-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"mono-nunit-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"mono-web-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"i586", reference:"mono-winforms-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"bytefx-data-mysql-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"ibm-data-db2-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"mono-core-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"mono-data-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"mono-data-firebird-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"mono-data-oracle-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"mono-data-postgresql-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"mono-data-sqlite-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"mono-data-sybase-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"mono-devel-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"mono-extras-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"mono-jscript-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"mono-locale-extras-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"mono-nunit-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"mono-web-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:0, cpu:"x86_64", reference:"mono-winforms-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"bytefx-data-mysql-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"ibm-data-db2-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"mono-core-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"mono-data-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"mono-data-firebird-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"mono-data-oracle-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"mono-data-postgresql-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"mono-data-sqlite-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"mono-data-sybase-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"mono-devel-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"mono-extras-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"mono-jscript-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"mono-locale-extras-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"mono-nunit-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"mono-web-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"i586", reference:"mono-winforms-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"bytefx-data-mysql-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"ibm-data-db2-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"mono-core-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"mono-data-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"mono-data-firebird-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"mono-data-oracle-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"mono-data-postgresql-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"mono-data-sqlite-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"mono-data-sybase-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"mono-devel-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"mono-extras-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"mono-jscript-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"mono-locale-extras-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"mono-nunit-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"mono-web-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLED11", sp:1, cpu:"x86_64", reference:"mono-winforms-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"mono-core-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"mono-data-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"mono-data-postgresql-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"mono-data-sqlite-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"mono-locale-extras-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"mono-nunit-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"mono-web-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:0, reference:"mono-winforms-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"mono-core-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"mono-data-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"mono-data-postgresql-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"mono-data-sqlite-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"mono-locale-extras-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"mono-nunit-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"mono-web-2.0.1-1.26.1")) flag++;
    if (rpm_check(release:"SLES11", sp:1, reference:"mono-winforms-2.0.1-1.26.1")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2010-10433.NASL
    description - Thu Jun 24 2010 Christian Krause <chkr at fedoraproject.org> - 2.4.3.1-2 - Add upstream patch for CVE-2010-1459: http://anonsvn.mono-project.com/viewvc?view=revision&r evision=156450 - Wed Jan 13 2010 Christian Krause <chkr at fedoraproject.org> - 2.4.3.1-1 - Update to 2.4.3.1 - Wed Dec 23 2009 Christian Krause <chkr at fedoraproject.org> - 2.4.3-1 - Update to 2.4.3 - Drop mono-242-metadata-appconf.patch (fixed upstream) - package mono.snk for packages without bundled keys to use - put mono.snk in /etc/pki/mono/ - package /etc/pki/mono/* in mono-devel - change %gac_dll macro to be more specific about the files to package (necessary to correctly select all files for the moonlight subpackage without any dangling symlinks) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 id47720
    published2010-07-14
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/47720
    titleFedora 12 : mono-2.4.3.1-2.fc12 (2010-10433)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory 2010-10433.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(47720);
      script_version("1.11");
      script_cvs_date("Date: 2019/08/02 13:32:31");
    
      script_cve_id("CVE-2010-1459");
      script_bugtraq_id(40351);
      script_xref(name:"FEDORA", value:"2010-10433");
    
      script_name(english:"Fedora 12 : mono-2.4.3.1-2.fc12 (2010-10433)");
      script_summary(english:"Checks rpm output for the updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "  - Thu Jun 24 2010 Christian Krause <chkr at
        fedoraproject.org> - 2.4.3.1-2
    
        - Add upstream patch for CVE-2010-1459:
          http://anonsvn.mono-project.com/viewvc?view=revision&r
          evision=156450
    
      - Wed Jan 13 2010 Christian Krause <chkr at
        fedoraproject.org> - 2.4.3.1-1
    
        - Update to 2.4.3.1
    
        - Wed Dec 23 2009 Christian Krause <chkr at
          fedoraproject.org> - 2.4.3-1
    
        - Update to 2.4.3
    
        - Drop mono-242-metadata-appconf.patch (fixed upstream)
    
        - package mono.snk for packages without bundled keys to
          use
    
        - put mono.snk in /etc/pki/mono/
    
        - package /etc/pki/mono/* in mono-devel
    
        - change %gac_dll macro to be more specific about the
          files to package (necessary to correctly select all
          files for the moonlight subpackage without any
          dangling symlinks)
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Fedora 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:"http://anonsvn.mono-project.com/viewvc?view=revision&revision=156450"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=598155"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2010-July/044051.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?2dc66b36"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected mono package.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
      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_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:mono");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:12");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/06/28");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/07/14");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Fedora Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/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/RedHat/release");
    if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
    os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
    os_ver = os_ver[1];
    if (! ereg(pattern:"^12([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 12.x", "Fedora " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) 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, "Fedora", cpu);
    
    flag = 0;
    if (rpm_check(release:"FC12", reference:"mono-2.4.3.1-2.fc12")) 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");
    }
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2010-10332.NASL
    description - update the mono stack to release 2.6.4 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora 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 id47719
    published2010-07-14
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/47719
    titleFedora 13 : gnome-sharp-2.24.1-1.fc13 / gtksourceview-sharp-2.0.12-11.fc13 / libgdiplus-2.6.4-1.fc13 / etc (2010-10332)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory 2010-10332.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(47719);
      script_version("1.12");
      script_cvs_date("Date: 2019/08/02 13:32:31");
    
      script_cve_id("CVE-2010-1459");
      script_bugtraq_id(40351);
      script_xref(name:"FEDORA", value:"2010-10332");
    
      script_name(english:"Fedora 13 : gnome-sharp-2.24.1-1.fc13 / gtksourceview-sharp-2.0.12-11.fc13 / libgdiplus-2.6.4-1.fc13 / etc (2010-10332)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "  - update the mono stack to release 2.6.4
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Fedora 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.redhat.com/show_bug.cgi?id=598155"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2010-July/044047.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?55461ebe"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2010-July/044048.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?15b75f01"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2010-July/044049.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?3ec80b03"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2010-July/044050.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?e856b116"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2010-July/044052.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?b52c25ed"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2010-July/044054.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?1750e472"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2010-July/044055.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?0ff9dfa1"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2010-July/044057.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?bc5ac0da"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
      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_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:gnome-sharp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:gtksourceview-sharp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:libgdiplus");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:mod_mono");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:mono");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:mono-basic");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:mono-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:xsp");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:13");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/06/24");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/07/14");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Fedora Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/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/RedHat/release");
    if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
    os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
    os_ver = os_ver[1];
    if (! ereg(pattern:"^13([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 13.x", "Fedora " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) 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, "Fedora", cpu);
    
    flag = 0;
    if (rpm_check(release:"FC13", reference:"gnome-sharp-2.24.1-1.fc13")) flag++;
    if (rpm_check(release:"FC13", reference:"gtksourceview-sharp-2.0.12-11.fc13")) flag++;
    if (rpm_check(release:"FC13", reference:"libgdiplus-2.6.4-1.fc13")) flag++;
    if (rpm_check(release:"FC13", reference:"mod_mono-2.6.3-1.fc13")) flag++;
    if (rpm_check(release:"FC13", reference:"mono-2.6.4-1.fc13")) flag++;
    if (rpm_check(release:"FC13", reference:"mono-basic-2.6.2-1.fc13")) flag++;
    if (rpm_check(release:"FC13", reference:"mono-tools-2.6.2-1.fc13")) flag++;
    if (rpm_check(release:"FC13", reference:"xsp-2.6.4-1.fc13")) 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, "gnome-sharp / gtksourceview-sharp / libgdiplus / mod_mono / mono / etc");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_1_BYTEFX-DATA-MYSQL-100422.NASL
    descriptionMono
    last seen2020-06-01
    modified2020-06-02
    plugin id47571
    published2010-07-01
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/47571
    titleopenSUSE Security Update : bytefx-data-mysql (openSUSE-SU-2010:0342-1)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update bytefx-data-mysql-2384.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(47571);
      script_version("1.7");
      script_cvs_date("Date: 2019/10/25 13:36:37");
    
      script_cve_id("CVE-2010-1459");
    
      script_name(english:"openSUSE Security Update : bytefx-data-mysql (openSUSE-SU-2010:0342-1)");
      script_summary(english:"Check for the bytefx-data-mysql-2384 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Mono's ASP.NET implementation did not set the 'EnableViewStateMac'
    property by default. Attackers could exploit that to conduct
    cross-site-scripting (XSS) attacks."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=592428"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://lists.opensuse.org/opensuse-updates/2010-06/msg00010.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected bytefx-data-mysql packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:bytefx-data-mysql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ibm-data-db2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-complete");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-core");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-core-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-firebird");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-oracle");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-postgresql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-sqlite");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-sybase");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-extras");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-jscript");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-locale-extras");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-nunit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-web");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-winforms");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:monodoc-core");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:11.1");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/04/22");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/07/01");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-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/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu");
    
      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, "openSUSE");
    if (release !~ "^(SUSE11\.1)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "11.1", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE11.1", reference:"bytefx-data-mysql-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"ibm-data-db2-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-complete-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-core-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-data-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-data-firebird-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-data-oracle-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-data-postgresql-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-data-sqlite-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-data-sybase-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-devel-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-extras-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-jscript-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-locale-extras-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-nunit-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-web-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"mono-winforms-2.0.1-1.23.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", reference:"monodoc-core-2.0-1.42.1") ) flag++;
    if ( rpm_check(release:"SUSE11.1", cpu:"x86_64", reference:"mono-core-32bit-2.0.1-1.23.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, "bytefx-data-mysql / ibm-data-db2 / mono-complete / mono-core / etc");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_0_BYTEFX-DATA-MYSQL-100422.NASL
    descriptionMono
    last seen2020-06-01
    modified2020-06-02
    plugin id47569
    published2010-07-01
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/47569
    titleopenSUSE Security Update : bytefx-data-mysql (openSUSE-SU-2010:0342-1)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update bytefx-data-mysql-2384.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(47569);
      script_version("1.7");
      script_cvs_date("Date: 2019/10/25 13:36:37");
    
      script_cve_id("CVE-2010-1459");
    
      script_name(english:"openSUSE Security Update : bytefx-data-mysql (openSUSE-SU-2010:0342-1)");
      script_summary(english:"Check for the bytefx-data-mysql-2384 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Mono's ASP.NET implementation did not set the 'EnableViewStateMac'
    property by default. Attackers could exploit that to conduct
    cross-site-scripting (XSS) attacks."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=592428"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://lists.opensuse.org/opensuse-updates/2010-06/msg00010.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected bytefx-data-mysql packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:bytefx-data-mysql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ibm-data-db2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-complete");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-core");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-core-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-firebird");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-oracle");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-postgresql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-sqlite");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-sybase");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-extras");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-jscript");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-locale-extras");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-nunit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-web");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-winforms");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:monodoc-core");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:11.0");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/04/22");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/07/01");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-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/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu");
    
      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, "openSUSE");
    if (release !~ "^(SUSE11\.0)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "11.0", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE11.0", reference:"bytefx-data-mysql-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"ibm-data-db2-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-complete-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-core-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-data-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-data-firebird-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-data-oracle-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-data-postgresql-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-data-sqlite-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-data-sybase-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-devel-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-extras-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-jscript-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-locale-extras-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-nunit-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-web-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"mono-winforms-1.9.1-6.8") ) flag++;
    if ( rpm_check(release:"SUSE11.0", reference:"monodoc-core-1.9-18.1") ) flag++;
    if ( rpm_check(release:"SUSE11.0", cpu:"x86_64", reference:"mono-core-32bit-1.9.1-6.8") ) 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, "bytefx-data-mysql / ibm-data-db2 / mono-complete / mono-core / etc");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_2_BYTEFX-DATA-MYSQL-100426.NASL
    descriptionMono
    last seen2020-06-01
    modified2020-06-02
    plugin id47573
    published2010-07-01
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/47573
    titleopenSUSE Security Update : bytefx-data-mysql (openSUSE-SU-2010:0342-1)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update bytefx-data-mysql-2384.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(47573);
      script_version("1.7");
      script_cvs_date("Date: 2019/10/25 13:36:38");
    
      script_cve_id("CVE-2010-1459");
    
      script_name(english:"openSUSE Security Update : bytefx-data-mysql (openSUSE-SU-2010:0342-1)");
      script_summary(english:"Check for the bytefx-data-mysql-2384 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Mono's ASP.NET implementation did not set the 'EnableViewStateMac'
    property by default. Attackers could exploit that to conduct
    cross-site-scripting (XSS) attacks."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=592428"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://lists.opensuse.org/opensuse-updates/2010-06/msg00010.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected bytefx-data-mysql packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:bytefx-data-mysql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:ibm-data-db2");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-complete");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-core");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-firebird");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-oracle");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-postgresql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-sqlite");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-data-sybase");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-extras");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-jscript");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-locale-extras");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-nunit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-wcf");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-web");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mono-winforms");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:monodoc-core");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:11.2");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/04/26");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/07/01");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-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/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu");
    
      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, "openSUSE");
    if (release !~ "^(SUSE11\.2)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "11.2", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE11.2", reference:"bytefx-data-mysql-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"ibm-data-db2-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-complete-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-core-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-data-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-data-firebird-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-data-oracle-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-data-postgresql-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-data-sqlite-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-data-sybase-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-devel-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-extras-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-jscript-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-locale-extras-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-nunit-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-wcf-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-web-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"mono-winforms-2.4.2.3-2.7.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"monodoc-core-2.4.2.3-2.7.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, "bytefx-data-mysql / ibm-data-db2 / mono-complete / mono-core / etc");
    }
    
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-1517-1.NASL
    descriptionIt was discovered that the Mono System.Web library incorrectly filtered certain error messages related to forbidden files. If a user were tricked into opening a specially crafted URL, an attacker could possibly exploit this to conduct cross-site scripting (XSS) attacks. (CVE-2012-3382) It was discovered that the Mono System.Web library incorrectly handled the EnableViewStateMac property. If a user were tricked into opening a specially crafted URL, an attacker could possibly exploit this to conduct cross-site scripting (XSS) attacks. This issue only affected Ubuntu 10.04 LTS. (CVE-2010-4159). 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 id60126
    published2012-07-26
    reporterUbuntu Security Notice (C) 2012-2019 Canonical, Inc. / NASL script (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/60126
    titleUbuntu 10.04 LTS / 11.04 / 11.10 / 12.04 LTS : mono vulnerabilities (USN-1517-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Ubuntu Security Notice USN-1517-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(60126);
      script_version("1.8");
      script_cvs_date("Date: 2019/09/19 12:54:28");
    
      script_cve_id("CVE-2010-1459", "CVE-2010-4159", "CVE-2012-3382");
      script_bugtraq_id(40351, 54344);
      script_xref(name:"USN", value:"1517-1");
    
      script_name(english:"Ubuntu 10.04 LTS / 11.04 / 11.10 / 12.04 LTS : mono vulnerabilities (USN-1517-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 System.Web library incorrectly
    filtered certain error messages related to forbidden files. If a user
    were tricked into opening a specially crafted URL, an attacker could
    possibly exploit this to conduct cross-site scripting (XSS) attacks.
    (CVE-2012-3382)
    
    It was discovered that the Mono System.Web library incorrectly handled
    the EnableViewStateMac property. If a user were tricked into opening a
    specially crafted URL, an attacker could possibly exploit this to
    conduct cross-site scripting (XSS) attacks. This issue only affected
    Ubuntu 10.04 LTS. (CVE-2010-4159).
    
    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/1517-1/"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "Update the affected libmono-system-web1.0-cil,
    libmono-system-web2.0-cil and / or libmono-system-web4.0-cil packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:L/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_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libmono-system-web1.0-cil");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libmono-system-web2.0-cil");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libmono-system-web4.0-cil");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:10.04:-:lts");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:11.04");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:11.10");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:12.04:-:lts");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2010/05/27");
      script_set_attribute(attribute:"patch_publication_date", value:"2012/07/25");
      script_set_attribute(attribute:"plugin_publication_date", value:"2012/07/26");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"Ubuntu Security Notice (C) 2012-2019 Canonical, Inc. / NASL script (C) 2012-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:"^(10\.04|11\.04|11\.10|12\.04)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 10.04 / 11.04 / 11.10 / 12.04", "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:"10.04", pkgname:"libmono-system-web1.0-cil", pkgver:"2.4.4~svn151842-1ubuntu4.1")) flag++;
    if (ubuntu_check(osver:"10.04", pkgname:"libmono-system-web2.0-cil", pkgver:"2.4.4~svn151842-1ubuntu4.1")) flag++;
    if (ubuntu_check(osver:"11.04", pkgname:"libmono-system-web1.0-cil", pkgver:"2.6.7-5ubuntu3.1")) flag++;
    if (ubuntu_check(osver:"11.04", pkgname:"libmono-system-web2.0-cil", pkgver:"2.6.7-5ubuntu3.1")) flag++;
    if (ubuntu_check(osver:"11.10", pkgname:"libmono-system-web2.0-cil", pkgver:"2.10.5-1ubuntu0.1")) flag++;
    if (ubuntu_check(osver:"11.10", pkgname:"libmono-system-web4.0-cil", pkgver:"2.10.5-1ubuntu0.1")) flag++;
    if (ubuntu_check(osver:"12.04", pkgname:"libmono-system-web2.0-cil", pkgver:"2.10.8.1-1ubuntu2.2")) flag++;
    if (ubuntu_check(osver:"12.04", pkgname:"libmono-system-web4.0-cil", pkgver:"2.10.8.1-1ubuntu2.2")) flag++;
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_WARNING,
        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-system-web1.0-cil / libmono-system-web2.0-cil / etc");
    }