samuelteixeiras / caite

See your youtube subscriptions like a boss!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2012-6708 (Medium) detected in multiple libraries

mend-bolt-for-github opened this issue · comments

CVE-2012-6708 - Medium Severity Vulnerability

Vulnerable Libraries - jquery-1.6.2.js, jquery-1.6.1.min.js, jquery-1.8.0.min.js, jquery-1.3.2.min.js

jquery-1.6.2.js

JavaScript library for DOM operations

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

Path to dependency file: caite/node_modules/tiny-lr/node_modules/qs/test/browser/index.html

Path to vulnerable library: caite/node_modules/tiny-lr/node_modules/qs/test/browser/jquery.js

Dependency Hierarchy:

  • jquery-1.6.2.js (Vulnerable Library)
jquery-1.6.1.min.js

JavaScript library for DOM operations

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

Path to dependency file: caite/app/bower_components/modernizr/test/caniuse.html

Path to vulnerable library: caite/app/bower_components/modernizr/test/./caniuse_files/jquery.min.js

Dependency Hierarchy:

  • jquery-1.6.1.min.js (Vulnerable Library)
jquery-1.8.0.min.js

JavaScript library for DOM operations

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

Path to dependency file: caite/node_modules/grunt-usemin/index.html

Path to vulnerable library: caite/node_modules/grunt-usemin/index.html

Dependency Hierarchy:

  • jquery-1.8.0.min.js (Vulnerable Library)
jquery-1.3.2.min.js

JavaScript library for DOM operations

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

Path to dependency file: caite/node_modules/underscore.string/test/test_underscore/temp_tests.html

Path to vulnerable library: caite/node_modules/underscore.string/test/test_underscore/vendor/jquery.js

Dependency Hierarchy:

  • jquery-1.3.2.min.js (Vulnerable Library)

Found in HEAD commit: cd9951c688404f842b5b42d372e5ac4d387ff367

Found in base branch: master

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 WhiteSource here