OJS 3.4.0.8. After the last submission (before, we had no problems) I get the following error popup: An unexpected error has occurred. Please reload the page and try again.
It looks like your OJS was hacked to promote a spammer. I’d recommend checking over the usual suspects…
Update your OJS to the latest build (currently 3.4.0-10)
Make sure the files_dir is not publicly accessible
Change any admin or manager passwords (and don’t use weak passwords)
Double-check that there is nothing unexpected in the installation – for example, we sometimes see older installs that have a 3rd party plugin installed.
It’s best to treat your installation directory as untrustworthy and only move things into it that you’ve reviewed.
Regards,
Alec Smecher
Public Knowledge Project Team
How can I recognize this king of plugins? Should I check just the installed plugin or also the ones in the gallery?
I guess I should change FTP passwords too. file_dir is not publicly accessible. I wonder if it is possible to modify files in root folder with an hacked OJS account.
Any plugins running in the system are installed in plugins/, so if you follow the course I recommended above (treat anything in the installation as untrustworthy, only bring across what you need and have checked over) then you shouldn’t bring any unexpected plugins into the clean installation either. If you’re not sure what plugins you were running, you can compare a listing of the contents of plugins/* between the old and new installations; then install any plugins you need into the new installation using the Plugin Gallery.
Regards,
Alec Smecher
Public Knowledge Project Team