phpMyAdmin 'setup.php' PHP Code Injection Vulnerability

2009-03-25T00:00:00
ID SMNTC-34236
Type symantec
Reporter Symantec Security Response
Modified 2009-03-25T00:00:00

Description

Description

phpMyAdmin is prone to a remote PHP code-injection vulnerability. An attacker can exploit this issue to inject and execute arbitrary malicious PHP code in the context of the webserver process. This may facilitate a compromise of the application and the underlying system; other attacks are also possible. Versions prior to phpMyAdmin 2.11.9.5 and 3.1.3.1 are vulnerable.

Technologies Affected

  • Debian Linux 4.0
  • Debian Linux 4.0 Alpha
  • Debian Linux 4.0 Amd64
  • Debian Linux 4.0 Arm
  • Debian Linux 4.0 Armel
  • Debian Linux 4.0 Hppa
  • Debian Linux 4.0 Ia-32
  • Debian Linux 4.0 Ia-64
  • Debian Linux 4.0 M68k
  • Debian Linux 4.0 Mips
  • Debian Linux 4.0 Mipsel
  • Debian Linux 4.0 Powerpc
  • Debian Linux 4.0 S/390
  • Debian Linux 4.0 Sparc
  • Debian Linux 5.0
  • Debian Linux 5.0 Alpha
  • Debian Linux 5.0 Amd64
  • Debian Linux 5.0 Arm
  • Debian Linux 5.0 Armel
  • Debian Linux 5.0 Hppa
  • Debian Linux 5.0 Ia-32
  • Debian Linux 5.0 Ia-64
  • Debian Linux 5.0 M68k
  • Debian Linux 5.0 Mips
  • Debian Linux 5.0 Mipsel
  • Debian Linux 5.0 Powerpc
  • Debian Linux 5.0 S/390
  • Debian Linux 5.0 Sparc
  • Fedoraproject Fedora 10
  • Fedoraproject Fedora 9
  • Gentoo Linux
  • Mandriva Corporate Server 4.0
  • Mandriva Corporate Server 4.0.0 X86 64
  • SuSE openSUSE 10.3
  • SuSE openSUSE 11.0
  • phpMyAdmin phpMyAdmin 2.11.1
  • phpMyAdmin phpMyAdmin 2.11.1.1
  • phpMyAdmin phpMyAdmin 2.11.1.2
  • phpMyAdmin phpMyAdmin 2.11.2.1
  • phpMyAdmin phpMyAdmin 2.11.2.2
  • phpMyAdmin phpMyAdmin 2.11.4
  • phpMyAdmin phpMyAdmin 2.11.5
  • phpMyAdmin phpMyAdmin 2.11.5.1
  • phpMyAdmin phpMyAdmin 2.11.5.2
  • phpMyAdmin phpMyAdmin 2.11.7
  • phpMyAdmin phpMyAdmin 2.11.8
  • phpMyAdmin phpMyAdmin 2.11.8.1
  • phpMyAdmin phpMyAdmin 2.11.9 .1
  • phpMyAdmin phpMyAdmin 2.11.9 4
  • phpMyAdmin phpMyAdmin 2.11.9
  • phpMyAdmin phpMyAdmin 2.11.9.2
  • phpMyAdmin phpMyAdmin 2.11.9.3
  • phpMyAdmin phpMyAdmin 2.2.3
  • phpMyAdmin phpMyAdmin 2.2.6
  • phpMyAdmin phpMyAdmin 2.5.1
  • phpMyAdmin phpMyAdmin 2.5.4
  • phpMyAdmin phpMyAdmin 2.5.5 -Rc1
  • phpMyAdmin phpMyAdmin 2.5.5 -Rc2
  • phpMyAdmin phpMyAdmin 2.5.5
  • phpMyAdmin phpMyAdmin 2.5.5 Pl1
  • phpMyAdmin phpMyAdmin 2.5.6 -Rc1
  • phpMyAdmin phpMyAdmin 2.5.7
  • phpMyAdmin phpMyAdmin 2.6.0 .0Pl1
  • phpMyAdmin phpMyAdmin 2.6.0 .0Pl2
  • phpMyAdmin phpMyAdmin 2.6.0 .0Pl3
  • phpMyAdmin phpMyAdmin 2.6.0
  • phpMyAdmin phpMyAdmin 2.6.1 -Rc1
  • phpMyAdmin phpMyAdmin 2.6.1
  • phpMyAdmin phpMyAdmin 2.6.1 Pl1
  • phpMyAdmin phpMyAdmin 2.6.1 Pl3
  • phpMyAdmin phpMyAdmin 2.6.2 -Rc1
  • phpMyAdmin phpMyAdmin 2.6.2
  • phpMyAdmin phpMyAdmin 2.6.3 -Pl1
  • phpMyAdmin phpMyAdmin 2.6.4 -Pl1
  • phpMyAdmin phpMyAdmin 2.6.4 -Pl3
  • phpMyAdmin phpMyAdmin 2.6.4 -Pl4
  • phpMyAdmin phpMyAdmin 2.6.4 -Rc1
  • phpMyAdmin phpMyAdmin 2.7.0 -Pl1
  • phpMyAdmin phpMyAdmin 2.7.0 .0-Beta1
  • phpMyAdmin phpMyAdmin 2.7.0
  • phpMyAdmin phpMyAdmin 2.7.0-Pl2
  • phpMyAdmin phpMyAdmin 2.8.0 .1
  • phpMyAdmin phpMyAdmin 2.8.0 .3
  • phpMyAdmin phpMyAdmin 2.8.0 .4
  • phpMyAdmin phpMyAdmin 2.8.1
  • phpMyAdmin phpMyAdmin 2.8.2
  • phpMyAdmin phpMyAdmin 3.0.0
  • phpMyAdmin phpMyAdmin 3.0.1
  • phpMyAdmin phpMyAdmin 3.0.1.1
  • phpMyAdmin phpMyAdmin 3.1.1 0

Recommendations

Block external access at the network boundary, unless external parties require service.
If global access isn't needed, filter access to the affected computer at the network boundary. Restricting access to only trusted computers and networks might greatly reduce the likelihood of a successful exploit.

Deploy network intrusion detection systems to monitor network traffic for malicious activity.
Deploy NIDS to detect and block attacks and anomalous activity such as requests containing suspicious URI sequences. Since the webserver may log such requests, review its logs regularly.

Run all software as a nonprivileged user with minimal access rights.
To limit the consequences of a successful exploit, run server processes within a restricted environment using facilities such as chroot or jail.

Vendor updates are available. Please see the references for more information.