HTTP Error 500, non-Joomla files and encrypted scripts Topic is solved

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.
jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

HTTP Error 500, non-Joomla files and encrypted scripts

Post by jekim16 » Tue Nov 03, 2020 11:40 am

Our website suddenly experienced HTTP Error 500. Even our administrator page experienced it. Fortunately, the cPanel was still working. I imported the existing Joomla application to our website making our administrator page accessible again. The files/data inside our administrator page still exists, but our website is still experiencing HTTP Error 500. I checked our file manager in Cpanel, and it says that config.php, db.php, submitticket.php, and wp-config.php is not existing anymore. Btw, it is located in public_html. I also tried disabling the plugins by renaming it. And our website showed Class 'SunFwSite' not found.

I also tried to backup our website using akeeba, and it gave me Warnings about files not existing anymore. Most files are from
F0xAutoConfig
folder.

I don't know what to do. I don't want to meddle with it for the reason that it may go worst.
Last edited by toivo on Mon Nov 09, 2020 8:37 am, edited 1 time in total.
Reason: mod note: moved from 3.x General Questions, retitled

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

Re: HTTP Error 500

Post by Rondeb » Tue Nov 03, 2020 12:30 pm

jekim16 wrote: Tue Nov 03, 2020 11:40 amI checked our file manager in Cpanel, and it says that config.php, db.php, submitticket.php, and wp-config.php is not existing any.
Strange that your cpanel say that Wordpress files not existing anymore.... Are you sure you have joomla site? ;)
jekim16 wrote: Tue Nov 03, 2020 11:40 amAnd our website showed Class 'SunFwSite' not found.
This error say that you have joomlashine.com template and then the question is is your template still installed correctly?

Use a joomla standard template to see if the site is working again.

Greatings Ron :)

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Re: HTTP Error 500

Post by jekim16 » Tue Nov 03, 2020 12:43 pm

Rondeb wrote: Tue Nov 03, 2020 12:30 pm
jekim16 wrote: Tue Nov 03, 2020 11:40 amI checked our file manager in Cpanel, and it says that config.php, db.php, submitticket.php, and wp-config.php is not existing any.
Strange that your cpanel say that Wordpress files not existing anymore.... Are you sure you have joomla site? ;)
jekim16 wrote: Tue Nov 03, 2020 11:40 amAnd our website showed Class 'SunFwSite' not found.
This error say that you have joomlashine.com template and then the question is is your template still installed correctly?

Use a joomla standard template to see if the site is working again.

Greatings Ron :)
I was confused too if our website is created with joomla or wordpress. But we are currently using a joomla for our administrator. I also asked the developer of what he used to create our website, and he answered Joomla. Will using standard template affect our website in any way?

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Re: HTTP Error 500

Post by jekim16 » Tue Nov 03, 2020 1:01 pm

Rondeb wrote: Tue Nov 03, 2020 12:30 pm
jekim16 wrote: Tue Nov 03, 2020 11:40 amI checked our file manager in Cpanel, and it says that config.php, db.php, submitticket.php, and wp-config.php is not existing any.
Strange that your cpanel say that Wordpress files not existing anymore.... Are you sure you have joomla site? ;)
jekim16 wrote: Tue Nov 03, 2020 11:40 amAnd our website showed Class 'SunFwSite' not found.
This error say that you have joomlashine.com template and then the question is is your template still installed correctly?

Use a joomla standard template to see if the site is working again.

Greatings Ron :)
The other templates actually works. I guess the template our website is using is not installed correctly anymore. Any suggestions as to how I can reinstall the same template?

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

Re: HTTP Error 500

Post by Rondeb » Tue Nov 03, 2020 1:54 pm

jekim16 wrote: Tue Nov 03, 2020 1:01 pmThe other templates actually works. I guess the template our website is using is not installed correctly anymore. Any suggestions as to how I can reinstall the same template?
Hello,

you can reinstall the template only the problem is when you have customised they template this can be lost!

Which template do you use?

Greatings Ron :)

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Re: HTTP Error 500

Post by jekim16 » Tue Nov 03, 2020 3:04 pm

Rondeb wrote: Tue Nov 03, 2020 1:54 pm
jekim16 wrote: Tue Nov 03, 2020 1:01 pmThe other templates actually works. I guess the template our website is using is not installed correctly anymore. Any suggestions as to how I can reinstall the same template?
Hello,

you can reinstall the template only the problem is when you have customised they template this can be lost!

Which template do you use?

Greatings Ron :)
I just found out that my license PRO to the theme has already expired. Is there a chance that the expired license is what is causing the error and the lost of files?

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

Re: HTTP Error 500

Post by Rondeb » Tue Nov 03, 2020 3:23 pm

No a expired license does not cause this problem ;) You have no longer updates and support from joomlashine.

Has your hosting not made backups?

Greatings Ron

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Re: HTTP Error 500

Post by jekim16 » Tue Nov 03, 2020 3:37 pm

