New research revealed that more than 5,000 WordPress websites are running along with keylogger and also it’s trying to running crypto-miner in the browser while browsing the infected website.
Recent days WordPress websites displaying unwanted banners at the bottom of the page which appears 15 seconds after browsing the website due to injecting the Cloudflare[.]solutions Scripts in function.php. that does not belong to Cloudflare.
It used to load this malicious script every time admin pannel logged in both front end and backend.
In this case, the second script contains cors.js which is injected in an encoded format and once it decoded we can see that there are a two cdnjs.cloudflare.comURLs with long hexadecimal parameters:
A domain name seems to be original Cloudfare URL but when we come down analyzing the https://cdnjs.cloudflare.com/ajax/libs/linter/linter.js ,it contains linterkey variables.
Further, analyze revealed that linter.js contains a real Payload in hexadecimal numbers after the question mark in the URLs.
According to sucuri, This script adds a handler to every input field on the websites to send its value to the attacker (wss://cloudflare[.]solutions:8085/) when a user leaves that field.
This Payload has capable of performing the keylogging activities each and every time admin logging on their WordPress website.
The worst part is if this flow has successfully executed in e-commerce based WordPress website then the hacker can able to access the payment related information.