CVE Vulnerabilities

CVE-2013-1734

Cross-Site Request Forgery (CSRF)

Published: Oct 24, 2013 | Modified: Oct 24, 2013
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

Cross-site request forgery (CSRF) vulnerability in attachment.cgi in Bugzilla 2.x, 3.x, and 4.0.x before 4.0.11; 4.1.x and 4.2.x before 4.2.7; and 4.3.x and 4.4.x before 4.4.1 allows remote attackers to hijack the authentication of arbitrary users for requests that commit an attachment change via an update action.

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
Bugzilla Mozilla 2.0 2.0
Bugzilla Mozilla 2.18.6+ 2.18.6+
Bugzilla Mozilla 2.16.8 2.16.8
Bugzilla Mozilla 2.22.7 2.22.7
Bugzilla Mozilla 2.18.8 2.18.8
Bugzilla Mozilla 2.17.6 2.17.6
Bugzilla Mozilla 2.16 2.16
Bugzilla Mozilla 2.18.5 2.18.5
Bugzilla Mozilla 2.19.3 2.19.3
Bugzilla Mozilla 2.20 2.20
Bugzilla Mozilla 2.18.6 2.18.6
Bugzilla Mozilla 2.17.2 2.17.2
Bugzilla Mozilla 2.20 2.20
Bugzilla Mozilla 2.16.1 2.16.1
Bugzilla Mozilla 2.20 2.20
Bugzilla Mozilla 2.19 2.19
Bugzilla Mozilla 2.18 2.18
Bugzilla Mozilla 2.16.2 2.16.2
Bugzilla Mozilla 2.16.11 2.16.11
Bugzilla Mozilla 2.20.5 2.20.5
Bugzilla Mozilla 2.20.6 2.20.6
Bugzilla Mozilla 2.22.3 2.22.3
Bugzilla Mozilla 2.22.6 2.22.6
Bugzilla Mozilla 2.17.4 2.17.4
Bugzilla Mozilla 2.16 2.16
Bugzilla Mozilla 2.23.2 2.23.2
Bugzilla Mozilla 2.21.2 2.21.2
Bugzilla Mozilla 2.10 2.10
Bugzilla Mozilla 2.17.1 2.17.1
Bugzilla Mozilla 2.16 2.16
Bugzilla Mozilla 2.22.1 2.22.1
Bugzilla Mozilla 2.23.4 2.23.4
Bugzilla Mozilla 2.16.9 2.16.9
Bugzilla Mozilla 2.20.1 2.20.1
Bugzilla Mozilla 2.23.3 2.23.3
Bugzilla Mozilla 2.14.2 2.14.2
Bugzilla Mozilla 2.18.7 2.18.7
Bugzilla Mozilla 2.23.1 2.23.1
Bugzilla Mozilla 2.22.2 2.22.2
Bugzilla Mozilla 2.18.1 2.18.1
Bugzilla Mozilla 2.22 2.22
Bugzilla Mozilla 2.14.3 2.14.3
Bugzilla Mozilla 2.22.5 2.22.5
Bugzilla Mozilla 2.14.4 2.14.4
Bugzilla Mozilla 2.19.1 2.19.1
Bugzilla Mozilla 2.16.7 2.16.7
Bugzilla Mozilla 2.6 2.6
Bugzilla Mozilla 2.17.5 2.17.5
Bugzilla Mozilla 2.22 2.22
Bugzilla Mozilla 2.17.3 2.17.3
Bugzilla Mozilla 2.4 2.4
Bugzilla Mozilla 2.16.4 2.16.4
Bugzilla Mozilla 2.12 2.12
Bugzilla Mozilla 2.21.2 2.21.2
Bugzilla Mozilla 2.20.3 2.20.3
Bugzilla Mozilla 2.8 2.8
Bugzilla Mozilla 2.2 2.2
Bugzilla Mozilla 2.18.4 2.18.4
Bugzilla Mozilla 2.16.3 2.16.3
Bugzilla Mozilla 2.14.5 2.14.5
Bugzilla Mozilla 2.18.9 2.18.9
Bugzilla Mozilla 2.18 2.18
Bugzilla Mozilla 2.18.3 2.18.3
Bugzilla Mozilla 2.17.7 2.17.7
Bugzilla Mozilla 2.20.7 2.20.7
Bugzilla Mozilla 2.20.2 2.20.2
Bugzilla Mozilla 2.20.4 2.20.4
Bugzilla Mozilla 2.21.1 2.21.1
Bugzilla Mozilla 2.18 2.18
Bugzilla Mozilla 2.17 2.17
Bugzilla Mozilla 2.23 2.23
Bugzilla Mozilla 2.16.6 2.16.6
Bugzilla Mozilla 2.9 2.9
Bugzilla Mozilla 2.18.2 2.18.2
Bugzilla Mozilla 2.18 2.18
Bugzilla Mozilla 2.14.1 2.14.1
Bugzilla Mozilla 2.22.4 2.22.4
Bugzilla Mozilla 2.21 2.21
Bugzilla Mozilla 2.16.5 2.16.5
Bugzilla Mozilla 2.14 2.14
Bugzilla Mozilla 2.19.2 2.19.2
Bugzilla Mozilla 2.16.10 2.16.10

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