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
LOW

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