Website problem - Undefined index: HTTP_REFERER eval()'d code on line 147

Discussion regarding Joomla! 3.x security issues.

Moderators: mandville, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant / FPA - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
markmxz
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Nov 16, 2020 5:50 pm

Website problem - Undefined index: HTTP_REFERER eval()'d code on line 147

Post by markmxz » Mon Nov 16, 2020 5:55 pm

Hey everyone!

Recently my website just stopped working. At around 13:00 it was all fine then 2 hours later or so i have the following error messages:

Notice: Undefined index: HTTP_REFERER in /var/www/bkkvszi/data/www/bkkvszi.hu/index.php(2) : eval()'d code(1) : eval()'d code on line 147

Warning: require(/var/www/bkkvszi/data/www/bkkvszi.hu/wp-blog-header.php): failed to open stream: No such file or directory in /var/www/bkkvszi/data/www/bkkvszi.hu/index.php(2) : eval()'d code(1) : eval()'d code on line 151

Fatal error: require(): Failed opening required '/var/www/bkkvszi/data/www/bkkvszi.hu/wp-blog-header.php' (include_path='.:/opt/alt/php73/usr/share/pear') in /var/www/bkkvszi/data/www/bkkvszi.hu/index.php(2) : eval()'d code(1) : eval()'d code on line 151

I checked every file so far and I just cannot solve it myself.
I didn't do any upgrades or anything at all it just stopped working.
Did the site get hacked by any chance?

PHP 7.3.21, Joomla 3.9.22 versions

I'd be really really glad if somebody could help!

Mark
Last edited by toivo on Mon Nov 16, 2020 6:35 pm, edited 1 time in total.
Reason: mod note: moved from 3.x Administration

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17516
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Website problem - Undefined index: HTTP_REFERER eval()'d code on line 147

Post by toivo » Mon Nov 16, 2020 6:43 pm

It looks like the website was hacked. Joomla does not have any file called wp-blog-header.php. Hack code often includes eval() function calls to hide the malicious code.

Study the sticky topics in this forum how to clean the website and follow best security practice. There are also online services that audit the Joomla software.
Toivo Talikka, Global Moderator

markmxz
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Nov 16, 2020 5:50 pm

Re: Website problem - Undefined index: HTTP_REFERER eval()'d code on line 147

Post by markmxz » Mon Nov 16, 2020 6:53 pm

Yes confirmed sadly it has been hacked by some [redacted] guy.
Found some comments in some files.

I'll check the forum as you've just mentioned not really sure tho how will i set everything back to its place.

Thank you for the reply tho!
Last edited by mandville on Tue Nov 17, 2020 12:52 am, edited 1 time in total.
Reason: redacted assumed nationality

User avatar
Rondeb
Joomla! Guru
Joomla! Guru
Posts: 623
Joined: Mon Dec 02, 2013 12:14 pm
Location: Meschede - Germany
Contact:

Re: Website problem - Undefined index: HTTP_REFERER eval()'d code on line 147

Post by Rondeb » Mon Nov 16, 2020 6:59 pm

Good evening,

do you have a backup if so, maybe restore it and then see if those files are clean.

Your limit has also been reached, so your hosting has taken your site offline.

Greatings Ron


Locked

Return to “Security in Joomla! 3.x”