Vulnerabilities > CVE-2016-1652 - Cross-site Scripting vulnerability in multiple products

047910
CVSS 6.1 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
LOW
Integrity impact
LOW
Availability impact
NONE
network
low complexity
debian
suse
opensuse
google
CWE-79
nessus

Summary

Cross-site scripting (XSS) vulnerability in the ModuleSystem::RequireForJsInner function in extensions/renderer/module_system.cc in the Extensions subsystem in Google Chrome before 50.0.2661.75 allows remote attackers to inject arbitrary web script or HTML via a crafted web site, aka "Universal XSS (UXSS)."

Vulnerable Configurations

Part Description Count
OS
Debian
1
OS
Suse
1
OS
Opensuse
1
Application
Google
3759

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 familyWindows
    NASL idGOOGLE_CHROME_50_0_2661_75.NASL
    descriptionThe version of Google Chrome installed on the remote Windows host is prior to 50.0.2661.75. It is, therefore, affected by multiple vulnerabilities : - An out-of-bounds read error exists in PDFium in the sycc420_to_rgb() and sycc422_to_rgb() functions within file fxcodec/codec/fx_codec_jpx_opj.cpp that is triggered when decoding JPEG2000 images. An unauthenticated, remote attacker can exploit this to cause a denial of service or disclose memory contents. (CVE-2016-1651) - A cross-site scripting vulnerability exists due to a failure by extension bindings to validate input before returning it to users. An unauthenticated, remote attacker can exploit this, via a crafted request, to execute arbitrary script code in the user
    last seen2020-06-01
    modified2020-06-02
    plugin id90542
    published2016-04-15
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/90542
    titleGoogle Chrome < 50.0.2661.75 Multiple Vulnerabilities
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(90542);
      script_version("1.11");
      script_cvs_date("Date: 2019/11/20");
    
      script_cve_id(
        "CVE-2016-1651",
        "CVE-2016-1652",
        "CVE-2016-1653",
        "CVE-2016-1654",
        "CVE-2016-1655",
        "CVE-2016-1656",
        "CVE-2016-1657",
        "CVE-2016-1658",
        "CVE-2016-1659"
      );
    
      script_name(english:"Google Chrome < 50.0.2661.75 Multiple Vulnerabilities");
      script_summary(english:"Checks the version of Google Chrome.");
    
      script_set_attribute(attribute:"synopsis", value:
    "A web browser installed on the remote Windows host is affected by
    multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Google Chrome installed on the remote Windows host is
    prior to 50.0.2661.75. It is, therefore, affected by multiple
    vulnerabilities :
    
      - An out-of-bounds read error exists in PDFium in the
        sycc420_to_rgb() and sycc422_to_rgb() functions within
        file fxcodec/codec/fx_codec_jpx_opj.cpp that is
        triggered when decoding JPEG2000 images. An
        unauthenticated, remote attacker can exploit this to
        cause a denial of service or disclose memory contents.
        (CVE-2016-1651)
    
      - A cross-site scripting vulnerability exists due to
        a failure by extension bindings to validate input before
        returning it to users. An unauthenticated, remote
        attacker can exploit this, via a crafted request, to
        execute arbitrary script code in the user's browser
        session. (CVE-2016-1652)
    
      - An out-of-bounds write error exists in Google V8,
        related to the LoadBuffer operator, that is triggered
        when handling typed arrays. An unauthenticated, remote
        attacker can exploit this to corrupt memory, resulting
        in a denial of service or the execution of arbitrary
        code. (CVE-2016-1653)
    
      - An uninitialized memory read error exists in media
        that allows an attacker to have an unspecified impact.
        No other details are available. (CVE-2016-1654)
    
      - A use-after-free error exists in extensions that is
        triggered when handling frame removal by content
        scripts. An unauthenticated, remote attacker can exploit
        this to dereference already freed memory, resulting in
        arbitrary code execution. (CVE-2016-1655)
    
      - A flaw exists, related to content disposition, due to
        the improper sanitization of the names of downloaded
        files. An unauthenticated, remote attacker can exploit
        this to bypass path restrictions. (CVE-2016-1656)
    
      - A flaw exists in the FocusLocationBarByDefault()
        function of the WebContentsImpl class within the file
        content/browser/web_contents/web_contents_impl.cc that
        allows an authenticated, remote attacker to spoof the
        address bar. (CVE-2016-1657)
    
      - An unspecified flaw exists that allows an
        unauthenticated, remote attacker to access sensitive
        information by using malicious extensions.
        (CVE-2016-1658)
    
      - Multiple vulnerabilities exist in Chrome, the most
        serious of which allow an unauthenticated, remote
        attacker to execute arbitrary code. (CVE-2016-1659)");
      # http://googlechromereleases.blogspot.com/2016/04/stable-channel-update_13.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d2fb8d51");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Google Chrome version 50.0.2661.75 or later.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
      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:"cvss_score_source", value:"CVE-2016-1659");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2015/10/22");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/04/13");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/04/15");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:google:chrome");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("google_chrome_installed.nasl");
      script_require_keys("SMB/Google_Chrome/Installed");
    
      exit(0);
    }
    
    include("google_chrome_version.inc");
    
    get_kb_item_or_exit("SMB/Google_Chrome/Installed");
    installs = get_kb_list("SMB/Google_Chrome/*");
    
    google_chrome_check_version(installs:installs, fix:'50.0.2661.75', severity:SECURITY_HOLE, xss:TRUE);
    
  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_GOOGLE_CHROME_50_0_2661_75.NASL
    descriptionThe version of Google Chrome installed on the remote Mac OS X host is prior to 50.0.2661.75. It is, therefore, affected by multiple vulnerabilities : - An out-of-bounds read error exists in PDFium in the sycc420_to_rgb() and sycc422_to_rgb() functions within file fxcodec/codec/fx_codec_jpx_opj.cpp that is triggered when decoding JPEG2000 images. An unauthenticated, remote attacker can exploit this to cause a denial of service or disclose memory contents. (CVE-2016-1651) - A cross-site scripting vulnerability exists due to a failure by extension bindings to validate input before returning it to users. An unauthenticated, remote attacker can exploit this, via a crafted request, to execute arbitrary script code in the user
    last seen2020-06-01
    modified2020-06-02
    plugin id90543
    published2016-04-15
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/90543
    titleGoogle Chrome < 50.0.2661.75 Multiple Vulnerabilities
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2016-1061.NASL
    descriptionChromium was updated to 50.0.2661.75 to fix the following vulnerabilities : - CVE-2016-1651: Out-of-bounds read in Pdfium JPEG2000 decoding - CVE-2016-1652: Universal XSS in extension bindings - CVE-2016-1653: Out-of-bounds write in V8 - CVE-2016-1654: Uninitialized memory read in media - CVE-2016-1655: Use-after-free related to extensions - CVE-2016-1656: Android downloaded file path restriction bypass - CVE-2016-1657: Address bar spoofing - CVE-2016-1658: Potential leak of sensitive information to malicious extensions - CVE-2016-1659: Various fixes from internal audits, fuzzing and other initiatives
    last seen2020-06-05
    modified2016-04-19
    plugin id90569
    published2016-04-19
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/90569
    titleopenSUSE Security Update : Chromium (openSUSE-2016-1061)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2016-504.NASL
    descriptionChromium was updated to 50.0.2661.75 to fix the following vulnerabilities : - CVE-2016-1651: Out-of-bounds read in Pdfium JPEG2000 decoding - CVE-2016-1652: Universal XSS in extension bindings - CVE-2016-1653: Out-of-bounds write in V8 - CVE-2016-1654: Uninitialized memory read in media - CVE-2016-1655: Use-after-free related to extensions - CVE-2016-1656: Android downloaded file path restriction bypass - CVE-2016-1657: Address bar spoofing - CVE-2016-1658: Potential leak of sensitive information to malicious extensions - CVE-2016-1659: Various fixes from internal audits, fuzzing and other initiatives
    last seen2020-06-05
    modified2016-04-25
    plugin id90701
    published2016-04-25
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/90701
    titleopenSUSE Security Update : Chromium (openSUSE-2016-504)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2016-1060-1.NASL
    descriptionChromium was updated to 50.0.2661.75 to fix the following vulnerabilities : - CVE-2016-1651: Out-of-bounds read in Pdfium JPEG2000 decoding - CVE-2016-1652: Universal XSS in extension bindings - CVE-2016-1653: Out-of-bounds write in V8 - CVE-2016-1654: Uninitialized memory read in media - CVE-2016-1655: Use-after-free related to extensions - CVE-2016-1656: Android downloaded file path restriction bypass - CVE-2016-1657: Address bar spoofing - CVE-2016-1658: Potential leak of sensitive information to malicious extensions - CVE-2016-1659: Various fixes from internal audits, fuzzing and other initiatives 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-05-31
    modified2016-04-19
    plugin id90585
    published2016-04-19
    reporterThis script is Copyright (C) 2016-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/90585
    titleSUSE SLES12 Security Update : Chromium (SUSE-SU-2016:1060-1)
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_6D8505F0061411E6B39C00262D5ED8EE.NASL
    descriptionGoogle Chrome Releases reports : 20 security fixes in this release, including : - [590275] High CVE-2016-1652: Universal XSS in extension bindings. Credit to anonymous. - [589792] High CVE-2016-1653: Out-of-bounds write in V8. Credit to Choongwoo Han. - [591785] Medium CVE-2016-1651: Out-of-bounds read in Pdfium JPEG2000 decoding. Credit to kdot working with HP
    last seen2020-06-01
    modified2020-06-02
    plugin id90592
    published2016-04-20
    reporterThis script is Copyright (C) 2016-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/90592
    titleFreeBSD : chromium -- multiple vulnerabilities (6d8505f0-0614-11e6-b39c-00262d5ed8ee)
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201605-02.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201605-02 (Chromium: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in the Chromium web browser. Please review the CVE identifiers referenced below for details. Impact : A remote attacker could possibly execute arbitrary code with the privileges of the process, cause a Denial of Service condition, obtain sensitive information, or bypass security restrictions. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id91176
    published2016-05-17
    reporterThis script is Copyright (C) 2016 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/91176
    titleGLSA-201605-02 : Chromium: Multiple vulnerabilities
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2016-505.NASL
    descriptionChromium was updated to 50.0.2661.75 to fix the following vulnerabilities : - CVE-2016-1651: Out-of-bounds read in Pdfium JPEG2000 decoding - CVE-2016-1652: Universal XSS in extension bindings - CVE-2016-1653: Out-of-bounds write in V8 - CVE-2016-1654: Uninitialized memory read in media - CVE-2016-1655: Use-after-free related to extensions - CVE-2016-1656: Android downloaded file path restriction bypass - CVE-2016-1657: Address bar spoofing - CVE-2016-1658: Potential leak of sensitive information to malicious extensions - CVE-2016-1659: Various fixes from internal audits, fuzzing and other initiatives
    last seen2020-06-05
    modified2016-04-25
    plugin id90702
    published2016-04-25
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/90702
    titleopenSUSE Security Update : Chromium (openSUSE-2016-505)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2016-0638.NASL
    descriptionAn update for chromium-browser is now available for Red Hat Enterprise Linux 6 Supplementary. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. Chromium is an open source web browser, powered by WebKit (Blink). This update upgrades Chromium to version 50.0.2661.75. Security Fix(es) : Several flaws were found in the processing of malformed web content. A web page containing malicious content could cause Chromium to crash, execute arbitrary code, or disclose sensitive information when visited by the victim. (CVE-2016-1652, CVE-2016-1653, CVE-2016-1651, CVE-2016-1654, CVE-2016-1655, CVE-2016-1656, CVE-2016-1657, CVE-2016-1658, CVE-2016-1659)
    last seen2020-05-31
    modified2016-04-19
    plugin id90570
    published2016-04-19
    reporterThis script is Copyright (C) 2016-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/90570
    titleRHEL 6 : chromium-browser (RHSA-2016:0638)
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-3549.NASL
    descriptionSeveral vulnerabilities have been discovered in the chromium web browser. - CVE-2016-1651 An out-of-bounds read issue was discovered in the pdfium library. - CVE-2016-1652 A cross-site scripting issue was discovered in extension bindings. - CVE-2016-1653 Choongwoo Han discovered an out-of-bounds write issue in the v8 JavaScript library. - CVE-2016-1654 Atte Kettunen discovered an uninitialized memory read condition. - CVE-2016-1655 Rob Wu discovered a use-after-free issue related to extensions. - CVE-2016-1657 Luan Herrera discovered a way to spoof URLs. - CVE-2016-1658 Antonio Sanso discovered an information leak related to extensions. - CVE-2016-1659 The chrome development team found and fixed various issues during internal auditing.
    last seen2020-06-01
    modified2020-06-02
    plugin id90549
    published2016-04-18
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/90549
    titleDebian DSA-3549-1 : chromium-browser - security update

Redhat

advisories
rhsa
idRHSA-2016:0638
rpms
  • chromium-browser-0:50.0.2661.75-1.el6
  • chromium-browser-debuginfo-0:50.0.2661.75-1.el6