Arabic characters appeared in the site footer

Site version: OJS

We have one site that had strange arabic characters that appeared in the footer. None of our staff worked on the site from the back end of the site in months, so it was weird that it suddenly appeared. Once we googled " OJS ساخت " we realized our site was not the only site that had this strange font in it.

In the end we found there was code placed in ./templates/common/footer.tpl and we just removed the

that was inserted. We still do not know how it got there but we managed to remove it.

Hope this helps someone.

Hi @Daniel

Your OJS version install is a kind of old, please consider upgrade to most recent OJS version or apply the patches recommended in this URL:

OJS 2.x has a current stable release from march 15, 2017 and it’s 2.4.8-2 version, which you are able to download from same URL above.

Israel Cefrin
Public Knowledge Project Team

Hi @Daniel,

One further note to add to what @israel.cefrin said – since it sounds like your site has been attacked, I would strongly suggest auditing everything you have there before you consider it trustworthy. Standard tools like diff can help to identify unexpected modifications or added code.

Alec Smecher
Public Knowledge Project Team

1 Like