CVE Vulnerabilities

CVE-2008-3197

Cross-Site Request Forgery (CSRF)

Published: Jul 16, 2008 | Modified: Aug 08, 2017
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
3.5 LOW
AV:N/AC:M/Au:S/C:N/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu

Cross-site request forgery (CSRF) vulnerability in phpMyAdmin before 2.11.7.1 allows remote attackers to perform unauthorized actions via a link or IMG tag to (1) the db parameter in the Creating a Database functionality (db_create.php), and (2) the convcharset and collation_connection parameters related to an unspecified program that modifies the connection character set.

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
Phpmyadmin Phpmyadmin 2.0 2.0
Phpmyadmin Phpmyadmin 2.0.0 2.0.0
Phpmyadmin Phpmyadmin 2.0.1 2.0.1
Phpmyadmin Phpmyadmin 2.0.2 2.0.2
Phpmyadmin Phpmyadmin 2.0.3 2.0.3
Phpmyadmin Phpmyadmin 2.0.4 2.0.4
Phpmyadmin Phpmyadmin 2.0.5 2.0.5
Phpmyadmin Phpmyadmin 2.1 2.1
Phpmyadmin Phpmyadmin 2.1.0 2.1.0
Phpmyadmin Phpmyadmin 2.1.1 2.1.1
Phpmyadmin Phpmyadmin 2.1.2 2.1.2
Phpmyadmin Phpmyadmin 2.2 2.2
Phpmyadmin Phpmyadmin 2.2.0 2.2.0
Phpmyadmin Phpmyadmin 2.2.0_pre1 2.2.0_pre1
Phpmyadmin Phpmyadmin 2.2.0_pre2 2.2.0_pre2
Phpmyadmin Phpmyadmin 2.2.0_rc1 2.2.0_rc1
Phpmyadmin Phpmyadmin 2.2.0_rc2 2.2.0_rc2
Phpmyadmin Phpmyadmin 2.2.0_rc3 2.2.0_rc3
Phpmyadmin Phpmyadmin 2.2.2 2.2.2
Phpmyadmin Phpmyadmin 2.2.3 2.2.3
Phpmyadmin Phpmyadmin 2.2.4 2.2.4
Phpmyadmin Phpmyadmin 2.2.5 2.2.5
Phpmyadmin Phpmyadmin 2.2.6 2.2.6
Phpmyadmin Phpmyadmin 2.2.7_pl1 2.2.7_pl1
Phpmyadmin Phpmyadmin 2.2_pre1 2.2_pre1
Phpmyadmin Phpmyadmin 2.2_pre2 2.2_pre2
Phpmyadmin Phpmyadmin 2.2_rc1 2.2_rc1
Phpmyadmin Phpmyadmin 2.2_rc2 2.2_rc2
Phpmyadmin Phpmyadmin 2.2_rc3 2.2_rc3
Phpmyadmin Phpmyadmin 2.3.1 2.3.1
Phpmyadmin Phpmyadmin 2.3.2 2.3.2
Phpmyadmin Phpmyadmin 2.4.0 2.4.0
Phpmyadmin Phpmyadmin 2.5.0 2.5.0
Phpmyadmin Phpmyadmin 2.5.1 2.5.1
Phpmyadmin Phpmyadmin 2.5.2 2.5.2
Phpmyadmin Phpmyadmin 2.5.2_pl1 2.5.2_pl1
Phpmyadmin Phpmyadmin 2.5.3 2.5.3
Phpmyadmin Phpmyadmin 2.5.4 2.5.4
Phpmyadmin Phpmyadmin 2.5.5 2.5.5
Phpmyadmin Phpmyadmin 2.5.5_pl1 2.5.5_pl1
Phpmyadmin Phpmyadmin 2.5.5_rc1 2.5.5_rc1
Phpmyadmin Phpmyadmin 2.5.5_rc2 2.5.5_rc2
Phpmyadmin Phpmyadmin 2.5.6_rc1 2.5.6_rc1
Phpmyadmin Phpmyadmin 2.5.6_rc2 2.5.6_rc2
Phpmyadmin Phpmyadmin 2.5.7 2.5.7
Phpmyadmin Phpmyadmin 2.5.7_pl1 2.5.7_pl1
Phpmyadmin Phpmyadmin 2.6.0_pl1 2.6.0_pl1
Phpmyadmin Phpmyadmin 2.6.0_pl2 2.6.0_pl2
Phpmyadmin Phpmyadmin 2.6.0_pl3 2.6.0_pl3
Phpmyadmin Phpmyadmin 2.6.1 2.6.1
Phpmyadmin Phpmyadmin 2.6.1_pl1 2.6.1_pl1
Phpmyadmin Phpmyadmin 2.6.1_pl3 2.6.1_pl3
Phpmyadmin Phpmyadmin 2.6.1_rc1 2.6.1_rc1
Phpmyadmin Phpmyadmin 2.6.2 2.6.2
Phpmyadmin Phpmyadmin 2.6.2_dev 2.6.2_dev
Phpmyadmin Phpmyadmin 2.6.2_pl1 2.6.2_pl1
Phpmyadmin Phpmyadmin 2.6.2_rc1 2.6.2_rc1
Phpmyadmin Phpmyadmin 2.6.3 2.6.3
Phpmyadmin Phpmyadmin 2.6.3_pl1 2.6.3_pl1
Phpmyadmin Phpmyadmin 2.6.4 2.6.4
Phpmyadmin Phpmyadmin 2.6.4_pl1 2.6.4_pl1
Phpmyadmin Phpmyadmin 2.6.4_pl2 2.6.4_pl2
Phpmyadmin Phpmyadmin 2.6.4_pl3 2.6.4_pl3
Phpmyadmin Phpmyadmin 2.6.4_pl4 2.6.4_pl4
Phpmyadmin Phpmyadmin 2.6.4_rc1 2.6.4_rc1
Phpmyadmin Phpmyadmin 2.7 2.7
Phpmyadmin Phpmyadmin 2.7.0 2.7.0
Phpmyadmin Phpmyadmin 2.7.0_beta1 2.7.0_beta1
Phpmyadmin Phpmyadmin 2.7.0_pl1 2.7.0_pl1
Phpmyadmin Phpmyadmin 2.7.0_pl2 2.7.0_pl2
Phpmyadmin Phpmyadmin 2.7.0_rc1 2.7.0_rc1
Phpmyadmin Phpmyadmin 2.7_pl1 2.7_pl1
Phpmyadmin Phpmyadmin 2.8.0 2.8.0
Phpmyadmin Phpmyadmin 2.8.0.1 2.8.0.1
Phpmyadmin Phpmyadmin 2.8.0.2 2.8.0.2
Phpmyadmin Phpmyadmin 2.8.0.3 2.8.0.3
Phpmyadmin Phpmyadmin 2.8.1 2.8.1
Phpmyadmin Phpmyadmin 2.8.1_dev 2.8.1_dev
Phpmyadmin Phpmyadmin 2.8.2 2.8.2
Phpmyadmin Phpmyadmin 2.8.3 2.8.3
Phpmyadmin Phpmyadmin 2.8.4 2.8.4
Phpmyadmin Phpmyadmin 2.9 2.9
Phpmyadmin Phpmyadmin 2.9.0 2.9.0
Phpmyadmin Phpmyadmin 2.9.0.1 2.9.0.1
Phpmyadmin Phpmyadmin 2.9.0.2 2.9.0.2
Phpmyadmin Phpmyadmin 2.9.0.3 2.9.0.3
Phpmyadmin Phpmyadmin 2.9.0_beta1 2.9.0_beta1
Phpmyadmin Phpmyadmin 2.9.0_dev 2.9.0_dev
Phpmyadmin Phpmyadmin 2.9.0_rc1 2.9.0_rc1
Phpmyadmin Phpmyadmin 2.9.1 2.9.1
Phpmyadmin Phpmyadmin 2.9.1.1 2.9.1.1
Phpmyadmin Phpmyadmin 2.9.1_rc1 2.9.1_rc1
Phpmyadmin Phpmyadmin 2.9.1_rc2 2.9.1_rc2
Phpmyadmin Phpmyadmin 2.9.2 2.9.2
Phpmyadmin Phpmyadmin 2.9_rc1 2.9_rc1
Phpmyadmin Phpmyadmin 2.10.0 2.10.0
Phpmyadmin Phpmyadmin 2.10.0.0 2.10.0.0
Phpmyadmin Phpmyadmin 2.10.0.1 2.10.0.1
Phpmyadmin Phpmyadmin 2.10.0.2 2.10.0.2
Phpmyadmin Phpmyadmin 2.10.01 2.10.01
Phpmyadmin Phpmyadmin 2.10.1 2.10.1
Phpmyadmin Phpmyadmin 2.10.1.0 2.10.1.0
Phpmyadmin Phpmyadmin 2.10.2 2.10.2
Phpmyadmin Phpmyadmin 2.10.2.0 2.10.2.0
Phpmyadmin Phpmyadmin 2.10.3 2.10.3
Phpmyadmin Phpmyadmin 2.10.3.0 2.10.3.0
Phpmyadmin Phpmyadmin 2.10.3rc1 2.10.3rc1
Phpmyadmin Phpmyadmin 2.11.0 2.11.0
Phpmyadmin Phpmyadmin 2.11.0.0 2.11.0.0
Phpmyadmin Phpmyadmin 2.11.0beta1 2.11.0beta1
Phpmyadmin Phpmyadmin 2.11.0rc1 2.11.0rc1
Phpmyadmin Phpmyadmin 2.11.1 2.11.1
Phpmyadmin Phpmyadmin 2.11.1.0 2.11.1.0
Phpmyadmin Phpmyadmin 2.11.1.1 2.11.1.1
Phpmyadmin Phpmyadmin 2.11.1.2 2.11.1.2
Phpmyadmin Phpmyadmin 2.11.1rc1 2.11.1rc1
Phpmyadmin Phpmyadmin 2.11.2 2.11.2
Phpmyadmin Phpmyadmin 2.11.2.0 2.11.2.0
Phpmyadmin Phpmyadmin 2.11.2.1 2.11.2.1
Phpmyadmin Phpmyadmin 2.11.2.2 2.11.2.2
Phpmyadmin Phpmyadmin 2.11.3 2.11.3
Phpmyadmin Phpmyadmin 2.11.3.0 2.11.3.0
Phpmyadmin Phpmyadmin 2.11.3rc1 2.11.3rc1
Phpmyadmin Phpmyadmin 2.11.4 2.11.4
Phpmyadmin Phpmyadmin 2.11.4.0 2.11.4.0
Phpmyadmin Phpmyadmin 2.11.4rc1 2.11.4rc1
Phpmyadmin Phpmyadmin 2.11.5 2.11.5
Phpmyadmin Phpmyadmin 2.11.5.0 2.11.5.0
Phpmyadmin Phpmyadmin 2.11.5.1 2.11.5.1
Phpmyadmin Phpmyadmin 2.11.5.2 2.11.5.2
Phpmyadmin Phpmyadmin 2.11.5rc1 2.11.5rc1
Phpmyadmin Phpmyadmin 2.11.6 2.11.6
Phpmyadmin Phpmyadmin 2.11.6rc1 2.11.6rc1
Phpmyadmin Phpmyadmin 2.11.7.0 2.11.7.0
Phpmyadmin Ubuntu dapper *
Phpmyadmin Ubuntu hardy *
Phpmyadmin 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