Cyber Security News

New Skimmer Malware Hijacking WordPress Websites to Steal Credit Cards

A sophisticated credit card skimmer malware had been found hitting WordPress checkout pages, silently injecting malicious JavaScript into database records to obtain sensitive payment details. 

Attackers may utilize existing payment fields or inject a fake credit card form to steal payment information covertly and undetected.

Targets WordPress Checkout Pages via Database Injection

Sucuri claims that the malicious code was inserted into the WordPress database within the wp_options table. The malware evades detection by popular file-scanning tools by inserting itself into the database instead of theme files or plugins. This enables it to continue covertly on WordPress websites that have been compromised.

Using the WordPress admin panel (wp-admin > widgets), the malicious JavaScript was discovered to have been injected into the HTML block widget.

Investigate Real-World Malicious Links, Malware & Phishing Attacks With ANY.RUN – Try for Free

The script first determines whether the page URL contains “checkout,” excluding “cart.” This implies that the malware does not begin until consumers are prepared to enter their payment information.

Script checks if the page URL contains “checkout”

“It dynamically creates a fake payment form that mimics legitimate payment processors (e.g., Stripe). The form includes fields for credit card number, expiration date, CVV, and billing information”, researchers said.

“If a legitimate payment form is already on the page, the script captures data entered into these fields in real time.”.

This method ensures that users give the attacker their sensitive payment information without realizing it.

Malware captures the information

The malware combines AES-CBC encryption with Base64 encoding to conceal the stolen data. This makes the data appear harmless while in transit and makes analysis challenging.

After being encrypted, the stolen data is transmitted to a server under the control of the remote attacker. The information gathered is sent to domains such as valhafather[.]xyz and fqbe23[.]xyz.

To Remove The Malware

Examine Custom HTML Widgets

  • Log into your WordPress admin panel.
  • Navigate to wp-admin > Appearance > Widgets.
  • Check all Custom HTML block widgets for suspicious or unfamiliar <script> tags.

In November 2024, researchers reported credit card skimmer malware targeting Magento-powered eCommerce websites.

The skimmer used sophisticated obfuscation techniques to evade detection of the infection, which was a combination of filesystem and database malware.

It is, therefore, advised that you deploy the most recent security updates and update your website on a regular basis. Alternatively, virtual patching can be implemented using a web application firewall (WAF).

To stop attackers from getting to your server, use Web Application Firewall, file integrity monitoring, and two-factor authentication.

Find this News Interesting! Follow us on Google NewsLinkedIn, and X to Get Instant Updates!

Guru Baran

Gurubaran KS is a cybersecurity analyst, and Journalist with a strong focus on emerging threats and digital defense strategies. He is the Co-Founder and Editor-in-Chief of Cyber Security News, where he leads editorial coverage on global cybersecurity developments.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

4 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

4 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

5 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

6 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

6 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

7 hours ago