Skip to content

CVE-2012-6708 (Medium) detected in jquery-1.8.3.min.js, simplesamlphp/simplesamlphp-v1.17.8 #4

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2012-6708 - Medium Severity Vulnerability

Vulnerable Libraries - jquery-1.8.3.min.js, simplesamlphp/simplesamlphp-v1.17.8

jquery-1.8.3.min.js

JavaScript library for DOM operations

Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js

Path to vulnerable library: /vendor/simplesamlphp/simplesamlphp/www/resources/jquery-1.8.js

Dependency Hierarchy:

  • jquery-1.8.3.min.js (Vulnerable Library)
simplesamlphp/simplesamlphp-v1.17.8

A PHP implementation of a SAML 2.0 service provider and identity provider, also compatible with Shibboleth 1.3 and 2.0.

Library home page: https://api.github.com/repos/simplesamlphp/simplesamlphp/zipball/295937ae8672278cad73ec2c78af3749426263de

Dependency Hierarchy:

  • simplesamlphp/composer-module-installer-v1.1.6 (Root Library)
    • simplesamlphp/simplesamlphp-v1.17.8 (Vulnerable Library)

Found in HEAD commit: fd17359125e6714801096e1c3ae3b23131de8463

Vulnerability Details

jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks. The jQuery(strInput) function does not differentiate selectors from HTML in a reliable fashion. In vulnerable versions, jQuery determined whether the input was HTML by looking for the '<' character anywhere in the string, giving attackers more flexibility when attempting to construct a malicious payload. In fixed versions, jQuery only deems the input to be HTML if it explicitly starts with the '<' character, limiting exploitability only to attackers who can control the beginning of a string, which is far less common.

Publish Date: 2018-01-18

URL: CVE-2012-6708

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2012-6708

Release Date: 2018-01-18

Fix Resolution: jQuery - v1.9.0


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions