phpMyAdmin is a popular web-based MySQL administration tool written in PHP. It allows users to browse and administer a MySQL database from a web-browser. Transformations are a phpMyAdmin feature allowing plug-ins to rewrite the contents of any column seen in phpMyAdmin's Browsing mode, including using insertion of PHP or JavaScript code.
A defect was found in phpMyAdmin's MIME-based transformation system, when used with "external" transformations.
A remote attacker could exploit this vulnerability to execute arbitrary commands on the server with the rights of the HTTP server user.
Enabling PHP safe mode ("safe_mode = On" in php.ini) may serve as a temporary workaround.
All phpMyAdmin users should upgrade to the latest version:
# emerge sync
# emerge -pv ">=dev-db/phpmyadmin-2.6.0_p2"
# emerge ">=dev-db/phpmyadmin-2.6.0_p2"