Tuesday, April 1, 2025
HomeCyber Attack5,000 WordPress Sites Hacked in New WP3.XYZ Malware Attack

5,000 WordPress Sites Hacked in New WP3.XYZ Malware Attack

Published on

SIEM as a Service

Follow Us on Google News

Widespread malware campaigns detected by side crawlers exploit vulnerabilities on multiple websites where the intrusion method remains under investigation, with no common entry point identified. 

A malicious script creates unauthorized administrator accounts with the credentials ‘wpx_admin’ and a hardcoded password.

Subsequently, it downloads and activates a malicious WordPress plugin, compromising the website and enabling the exfiltration of sensitive data to a remote server.”

The `createUser` function attempts to create a new user with the username “wpx_admin” and a hardcoded password within a WordPress environment. 

It first retrieves the CSRF token from the user creation page, and then it constructs a POST request with the user credentials and the CSRF token. The function logs the success or failure of the user creation operation.

Investigate Real-World Malicious Links & Phishing Attacks With Threat Intelligence Lookup - Try for Free

It downloads a plugin from a remote server activates it on the compromised website and then exfiltrates sensitive information, including admin credentials and operation logs, by sending them to another server via obfuscated image requests. 

By leveraging JSON to structure, it exfiltrated data and included additional information such as the victim’s website URL, timestamp, and user agent for better identification. 

In case the initial transmission attempt fails, the script implements a backoff retry mechanism to ensure successful exfiltration.

The attacker exploits admin access to upload a malicious plugin. First, the script retrieves the CSRF token from the WordPress plugin upload page. Subsequently, it downloads the malicious plugin file from a remote server. 

According to C/Side, using the acquired CSRF token, the script submits the downloaded malicious plugin file to the WordPress site for installation effectively compromises the website.

The script fetches a plugin from an external source and injects it into the victim’s website via a POST request to the `/wp-admin/update.php?action=upload-plugin` endpoint. To bypass security measures, the script retrieves a security token from the victim’s website using an initial GET request.

It fetches the website’s HTML content using the fetch API with credentials set to ‘include’ to access session cookies and then checks the fetched content for the presence of a string ‘wp3.xyz’ which indicates a malicious plugin installation. 

If found, a success message with a ‘Payload verified’ message is sent using the sendLog function. Otherwise, a failure message with a ‘Payload not found’ message is sent. 

The assumption that the malicious plugin injects a reference to its control server ‘wp3.xyz’ into the content of the website is the foundation upon which this verification technique is supported.

An attack was mitigated by blocking the malicious domain https://wp3[.]xyz on firewalls and auditing WordPress admin accounts for unauthorized users while suspicious plugins were removed and existing ones were validated. 

Gurubaran
Gurubaran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Latest articles

Massive 400GB X (Twitter) Data Leaked – 2.8 Billion Records Exposed

A colossal 400GB trove containing data from 2.873 billion X (formerly Twitter) users has...

PortSwigger Launches Burp AI to Enhance Penetration Testing with AI

PortSwigger, the makers of Burp Suite, has taken a giant leap forward in the...

Chord Specialty Dental Partners Data Breach Exposes Customer Personal Data

Chord Specialty Dental Partners is under scrutiny after revealing a data breach that compromised...

Kentico Xperience CMS XSS Vulnerability Allows Remote Code Execution

Kentico Xperience CMS, a widely used platform designed for enterprises and organizations, is under...

Supply Chain Attack Prevention

Free Webinar - Supply Chain Attack Prevention

Recent attacks like Polyfill[.]io show how compromised third-party components become backdoors for hackers. PCI DSS 4.0’s Requirement 6.4.3 mandates stricter browser script controls, while Requirement 12.8 focuses on securing third-party providers.

Join Vivekanand Gopalan (VP of Products – Indusface) and Phani Deepak Akella (VP of Marketing – Indusface) as they break down these compliance requirements and share strategies to protect your applications from supply chain attacks.

Discussion points

Meeting PCI DSS 4.0 mandates.
Blocking malicious components and unauthorized JavaScript execution.
PIdentifying attack surfaces from third-party dependencies.
Preventing man-in-the-browser attacks with proactive monitoring.

More like this

Massive 400GB X (Twitter) Data Leaked – 2.8 Billion Records Exposed

A colossal 400GB trove containing data from 2.873 billion X (formerly Twitter) users has...

PortSwigger Launches Burp AI to Enhance Penetration Testing with AI

PortSwigger, the makers of Burp Suite, has taken a giant leap forward in the...

Chord Specialty Dental Partners Data Breach Exposes Customer Personal Data

Chord Specialty Dental Partners is under scrutiny after revealing a data breach that compromised...