SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75!  1
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

spam on site

3 years 8 months ago #125773 by coptechs
spam on site was created by coptechs
I got an email from Google saying that it detected user-generated content on my site that was either malicious or of no value to Google search users. I went to the link and found that someone somehow inserted some code on one of my pages using the K2 user function. When I disabled K2's user plugins and modules, the spam content disappeared but I'm now left with an error message on the page that says:

JUser:_load: Unable to load user with ID: 15950

The site doesn't have user signup and there are no users other than the super admin. When I viewed the source from the page, I found some script code that doesn't look right (see attachment). Any assistance figuring this out would be greatly appreciated.

Brian

This message has an attachment file.
Please log in or register to see it.

Please Log in to join the conversation.

3 years 8 months ago #125776 by Nick
Replied by Nick on topic spam on site
Hi coptechs,

That code appears to be part of mod_finder. Strange that there are no other user accounts though.

Could you ask your host to run a security scan for you? Also, please give the following security class a look:
www.ostraining.com/class/j3-security/

Hope this helps! Let us know if you have any questions and we'll be glad to answer.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125806 by coptechs
Replied by coptechs on topic spam on site
Can you take a look at this page and tell me if you see anything suspicious in the source code?

westrockindoor.com/?option=com_k2&view=i...t&task=user&id=15950

Brian

Please Log in to join the conversation.

3 years 8 months ago #125816 by Valentin
Replied by Valentin on topic spam on site
Hi coptechs,
At first glance I don't see anything suspicious.

Please consider taking the security class above to double check your site's security.

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

3 years 8 months ago #125870 by coptechs
Replied by coptechs on topic spam on site
Ok, thank you.

Brian

Please Log in to join the conversation.

3 years 8 months ago #125873 by Nick
Replied by Nick on topic spam on site
You're very welcome, Brian! Let us know if you need anything else.

Cheers,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!