CVE Vulnerabilities

CVE-2016-1261

Cross-Site Request Forgery (CSRF)

Published: Oct 13, 2017 | Modified: Oct 09, 2019
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

J-Web does not validate certain input that may lead to cross-site request forgery (CSRF) issues or cause a denial of J-Web service (DoS).

Weakness

The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request.

Affected Software

Name Vendor Start Version End Version
Junos Juniper 12.1x44 (including) 12.1x44 (including)
Junos Juniper 12.1x44-d10 (including) 12.1x44-d10 (including)
Junos Juniper 12.1x44-d15 (including) 12.1x44-d15 (including)
Junos Juniper 12.1x44-d20 (including) 12.1x44-d20 (including)
Junos Juniper 12.1x44-d25 (including) 12.1x44-d25 (including)
Junos Juniper 12.1x44-d30 (including) 12.1x44-d30 (including)
Junos Juniper 12.1x44-d35 (including) 12.1x44-d35 (including)
Junos Juniper 12.1x44-d40 (including) 12.1x44-d40 (including)
Junos Juniper 12.1x44-d45 (including) 12.1x44-d45 (including)
Junos Juniper 12.1x44-d50 (including) 12.1x44-d50 (including)
Junos Juniper 12.1x46 (including) 12.1x46 (including)
Junos Juniper 12.1x46-d10 (including) 12.1x46-d10 (including)
Junos Juniper 12.1x46-d15 (including) 12.1x46-d15 (including)
Junos Juniper 12.1x46-d20 (including) 12.1x46-d20 (including)
Junos Juniper 12.1x46-d25 (including) 12.1x46-d25 (including)
Junos Juniper 12.1x46-d30 (including) 12.1x46-d30 (including)
Junos Juniper 12.1x46-d35 (including) 12.1x46-d35 (including)
Junos Juniper 12.1x46-d40 (including) 12.1x46-d40 (including)
Junos Juniper 12.1x47 (including) 12.1x47 (including)
Junos Juniper 12.1x47-d10 (including) 12.1x47-d10 (including)
Junos Juniper 12.1x47-d15 (including) 12.1x47-d15 (including)
Junos Juniper 12.1x47-d20 (including) 12.1x47-d20 (including)
Junos Juniper 12.1x47-d25 (including) 12.1x47-d25 (including)
Junos Juniper 12.3 (including) 12.3 (including)
Junos Juniper 12.3-r1 (including) 12.3-r1 (including)
Junos Juniper 12.3-r2 (including) 12.3-r2 (including)
Junos Juniper 12.3-r3 (including) 12.3-r3 (including)
Junos Juniper 12.3-r4 (including) 12.3-r4 (including)
Junos Juniper 12.3-r5 (including) 12.3-r5 (including)
Junos Juniper 12.3-r6 (including) 12.3-r6 (including)
Junos Juniper 12.3-r7 (including) 12.3-r7 (including)
Junos Juniper 12.3-r8 (including) 12.3-r8 (including)
Junos Juniper 12.3-r9 (including) 12.3-r9 (including)
Junos Juniper 12.3x48-d10 (including) 12.3x48-d10 (including)
Junos Juniper 12.3x48-d15 (including) 12.3x48-d15 (including)
Junos Juniper 12.3x48-d25 (including) 12.3x48-d25 (including)
Junos Juniper 13.2x51 (including) 13.2x51 (including)
Junos Juniper 13.2x51-d15 (including) 13.2x51-d15 (including)
Junos Juniper 13.2x51-d20 (including) 13.2x51-d20 (including)
Junos Juniper 13.2x51-d21 (including) 13.2x51-d21 (including)
Junos Juniper 13.2x51-d25 (including) 13.2x51-d25 (including)
Junos Juniper 13.2x51-d26 (including) 13.2x51-d26 (including)
Junos Juniper 13.2x51-d30 (including) 13.2x51-d30 (including)
Junos Juniper 13.2x51-d35 (including) 13.2x51-d35 (including)
Junos Juniper 13.3 (including) 13.3 (including)
Junos Juniper 13.3-r1 (including) 13.3-r1 (including)
Junos Juniper 13.3-r2 (including) 13.3-r2 (including)
Junos Juniper 13.3-r2-s2 (including) 13.3-r2-s2 (including)
Junos Juniper 13.3-r3 (including) 13.3-r3 (including)
Junos Juniper 13.3-r4 (including) 13.3-r4 (including)
Junos Juniper 13.3-r5 (including) 13.3-r5 (including)
Junos Juniper 13.3-r6 (including) 13.3-r6 (including)
Junos Juniper 13.3-r7 (including) 13.3-r7 (including)
Junos Juniper 14.1 (including) 14.1 (including)
Junos Juniper 14.1-r1 (including) 14.1-r1 (including)
Junos Juniper 14.1-r2 (including) 14.1-r2 (including)
Junos Juniper 14.1-r3 (including) 14.1-r3 (including)
Junos Juniper 14.1-r4 (including) 14.1-r4 (including)
Junos Juniper 14.1-r5 (including) 14.1-r5 (including)
Junos Juniper 14.1x53 (including) 14.1x53 (including)
Junos Juniper 14.1x53-d10 (including) 14.1x53-d10 (including)
Junos Juniper 14.1x53-d15 (including) 14.1x53-d15 (including)
Junos Juniper 14.1x53-d16 (including) 14.1x53-d16 (including)
Junos Juniper 14.1x53-d25 (including) 14.1x53-d25 (including)
Junos Juniper 14.1x53-d26 (including) 14.1x53-d26 (including)
Junos Juniper 14.1x53-d27 (including) 14.1x53-d27 (including)
Junos Juniper 14.2 (including) 14.2 (including)
Junos Juniper 14.2-r1 (including) 14.2-r1 (including)
Junos Juniper 14.2-r2 (including) 14.2-r2 (including)
Junos Juniper 14.2-r3 (including) 14.2-r3 (including)
Junos Juniper 14.2-r4 (including) 14.2-r4 (including)
Junos Juniper 15.1-r1 (including) 15.1-r1 (including)
Junos Juniper 15.1-r2 (including) 15.1-r2 (including)
Junos Juniper 15.1x49-d10 (including) 15.1x49-d10 (including)

Potential Mitigations

  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, use anti-CSRF packages such as the OWASP CSRFGuard. [REF-330]
  • Another example is the ESAPI Session Management control, which includes a component for CSRF. [REF-45]
  • Use the “double-submitted cookie” method as described by Felten and Zeller:
  • When a user visits a site, the site should generate a pseudorandom value and set it as a cookie on the user’s machine. The site should require every form submission to include this value as a form value and also as a cookie value. When a POST request is sent to the site, the request should only be considered valid if the form value and the cookie value are the same.
  • Because of the same-origin policy, an attacker cannot read or modify the value stored in the cookie. To successfully submit a form on behalf of the user, the attacker would have to correctly guess the pseudorandom value. If the pseudorandom value is cryptographically strong, this will be prohibitively difficult.
  • This technique requires Javascript, so it may not work for browsers that have Javascript disabled. [REF-331]

References