phpMyAdmin Remote PHP Code injection Vulnerability _php Tutorial

Source: Internet
Author: User
Procedures involved:
PhpMyAdmin
Describe:
phpMyAdmin Remote PHP Code injection Vulnerability

With:
phpMyAdmin is a free tool that provides a WWW management interface for managing MySQL.
phpMyAdmin There is a PHP code injection problem, remote attackers can use this eval () function to execute arbitrary PHP commands.
However, this vulnerability is only useful if the $cfg[' leftframelight '] variable (config.inc.php file) is set to false.
phpMyAdmin stores multiple server configurations in ($cfg [' Servers '] [$i]) array variables, which are included in the config.inc.php file, including the host, port, user, password, authentication type, and so on, but because $cfg[' Servers ' [$i] did not initialize, allowing the remote user to increase the configuration of the server through the Get function, such as submitting the following request to increase the configuration:
http://target/phpmyadmin-2.5.7/left.php?server=4&cfg[servers][host]=202.81.x.x&cfg[servers][port]=8888 &cfg[servers][user]=alice.
While the $eval_string string in the eval () function allows PHP code execution, an attacker could increase the server configuration and submit a specially constructed table name, which could lead to the execution of the contained malicious PHP code.
Affected Systems:
PhpMyAdmin PhpMyAdmin 2.5.7

Attack Method:
No valid attack code at this stage

Solution:
Currently the manufacturer has not provided a patch or upgrade program, we recommend users of this software to follow the manufacturer's homepage to get the latest version:
Http://www.phpmyadmin.net

http://www.bkjia.com/PHPjc/629810.html www.bkjia.com true http://www.bkjia.com/PHPjc/629810.html techarticle Related programs: PhpMyAdmin description: PhpMyAdmin remote PHP Code injection Vulnerability nbsp; verbose: PhpMyAdmin is a free tool that provides a WWW management interface for managing MySQL. Phpmyadm ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.