JSONP Callback Attack

Affecting org.webjars.bower:angular artifact, versions (,1.6.1)

Do your applications use this vulnerable package? Test your applications

Overview

org.webjars.bower:angular is a bower WebJar for angular.

Affected versions of this package are vulnerable to JSONP Callback Attack. JSONP (JSON with padding) is a method used to request data from a server residing in a different domain than the client.

Any url could perform JSONP requests, allowing full access to the browser and the JavaScript context. This can lead to Cross-site Scripting.

Remediation

Upgrade org.webjars.bower:angular to version 1.6.1 or higher.

References

CVSS Score

6.5
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    Low
  • Availability
    None
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Credit
Pete Bacon Darwin
CWE
CWE-79
Snyk ID
SNYK-JAVA-ORGWEBJARSBOWER-479401
Disclosed
14 Mar, 2015
Published
13 Feb, 2017