As these files hacked/hackers or genuine?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

As these files hacked/hackers or genuine?

Post by burlington »

A CMSMS website was hacked this week. I have sorted out most of the 'nasties', but asked the website host to run a security scan on the server to check for anything left.

The malware scan came up with 3 'hits'. These were:

./public_html/***/modules/FormBuilder/lang/ext/nb_NO.php
./public_html/***/modules/FormBuilder/lang/ext/nb_NO.php
./public_html/modules/CGExtensions/lib/htmLawed.php

These files date from, or before, May this year. I just wonder if anyone has come across these before.

Would it be safe to delete them?

Thanks

Martin
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: As these files hacked/hackers or genuine?

Post by calguy1000 »

The malware scan came up with 3 'hits'. These were:
Beware of false positive tests.

Your best solution is to re-download the modules and copy over those files from a known good source.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

Re: As these files hacked/hackers or genuine?

Post by burlington »

Thanks. That is a relief.

As part of my present worries is the strange news that my webspace (not domain name) is in now in someone else's name, In others I am no longer the account holder- after 14 years!

Odder and odder. Perhaps, when I wake up, things might be normal!
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: As these files hacked/hackers or genuine?

Post by Rolf »

To be on the safe side don't overwrite the files, but delete the whole folder and upload the new one. That in case a non-CMSMS file/script is in there...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

Re: As these files hacked/hackers or genuine?

Post by burlington »

Thank you.

The hacker left something behind! Looking at the 'source' of a page on-screen I see:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sanjungan Jiwa</title>
<link href="http://fonts.googleapis.com/css?family=VT323" rel="stylesheet" type="text/css">
<style type="text/css">
body,td,th {
color: #000;
font-family: VT323;
background-color:#030000;
}
</style>
</head>

This is the hack BUT I can't find out how to get rid of it. It is not in the template(s), stylesheets etc. It appears on all pages.

Any advice would be great please.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: As these files hacked/hackers or genuine?

Post by Jo Morg »

burlington wrote:The hacker left something behind!
There are a few topics about this on the forum already IIRC...
Check if the index.php files (there shouldn't be many) and or index.html files have not been hacked. Recent attacks to php scripts add code to these files, which in the case of the root index.php would mean that the code would end up being included on all pages.
Better yet: grab a copy of the same version of CMSMS you are using and overwrite all the files of your installation.

Recommendations:
  • - Backup everything (files and DB);
  • - remove the install folder as you won't need it;
That should take care of that too.

Further recommendations:
  • - Backup everything again;
  • - Setup frequent backups so that you have a recent clean version of the whole site to comeback to;
  • - Search and test of other CMSs for vulnerabilities (I don't believe that the hack came from a CMSMS vulnerability unless you have left the install folder there...);
  • - Change all credentials on all accounts ASAP (including CPanel or similar);
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
burlington
Power Poster
Power Poster
Posts: 444
Joined: Wed Dec 27, 2006 5:15 pm

Re: As these files hacked/hackers or genuine?

Post by burlington »

Jo. Many thanks.

You suggested I grab a copy of 1.11.12, which the site in question is being run on. However, I can't find it on the CMSMS system.

Any ideas would be welcome. Thanks.

Martin
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: As these files hacked/hackers or genuine?

Post by Jo Morg »

http://dev.cmsmadesimple.org/project/fi ... ackage-618

Somewhere down that list a bit.

I would also recommend an upgrade to at least 1.12.1 if possible. if there are any vulnerabilities in CMSMS the latest version of the branch should have solved them too.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: As these files hacked/hackers or genuine?

Post by Rolf »

Don't forget to change server passwords...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Modules/Add-Ons”