Skip to content
This repository has been archived by the owner on Jun 8, 2020. It is now read-only.

CVE-2012-6708 (Medium) detected in jquery-1.4.4.min.js, jquery-1.7.1.min.js #79

Open
mend-bolt-for-github bot opened this issue Apr 7, 2020 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

CVE-2012-6708 - Medium Severity Vulnerability

Vulnerable Libraries - jquery-1.4.4.min.js, jquery-1.7.1.min.js

jquery-1.4.4.min.js

JavaScript library for DOM operations

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

Path to dependency file: /tmp/ws-scm/Angular-7-learning-Udemy/game-control-assignment/node_modules/selenium-webdriver/lib/test/data/mousePositionTracker.html

Path to vulnerable library: /Angular-7-learning-Udemy/game-control-assignment/node_modules/selenium-webdriver/lib/test/data/js/jquery-1.4.4.min.js,/Angular-7-learning-Udemy/servicesExample/node_modules/selenium-webdriver/lib/test/data/js/jquery-1.4.4.min.js,/Angular-7-learning-Udemy/directives-example/node_modules/selenium-webdriver/lib/test/data/js/jquery-1.4.4.min.js,/Angular-7-learning-Udemy/forms-example/node_modules/selenium-webdriver/lib/test/data/js/jquery-1.4.4.min.js,/Angular-7-learning-Udemy/pipes-example/node_modules/selenium-webdriver/lib/test/data/js/jquery-1.4.4.min.js,/Angular-7-learning-Udemy/observables-example/node_modules/selenium-webdriver/lib/test/data/js/jquery-1.4.4.min.js,/Angular-7-learning-Udemy/assignment-project/node_modules/selenium-webdriver/lib/test/data/js/jquery-1.4.4.min.js,/Angular-7-learning-Udemy/forms-reactive-assignment/node_modules/selenium-webdriver/lib/test/data/js/jquery-1.4.4.min.js,/Angular-7-learning-Udemy/routing-example/node_modules/selenium-webdriver/lib/test/data/js/jquery-1.4.4.min.js,/Angular-7-learning-Udemy/http-example/node_modules/selenium-webdriver/lib/test/data/js/jquery-1.4.4.min.js,/Angular-7-learning-Udemy/shopping-recipe-course/node_modules/selenium-webdriver/lib/test/data/js/jquery-1.4.4.min.js,/Angular-7-learning-Udemy/forms-reactive/node_modules/selenium-webdriver/lib/test/data/js/jquery-1.4.4.min.js

Dependency Hierarchy:

  • jquery-1.4.4.min.js (Vulnerable Library)
jquery-1.7.1.min.js

JavaScript library for DOM operations

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

Path to dependency file: /tmp/ws-scm/Angular-7-learning-Udemy/assignment-project/node_modules/sockjs/examples/echo/index.html

