CVE Vulnerabilities

CVE-2009-0482

Cross-Site Request Forgery (CSRF)

Published: Feb 09, 2009 | Modified: Mar 25, 2009
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
5.8 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

Cross-site request forgery (CSRF) vulnerability in Bugzilla before 3.2 before 3.2.1, 3.3 before 3.3.2, and other versions before 3.2 allows remote attackers to perform bug updating activities as other users via a link or IMG tag to process_bug.cgi.

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.10 (including) 2.10 (including)
Bugzilla Mozilla 2.12 (including) 2.12 (including)
Bugzilla Mozilla 2.14 (including) 2.14 (including)
Bugzilla Mozilla 2.14.1 (including) 2.14.1 (including)
Bugzilla Mozilla 2.14.2 (including) 2.14.2 (including)
Bugzilla Mozilla 2.14.3 (including) 2.14.3 (including)
Bugzilla Mozilla 2.14.4 (including) 2.14.4 (including)
Bugzilla Mozilla 2.14.5 (including) 2.14.5 (including)
Bugzilla Mozilla 2.16 (including) 2.16 (including)
Bugzilla Mozilla 2.16-rc1 (including) 2.16-rc1 (including)
Bugzilla Mozilla 2.16.1 (including) 2.16.1 (including)
Bugzilla Mozilla 2.16.2 (including) 2.16.2 (including)
Bugzilla Mozilla 2.16.3 (including) 2.16.3 (including)
Bugzilla Mozilla 2.16.4 (including) 2.16.4 (including)
Bugzilla Mozilla 2.16.5 (including) 2.16.5 (including)
Bugzilla Mozilla 2.16.6 (including) 2.16.6 (including)
Bugzilla Mozilla 2.16.7 (including) 2.16.7 (including)
Bugzilla Mozilla 2.16.8 (including) 2.16.8 (including)
Bugzilla Mozilla 2.16.9 (including) 2.16.9 (including)
Bugzilla Mozilla 2.16.10 (including) 2.16.10 (including)
Bugzilla Mozilla 2.16.11 (including) 2.16.11 (including)
Bugzilla Mozilla 2.16_rc2 (including) 2.16_rc2 (including)
Bugzilla Mozilla 2.17 (including) 2.17 (including)
Bugzilla Mozilla 2.17.1 (including) 2.17.1 (including)
Bugzilla Mozilla 2.17.2 (including) 2.17.2 (including)
Bugzilla Mozilla 2.17.3 (including) 2.17.3 (including)
Bugzilla Mozilla 2.17.4 (including) 2.17.4 (including)
Bugzilla Mozilla 2.17.5 (including) 2.17.5 (including)
Bugzilla Mozilla 2.17.6 (including) 2.17.6 (including)
Bugzilla Mozilla 2.17.7 (including) 2.17.7 (including)
Bugzilla Mozilla 2.18 (including) 2.18 (including)
Bugzilla Mozilla 2.18-rc1 (including) 2.18-rc1 (including)
Bugzilla Mozilla 2.18-rc2 (including) 2.18-rc2 (including)
Bugzilla Mozilla 2.18-rc3 (including) 2.18-rc3 (including)
Bugzilla Mozilla 2.18.1 (including) 2.18.1 (including)
Bugzilla Mozilla 2.18.2 (including) 2.18.2 (including)
Bugzilla Mozilla 2.18.3 (including) 2.18.3 (including)
Bugzilla Mozilla 2.18.4 (including) 2.18.4 (including)
Bugzilla Mozilla 2.18.5 (including) 2.18.5 (including)
Bugzilla Mozilla 2.18.6 (including) 2.18.6 (including)
Bugzilla Mozilla 2.18.7 (including) 2.18.7 (including)
Bugzilla Mozilla 2.18.8 (including) 2.18.8 (including)
Bugzilla Mozilla 2.18.9 (including) 2.18.9 (including)
Bugzilla Mozilla 2.19 (including) 2.19 (including)
Bugzilla Mozilla 2.19.1 (including) 2.19.1 (including)
Bugzilla Mozilla 2.19.2 (including) 2.19.2 (including)
Bugzilla Mozilla 2.19.3 (including) 2.19.3 (including)
Bugzilla Mozilla 2.20 (including) 2.20 (including)
Bugzilla Mozilla 2.20-rc1 (including) 2.20-rc1 (including)
Bugzilla Mozilla 2.20-rc2 (including) 2.20-rc2 (including)
Bugzilla Mozilla 2.20.1 (including) 2.20.1 (including)
Bugzilla Mozilla 2.20.2 (including) 2.20.2 (including)
Bugzilla Mozilla 2.20.3 (including) 2.20.3 (including)
Bugzilla Mozilla 2.20.4 (including) 2.20.4 (including)
Bugzilla Mozilla 2.20.5 (including) 2.20.5 (including)
Bugzilla Mozilla 2.20.6 (including) 2.20.6 (including)
Bugzilla Mozilla 2.21 (including) 2.21 (including)
Bugzilla Mozilla 2.21.1 (including) 2.21.1 (including)
Bugzilla Mozilla 2.21.2 (including) 2.21.2 (including)
Bugzilla Mozilla 2.22 (including) 2.22 (including)
Bugzilla Mozilla 2.22-rc1 (including) 2.22-rc1 (including)
Bugzilla Mozilla 2.22.1 (including) 2.22.1 (including)
Bugzilla Mozilla 2.22.2 (including) 2.22.2 (including)
Bugzilla Mozilla 2.22.3 (including) 2.22.3 (including)
Bugzilla Mozilla 2.22.4 (including) 2.22.4 (including)
Bugzilla Mozilla 2.22.5 (including) 2.22.5 (including)
Bugzilla Mozilla 2.22.6 (including) 2.22.6 (including)
Bugzilla Mozilla 3.0.0 (including) 3.0.0 (including)
Bugzilla Mozilla 3.0.1 (including) 3.0.1 (including)
Bugzilla Mozilla 3.0.2 (including) 3.0.2 (including)
Bugzilla Mozilla 3.0.3 (including) 3.0.3 (including)
Bugzilla Mozilla 3.0.4 (including) 3.0.4 (including)
Bugzilla Mozilla 3.0.5 (including) 3.0.5 (including)
Bugzilla Mozilla 3.0.6 (including) 3.0.6 (including)
Bugzilla Mozilla 3.2 (including) 3.2 (including)
Bugzilla Mozilla 3.3.1 (including) 3.3.1 (including)
Bugzilla Ubuntu dapper *
Bugzilla Ubuntu gutsy *
Bugzilla Ubuntu hardy *
Bugzilla Ubuntu intrepid *
Bugzilla Ubuntu jaunty *
Bugzilla Ubuntu upstream *

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