Vulnerabilities > CVE-2020-11022

047910
CVSS 6.1 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
LOW
Integrity impact
LOW
Availability impact
NONE

Summary

In jQuery versions greater than or equal to 1.2 and before 3.5.0, passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0.

Vulnerable Configurations

Part Description Count
Application
Jquery
265
Application
Drupal
106
Application
Oracle
162
Application
Netapp
10
Application
Tenable
5
OS
Debian
1
OS
Fedoraproject
3
OS
Netapp
8
OS
Opensuse
2
Hardware
Netapp
8

Nessus

  • NASL familyCGI abuses
    NASL idDRUPAL_8_8_6.NASL
    descriptionAccording to its self-reported version, the instance of Drupal running on the remote web server is 7.0.x prior to 7.70, 7.0.x prior to 7.70, 8.7.x prior to 8.7.14, or 8.8.x prior to 8.8.6. It is, therefore, affected by multiple vulnerabilities. - In jQuery versions greater than or equal to 1.2 and before 3.5.0, passing HTML from untrusted sources - even after sanitizing it - to one of jQuery
    last seen2020-06-03
    modified2020-05-21
    plugin id136745
    published2020-05-21
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/136745
    titleDrupal 7.0.x < 7.70 / 7.0.x < 7.70 / 8.7.x < 8.7.14 / 8.8.x < 8.8.6 Multiple Vulnerabilities (drupal-2020-05-20)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include('compat.inc');
    
    if (description)
    {
      script_id(136745);
      script_version("1.3");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/02");
    
      script_cve_id("CVE-2020-11022", "CVE-2020-11023");
      script_xref(name:"IAVB", value:"2020-B-0030");
    
      script_name(english:"Drupal 7.0.x < 7.70 / 7.0.x < 7.70 / 8.7.x < 8.7.14 / 8.8.x < 8.8.6 Multiple Vulnerabilities (drupal-2020-05-20)");
    
      script_set_attribute(attribute:"synopsis", value:
    "A PHP application running on the remote web server is affected by multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "According to its self-reported version, the instance of Drupal running on the remote web server is 7.0.x prior to 7.70,
    7.0.x prior to 7.70, 8.7.x prior to 8.7.14, or 8.8.x prior to 8.8.6. It is, therefore, affected by multiple
    vulnerabilities.
    
      - In jQuery versions greater than or equal to 1.2 and
        before 3.5.0, passing HTML from untrusted sources - even
        after sanitizing it - to one of jQuery's DOM
        manipulation methods (i.e. .html(), .append(), and
        others) may execute untrusted code. This problem is
        patched in jQuery 3.5.0. (CVE-2020-11022)
    
      - In jQuery versions greater than or equal to 1.0.3 and
        before 3.5.0, passing HTML containing  elements
        from untrusted sources - even after sanitizing it - to
        one of jQuery's DOM manipulation methods (i.e. .html(),
        .append(), and others) may execute untrusted code. This
        problem is patched in jQuery 3.5.0. (CVE-2020-11023)
    
    Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
    number.");
      script_set_attribute(attribute:"see_also", value:"https://www.drupal.org/sa-core-2020-003");
      script_set_attribute(attribute:"see_also", value:"https://www.drupal.org/project/drupal/releases/7.70");
      script_set_attribute(attribute:"see_also", value:"https://www.drupal.org/sa-core-2020-002");
      # https://blog.jquery.com/2020/05/04/jquery-3-5-1-released-fixing-a-regression/
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?f249edf4");
      script_set_attribute(attribute:"see_also", value:"https://en.wikipedia.org/wiki/Software_regression");
      # https://github.com/jquery/jquery/security/advisories/GHSA-gxr4-xjj5-5px2
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?07eeffa7");
      # https://github.com/jquery/jquery/security/advisories/GHSA-jpcq-cgw6-v4j6
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?bc025732");
      script_set_attribute(attribute:"see_also", value:"https://html.spec.whatwg.org/multipage/custom-elements.html");
      script_set_attribute(attribute:"see_also", value:"https://jquery.com/upgrade-guide/3.5/#description-of-the-change");
      script_set_attribute(attribute:"see_also", value:"https://www.drupal.org/project/drupal/releases/8.7.14");
      script_set_attribute(attribute:"see_also", value:"https://www.drupal.org/project/drupal/releases/8.8.6");
      script_set_attribute(attribute:"see_also", value:"https://www.drupal.org/project/issues/drupal");
      script_set_attribute(attribute:"see_also", value:"https://www.drupal.org/project/jquery_update");
      script_set_attribute(attribute:"see_also", value:"https://www.drupal.org/security-team/report-issue");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Drupal version 7.70 / 7.70 / 8.7.14 / 8.8.6 or later.");
      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_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-11023");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2020/04/29");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/05/20");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/05/21");
    
      script_set_attribute(attribute:"potential_vulnerability", value:"true");
      script_set_attribute(attribute:"plugin_type", value:"remote");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:drupal:drupal");
      script_set_attribute(attribute:"stig_severity", value:"II");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"CGI abuses");
    
      script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("drupal_detect.nasl");
      script_require_keys("installed_sw/Drupal", "Settings/ParanoidReport");
      script_require_ports("Services/www", 80, 443);
    
      exit(0);
    }
    
    include('vcf.inc');
    include('http.inc');
    
    if (report_paranoia < 2) audit(AUDIT_PARANOID);
    
    port = get_http_port(default:80, php:TRUE);
    
    app_info = vcf::get_app_info(app:'Drupal', port:port, webapp:TRUE);
    
    vcf::check_granularity(app_info:app_info, sig_segments:2);
    
    constraints = [
      { 'min_version' : '7.0', 'fixed_version' : '7.70' },
      { 'min_version' : '8.7', 'fixed_version' : '8.7.14' },
      { 'min_version' : '8.8', 'fixed_version' : '8.8.6' }
    ];
    
    vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING);
    
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2020-2217.NASL
    descriptionThe remote Redhat Enterprise Linux 7 host has a package installed that is affected by a vulnerability as referenced in the RHSA-2020:2217 advisory. - jquery: Cross-site scripting due to improper injQuery.htmlPrefilter method (CVE-2020-11022) Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-06-05
    modified2020-06-01
    plugin id136976
    published2020-06-01
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/136976
    titleRHEL 7 : OpenShift Container Platform 3.11 (RHSA-2020:2217)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Red Hat Security Advisory RHSA-2020:2217. The text
    # itself is copyright (C) Red Hat, Inc.
    #
    
    include('compat.inc');
    
    if (description)
    {
      script_id(136976);
      script_version("1.3");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04");
    
      script_cve_id("CVE-2020-11022");
      script_xref(name:"RHSA", value:"2020:2217");
      script_xref(name:"IAVB", value:"2020-B-0030");
    
      script_name(english:"RHEL 7 : OpenShift Container Platform 3.11 (RHSA-2020:2217)");
      script_summary(english:"Checks the rpm output for the updated package");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Red Hat host is missing a security update.");
      script_set_attribute(attribute:"description", value:
    "The remote Redhat Enterprise Linux 7 host has a package installed that is affected by a vulnerability as referenced in
    the RHSA-2020:2217 advisory.
    
      - jquery: Cross-site scripting due to improper
        injQuery.htmlPrefilter method (CVE-2020-11022)
    
    Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
    number.");
      script_set_attribute(attribute:"see_also", value:"https://cwe.mitre.org/data/definitions/79.html");
      script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2020:2217");
      script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/cve/CVE-2020-11022");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/1828406");
      script_set_attribute(attribute:"solution", value:
    "Update the affected atomic-openshift-web-console 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_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-11022");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_cwe_id(79);
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2020/04/29");
      script_set_attribute(attribute:"patch_publication_date", value:"2020/05/28");
      script_set_attribute(attribute:"plugin_publication_date", value:"2020/06/01");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:redhat:openshift:3.11");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:redhat:openshift:3.11::el7");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:7");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:atomic-openshift-web-console");
      script_set_attribute(attribute:"stig_severity", value:"II");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Red Hat Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include('audit.inc');
    include('global_settings.inc');
    include('misc_func.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) || 'Red Hat' >!< release) audit(AUDIT_OS_NOT, 'Red Hat');
    os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, 'Red Hat');
    os_ver = os_ver[1];
    if (! preg(pattern:"^7([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, 'Red Hat 7.x', 'Red Hat ' + 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$" && 's390' >!< cpu && 'aarch64' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'Red Hat', cpu);
    
    pkgs = [
        {'reference':'atomic-openshift-web-console-3.11.219-1.git.1.9b9b889.el7', 'cpu':'x86_64', 'release':'7'}
    ];
    
    flag = 0;
    foreach package_array ( pkgs ) {
      reference = NULL;
      release = NULL;
      sp = NULL;
      cpu = NULL;
      el_string = NULL;
      rpm_spec_vers_cmp = NULL;
      epoch = NULL;
      allowmaj = NULL;
      if (!empty_or_null(package_array['reference'])) reference = package_array['reference'];
      if (!empty_or_null(package_array['release'])) release = 'RHEL' + package_array['release'];
      if (!empty_or_null(package_array['sp'])) sp = package_array['sp'];
      if (!empty_or_null(package_array['cpu'])) cpu = package_array['cpu'];
      if (!empty_or_null(package_array['el_string'])) el_string = package_array['el_string'];
      if (!empty_or_null(package_array['rpm_spec_vers_cmp'])) rpm_spec_vers_cmp = package_array['rpm_spec_vers_cmp'];
      if (!empty_or_null(package_array['epoch'])) epoch = package_array['epoch'];
      if (!empty_or_null(package_array['allowmaj'])) allowmaj = package_array['allowmaj'];
      if (reference && release) {
        if (rpm_check(release:release, sp:sp, cpu:cpu, reference:reference, epoch:epoch, el_string:el_string, rpm_spec_vers_cmp:rpm_spec_vers_cmp, allowmaj:allowmaj)) flag++;
      }
    }
    
    if (flag)
    {
      security_report_v4(
          port       : 0,
          severity   : SECURITY_WARNING,
          extra      : rpm_report_get() + redhat_report_package_caveat()
      );
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'atomic-openshift-web-console');
    }
    
  • NASL familyCGI abuses : XSS
    NASL idJQUERY_CVE-2020-11022.NASL
    descriptionAccording to the self-reported version in the script, the version of JQuery hosted on the remote web server is greater than or equal to 1.2 and prior to 3.5.0. It is, therefore, affected by a cross site scripting vulnerability.
    last seen2020-06-05
    modified2020-05-28
    plugin id136929
    published2020-05-28
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/136929
    titleJQuery 1.2 < 3.5.0 XSS
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2020-11BE4B36D4.NASL
    descriptionSecurity fix for https://www.drupal.org/sa-core-2020-002 and https://www.drupal.org/sa-core-2020-003 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-10
    modified2020-06-04
    plugin id137104
    published2020-06-04
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/137104
    titleFedora 32 : drupal7 (2020-11be4b36d4)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2020-2362.NASL
    descriptionThe remote Redhat Enterprise Linux 7 / 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2020:2362 advisory. - nodejs-lodash: prototype pollution in defaultsDeep function leading to modifying properties (CVE-2019-10744) - jquery: Cross-site scripting due to improper injQuery.htmlPrefilter method (CVE-2020-11022) - grafana: information disclosure through world-readable grafana configuration files (CVE-2020-12459) - nodejs-minimist: prototype pollution allows adding or modifying properties of Object.prototype using a constructor or __proto__ payload (CVE-2020-7598) Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-06-05
    modified2020-06-03
    plugin id137064
    published2020-06-03
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/137064
    titleRHEL 7 / 8 : Red Hat OpenShift Service Mesh (RHSA-2020:2362)
  • NASL familyCGI abuses
    NASL idJOOMLA_3919.NASL
    descriptionAccording to its self-reported version, the instance of Joomla! running on the remote web server is 2.5.x prior to 3.9.19. It is, therefore, affected by multiple vulnerabilities. - In Joomla! before 3.9.19, lack of input validation in the heading tag option of the Articles - Newsflash and Articles - Categories modules allows XSS. (CVE-2020-13761) - In Joomla! before 3.9.19, the default settings of the global textfilter configuration do not block HTML inputs for Guest users. (CVE-2020-13763) - In Joomla! before 3.9.19, incorrect input validation of the module tag option in com_modules allows XSS. (CVE-2020-13762) - In jQuery versions greater than or equal to 1.2 and before 3.5.0, passing HTML from untrusted sources - even after sanitizing it - to one of jQuery
    last seen2020-06-13
    modified2020-06-12
    plugin id137366
    published2020-06-12
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/137366
    titleJoomla 2.5.x < 3.9.19 Multiple Vulnerabilities (5812-joomla-3-9-19)
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-4693.NASL
    descriptionSeveral vulnerabilities were discovered in Drupal, a fully-featured content management framework, which could result in an open redirect or cross-site scripting.
    last seen2020-06-06
    modified2020-05-28
    plugin id136932
    published2020-05-28
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/136932
    titleDebian DSA-4693-1 : drupal7 - security update

Redhat

rpms
  • atomic-openshift-web-console-0:3.11.219-1.git.1.9b9b889.el7
  • jaeger-0:v1.13.1.redhat7-1.el7
  • kiali-0:v1.0.11.redhat1-1.el7
  • servicemesh-grafana-0:6.2.2-36.el8
  • servicemesh-grafana-prometheus-0:6.2.2-36.el8

References