Rondeb wrote: Tue Nov 03, 2020 3:23 pm No a expired license does not cause this problem ;) You have no longer updates and support from joomlashine.

Has your hosting not made backups?

Greatings Ron
I thought so too, since the subdomain of my website still works. And it uses the same theme. I do have a backup. I've been wanting to restore it to its previous version, but the problem is, I'm hesitant to lose the current data we've uploaded to it.

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

Re: HTTP Error 500

Post by Rondeb » Tue Nov 03, 2020 3:42 pm

If it is an old backup, yes then the adjustments are gone.

Can you still open the template in the backend or does that also give errors?

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Re: HTTP Error 500

Post by jekim16 » Tue Nov 03, 2020 3:53 pm

Rondeb wrote: Tue Nov 03, 2020 3:42 pm If it is an old backup, yes then the adjustments are gone.

Can you still open the template in the backend or does that also give errors?
It gives errors. Though, the theme also exists in another folder. In the subdomain folder. And the subdomain works just fine.

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

Re: HTTP Error 500

Post by Rondeb » Tue Nov 03, 2020 4:12 pm

You can put a copy of the template folder of the subdomain in maindomain folder.

Rename the old folder in maindomain but do not delete it !!

If this doesn't work then it is a setting in the database.

Greatings Ron :)

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: HTTP Error 500

Post by sozzled » Tue Nov 03, 2020 5:35 pm

See also the general guidelines for working through HTTP 500 Internal Server Error problems at viewtopic.php?f=706&t=976319

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44175
Joined: Sat Apr 05, 2008 9:58 pm

Re: HTTP Error 500

Post by Webdongle » Tue Nov 03, 2020 6:37 pm

http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Re: HTTP Error 500

Post by jekim16 » Wed Nov 04, 2020 2:15 am

sozzled wrote: Tue Nov 03, 2020 5:35 pm See also the general guidelines for working through HTTP 500 Internal Server Error problems at viewtopic.php?f=706&t=976319
I tried following the steps with the link that you've sent. And I ended up seeing the error "Warning: require_once(/home/[ redacted ]/public_html/modules/mod_news_pro_gk5/helper.php): failed to open stream: No such file or directory in /home/[ redacted ]/public_html/modules/mod_news_pro_gk5/mod_news_pro_gk5.php on line 17". The problem is, the template of our website is pre-built. We used JSN Time 2 from Joomlashine.com. And there are already files that can not be used in our file manager anymore, but are still existing in it.
Last edited by toivo on Mon Nov 23, 2020 4:58 am, edited 1 time in total.
Reason: mod note: path broken

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Re: HTTP Error 500

Post by jekim16 » Wed Nov 04, 2020 7:00 am

Rondeb wrote: Tue Nov 03, 2020 4:12 pm You can put a copy of the template folder of the subdomain in maindomain folder.

Rename the old folder in maindomain but do not delete it !!

If this doesn't work then it is a setting in the database.

Greatings Ron :)
Our website is now up and running again. I copied each of the helper.php of our subdomain that was missing from our main domain since it was the error that kept appearing after I activated the debug system from our admin page. Thank you for the help sir!

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Re: HTTP Error 500

Post by jekim16 » Mon Nov 09, 2020 2:50 am

Webdongle wrote: Tue Nov 03, 2020 6:37 pm https://forumpostassistant.github.io/docs/ please
[ redacted ]
Last edited by toivo on Mon Nov 23, 2020 4:53 am, edited 2 times in total.
Reason: mod note: FPA results removed on request

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Failed opening 'anti10.php' for inclusion

Post by jekim16 » Mon Nov 09, 2020 3:28 am

[ redacted ]

Our website is working. But still in FPA, it still says that I am receiving an error. And I don't really know what this anti10.php is.
Last edited by toivo on Mon Nov 23, 2020 4:55 am, edited 2 times in total.
Reason: mod note: FPA results removed on request

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: HTTP Error 500

Post by sozzled » Mon Nov 09, 2020 4:29 am

jekim16 wrote: Mon Nov 09, 2020 2:50 am
Forum Post Assistant (v1.6.1) : 9-Nov-2020 wrote:
Last PHP Error(s) Reported :: wrote:[09-Nov-2020 02:46:29 UTC] PHP Warning: include(): Failed opening 'anti10.php' for inclusion (include_path='.:/opt/alt/php73/usr/share/pear') in /home/[ redacted ]/public_html/indeeex.php(4) : eval()'d code(1) : eval()'d code on line 19
Suspect the website may have been hacked or, at the very least, attempts have been made to hack the site.
Last edited by toivo on Mon Nov 23, 2020 4:59 am, edited 1 time in total.
Reason: mod note: path broken

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Failed opening 'anti10.php' for inclusion

Post by sozzled » Mon Nov 09, 2020 4:35 am

Apologies. I commented on this matter at viewtopic.php?f=706&t=982827#p3617817

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Re: HTTP Error 500

Post by jekim16 » Mon Nov 09, 2020 4:48 am