Path to vulnerable library: /Angular-7-learning-Udemy/assignment-project/node_modules/sockjs/examples/echo/index.html,/Angular-7-learning-Udemy/forms-example/node_modules/sockjs/examples/multiplex/index.html,/Angular-7-learning-Udemy/pipes-example/node_modules/sockjs/examples/express-3.x/index.html,/Angular-7-learning-Udemy/game-control-assignment/node_modules/sockjs/examples/express/index.html,/Angular-7-learning-Udemy/pipes-example/node_modules/sockjs/examples/express/index.html,/Angular-7-learning-Udemy/directives-example/node_modules/sockjs/examples/express/index.html,/Angular-7-learning-Udemy/game-control-assignment/node_modules/sockjs/examples/hapi/html/index.html,/Angular-7-learning-Udemy/http-example/node_modules/sockjs/examples/hapi/html/index.html,/Angular-7-learning-Udemy/routing-example/node_modules/sockjs/examples/express/index.html,/Angular-7-learning-Udemy/observables-example/node_modules/sockjs/examples/multiplex/index.html,/Angular-7-learning-Udemy/forms-reactive/node_modules/sockjs/examples/hapi/html/index.html,/Angular-7-learning-Udemy/directives-example/node_modules/sockjs/examples/express-3.x/index.html,/Angular-7-learning-Udemy/forms-reactive/node_modules/sockjs/examples/express-3.x/index.html,/Angular-7-learning-Udemy/assignment-project/node_modules/sockjs/examples/express-3.x/index.html,/Angular-7-learning-Udemy/pipes-example/node_modules/sockjs/examples/echo/index.html,/Angular-7-learning-Udemy/forms-reactive-assignment/node_modules/sockjs/examples/multiplex/index.html,/Angular-7-learning-Udemy/forms-reactive-assignment/node_modules/sockjs/examples/express-3.x/index.html,/Angular-7-learning-Udemy/routing-example/node_modules/vm-browserify/example/run/index.html,/Angular-7-learning-Udemy/forms-reactive/node_modules/sockjs/examples/express/index.html,/Angular-7-learning-Udemy/shopping-recipe-course/node_modules/sockjs/examples/express-3.x/index.html,/Angular-7-learning-Udemy/game-control-assignment/node_modules/sockjs/examples/echo/index.html,/Angular-7-learning-Udemy/routing-example/node_modules/sockjs/examples/hapi/html/index.html,/Angular-7-learning-Udemy/http-example/node_modules/sockjs/examples/express-3.x/index.html,/Angular-7-learning-Udemy/directives-example/node_modules/sockjs/examples/echo/index.html,/Angular-7-learning-Udemy/shopping-recipe-course/node_modules/sockjs/examples/multiplex/index.html,/Angular-7-learning-Udemy/routing-example/node_modules/sockjs/examples/multiplex/index.html,/Angular-7-learning-Udemy/servicesExample/node_modules/sockjs/examples/express-3.x/index.html,/Angular-7-learning-Udemy/shopping-recipe-course/node_modules/sockjs/examples/hapi/html/index.html,/Angular-7-learning-Udemy/forms-reactive/node_modules/sockjs/examples/echo/index.html,/Angular-7-learning-Udemy/shopping-recipe-course/node_modules/vm-browserify/example/run/index.html,/Angular-7-learning-Udemy/forms-example/node_modules/sockjs/examples/express/index.html,/Angular-7-learning-Udemy/routing-example/node_modules/sockjs/examples/echo/index.html,/Angular-7-learning-Udemy/http-example/node_modules/sockjs/examples/express/index.html,/Angular-7-learning-Udemy/forms-example/node_modules/sockjs/examples/echo/index.html,/Angular-7-learning-Udemy/assignment-project/node_modules/sockjs/examples/multiplex/index.html,/Angular-7-learning-Udemy/servicesExample/node_modules/sockjs/examples/echo/index.html,/Angular-7-learning-Udemy/pipes-example/node_modules/vm-browserify/example/run/index.html,/Angular-7-learning-Udemy/observables-example/node_modules/vm-browserify/example/run/index.html,/Angular-7-learning-Udemy/game-control-assignment/node_modules/sockjs/examples/multiplex/index.html,/Angular-7-learning-Udemy/observables-example/node_modules/sockjs/examples/echo/index.html,/Angular-7-learning-Udemy/observables-example/node_modules/sockjs/examples/hapi/html/index.html,/Angular-7-learning-Udemy/pipes-example/node_modules/sockjs/examples/hapi/html/index.html,/Angular-7-learning-Udemy/forms-example/node_modules/sockjs/examples/express-3.x/index.html,/Angular-7-learning-Udemy/game-control-assignment/node_modules/sockjs/examples/express-3.x/index.html,/Angular-7-learning-Udemy/observables-example/node_modules/sockjs/examples/express-3.x/index.html,/Angular-7-learning-Udemy/forms-reactive-assignment/node_modules/sockjs/examples/hapi/html/index.html,/Angular-7-learning-Udemy/routing-example/node_modules/sockjs/examples/express-3.x/index.html,/Angular-7-learning-Udemy/http-example/node_modules/sockjs/examples/multiplex/index.html,/Angular-7-learning-Udemy/forms-example/node_modules/sockjs/examples/hapi/html/index.html,/Angular-7-learning-Udemy/forms-reactive/node_modules/sockjs/examples/multiplex/index.html,/Angular-7-learning-Udemy/servicesExample/node_modules/vm-browserify/example/run/index.html,/Angular-7-learning-Udemy/directives-example/node_modules/sockjs/examples/hapi/html/index.html,/Angular-7-learning-Udemy/shopping-recipe-course/node_modules/sockjs/examples/echo/index.html,/Angular-7-learning-Udemy/directives-example/node_modules/sockjs/examples/multiplex/index.html,/Angular-7-learning-Udemy/servicesExample/node_modules/sockjs/examples/multiplex/index.html,/Angular-7-learning-Udemy/pipes-example/node_modules/sockjs/examples/multiplex/index.html,/Angular-7-learning-Udemy/http-example/node_modules/sockjs/examples/echo/index.html,/Angular-7-learning-Udemy/assignment-project/node_modules/sockjs/examples/hapi/html/index.html,/Angular-7-learning-Udemy/observables-example/node_modules/sockjs/examples/express/index.html,/Angular-7-learning-Udemy/servicesExample/node_modules/sockjs/examples/hapi/html/index.html,/Angular-7-learning-Udemy/forms-reactive-assignment/node_modules/sockjs/examples/echo/index.html

Dependency Hierarchy:

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

Found in HEAD commit: b521d303214c9393a64f26b4a521fcbb4f0a5abd

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

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants