J-Security Center

Title: phpMyAdmin Arbitrary Command Execution Vulnerability

Severity: CRITICAL

Description:

phpMyAdmin is a freely available tool that provides a WWW interface for handling MySQL adminstrative tasks.

An input validation error exists in phpMyAdmin that could allow remote users to cause arbitrary commands to be executed by the PHP interpreter at runtime.

The problem is the result of how some variables are handled in the 'tbl_copy.php' and 'tbl_rename.php' scripts. It is possible to submit values for certain variables internal to the scripts. Under certain circumstances, the variables are evaluated with the eval() command, making it possible for an attacker to submit the commands he or she wishes to have executed as the value of that variable.

No authentication mechanisms are enabled with default installations of phpMyAdmin.

Affected Products:

  • phpMyAdmin phpMyAdmin 2.0.0
  • phpMyAdmin phpMyAdmin 2.0.1
  • phpMyAdmin phpMyAdmin 2.0.2
  • phpMyAdmin phpMyAdmin 2.0.3
  • phpMyAdmin phpMyAdmin 2.0.4
  • phpMyAdmin phpMyAdmin 2.0.5
  • phpMyAdmin phpMyAdmin 2.1.0
  • phpMyAdmin phpMyAdmin 2.1.0 .1
  • phpMyAdmin phpMyAdmin 2.1.0 .2
  • phpMyAdmin phpMyAdmin 2.2.0 pre1
  • phpMyAdmin phpMyAdmin 2.2.0 rc1
  • phpMyAdmin phpMyAdmin 2.2.0 rc2
  • phpMyAdmin phpMyAdmin 2.2.0 rc3

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.