sozzled wrote: Mon Nov 09, 2020 4:29 am
jekim16 wrote: Mon Nov 09, 2020 2:50 am
Forum Post Assistant (v1.6.1) : 9-Nov-2020 wrote:
Suspect the website may have been hacked or, at the very least, attempts have been made to hack the site.
Thank you for your answer. Any suggestions on what I should do?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44175
Joined: Sat Apr 05, 2008 9:58 pm

Re: HTTP Error 500

Post by Webdongle » Mon Nov 09, 2020 6:37 am

What does the file contain?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Re: HTTP Error 500

Post by jekim16 » Mon Nov 09, 2020 7:18 am

Webdongle wrote: Mon Nov 09, 2020 6:37 am What does the file contain?
I actually don't have an "anti10.php" file.

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Re: HTTP Error 500

Post by jekim16 » Mon Nov 09, 2020 7:23 am

Webdongle wrote: Mon Nov 09, 2020 6:37 am What does the file contain?
Also, there are files existing in my file manager that might be the same with the anti10.php since it also has an "anti" to its file name which has this inside:

<?php
if(strstr(strtolower($_SERVER['HTTP_USER_AGENT']), "googlebot"))
{ header('Location: https://www.[ redacted ].org/'); }
?>
Last edited by toivo on Mon Nov 09, 2020 8:25 am, edited 1 time in total.
Reason: mod note: URL broken

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Failed opening 'anti10.php' for inclusion

Post by sozzled » Mon Nov 09, 2020 7:24 am

I think the file @Webdongle is talking about is the file indeeex.php in the public_html folder. That's where I would be looking.

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Re: Failed opening 'anti10.php' for inclusion

Post by jekim16 » Mon Nov 09, 2020 7:35 am

sozzled wrote: Mon Nov 09, 2020 7:24 am I think the file @Webdongle is talking about is the file indeeex.php in the public_html folder. That's where I would be looking.
Well, the codes are encrypted, so I don't understand it. It is also a pre-coded file since it came from Joomla. I was not the one who made it.

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

Re: HTTP Error 500

Post by toivo » Mon Nov 09, 2020 8:32 am

jekim16 wrote: Mon Nov 09, 2020 7:35 am Well, the codes are encrypted, so I don't understand it. It is also a pre-coded file since it came from Joomla.
Joomla does not encrypt its scripts. The contents of that file did not originate from Joomla.

Several factors, including the URL from one of the 'anti' files above, show clearly that this website has been compromised. This topic will now be moved to the 3.x Security forum, where the sticky topics contain advice how to clean hacked sites and follow best security practice.
Toivo Talikka, Global Moderator

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Re: HTTP Error 500

Post by jekim16 » Mon Nov 09, 2020 8:46 am

toivo wrote: Mon Nov 09, 2020 8:32 am
jekim16 wrote: Mon Nov 09, 2020 7:35 am Well, the codes are encrypted, so I don't understand it. It is also a pre-coded file since it came from Joomla.
Joomla does not encrypt its scripts. The contents of that file did not originate from Joomla.

Several factors, including the URL from one of the 'anti' files above, show clearly that this website has been compromised. This topic will now be moved to the 3.x Security forum, where the sticky topics contain advice how to clean hacked sites and follow best security practice.
Thank you!

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44175
Joined: Sat Apr 05, 2008 9:58 pm

Re: HTTP Error 500, non-Joomla files and encrypted scripts

Post by Webdongle » Mon Nov 09, 2020 9:34 am

http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
mandville
Joomla! Master
Joomla! Master
Posts: 15153
Joined: Mon Mar 20, 2006 1:56 am
Location: The Girly Side of Joomla in Sussex

Re: HTTP Error 500, non-Joomla files and encrypted scripts

Post by mandville » Mon Nov 09, 2020 5:46 pm

ok from my side, i recall that those file names were popular around december last year,.
the bot that placed them no seems to be making a revisit for the shell script .
you will no doubt have lots of other files in our directory like joomlahide and joomla/zip
i wont kudos the defacer or the name some of the other distinctive files as they are named after him.

needless to say you have LOT of out of date extensions, any one of which could have enabled the hacker access
HU2HY- Poor questions = Poor answer
Un requested Help PM's will be reported, added to the foe list and possibly just deleted
portable mini golf https://www.putterspalace.co.uk/

jekim16
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Feb 04, 2020 4:42 am

Re: HTTP Error 500, non-Joomla files and encrypted scripts

Post by jekim16 » Tue Nov 10, 2020 12:31 am

mandville wrote: Mon Nov 09, 2020 5:46 pm ok from my side, i recall that those file names were popular around december last year,.
the bot that placed them no seems to be making a revisit for the shell script .
you will no doubt have lots of other files in our directory like joomlahide and joomla/zip
i wont kudos the defacer or the name some of the other distinctive files as they are named after him.

needless to say you have LOT of out of date extensions, any one of which could have enabled the hacker access
I already updated everything that can be updated. Any way that I can determine what these suspicious files are?


Locked

Return to “Security in Joomla! 3.x”