ADOdb server.php SQL command execution

adodb-server-command-execution (24051) The risk level is classified as MediumMedium Risk

Description:

ADOdb is a database connectivity library for PHP. Multiple PHP-based applications using versions of ADOdb prior to 4.70 could allow a remote attacker to execute arbitrary SQL commands on the server. If the MySQL root password is empty and the server.php script is located within the Web root, a remote attacker could send a specially-crafted URL request to the server.php script using the "sql" parameter to execute arbitrary SQL commands.

This vulnerability affects the following PHP-based applications: Mantis, PostNuke, Moodle, and Cacti.

Platforms Affected:

  • Cacti, Cacti 0.8.6g
  • Debian, Debian Linux 3.0
  • Debian, Debian Linux 3.1
  • Gentoo, Linux
  • John Lim, ADOdb prior to 4.70
  • Mantis, Mantis 0.19.4
  • Mantis, Mantis 1.0.0 rc4
  • Moodle, Moodle 1.5.3
  • PostNuke, PostNuke 0.761

Remedy:

Upgrade to the latest version of ADOdb (4.70-for-php or later), available from SourceForge.net. Se References.

For Cacti:
Upgrade to the latest version of Cacti (0.8.6.h or later), available from the Cacti Web site. See References.

For Moodle:
Upgrade to the latest version of Moodle (1.5.3+ or later), available from the Moodle Web site. See References.

For PostNuke:
Upgrade to the latest version of PostNuke (0.761a or later), available from the PostNuke Web site. See References.

For Debian GNU/Linux:
Refer to DSA-1029-1, DSA-1030-1, and DSA-1031-1 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2006-04-07 for patch, upgrade, or suggested workaround information. See References.

Consequences:

Gain Access

References:

Reported:

Jan 09, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page