CVE-2024-58348
Deferred Deferred - Pending Action
Remote Code Execution in WordPress Background Image Cropper

Publication date: 2026-06-08

Last updated on: 2026-06-08

Assigner: VulnCheck

Description
WordPress Background Image Cropper version 1.2 contains a remote code execution vulnerability that allows unauthenticated attackers to upload arbitrary files by accessing the ups.php endpoint. Attackers can upload PHP files through the file upload form in the plugin directory to execute arbitrary code on the server.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-08
Last Modified
2026-06-08
Generated
2026-06-08
AI Q&A
2026-06-08
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The WordPress Background Image Cropper plugin version 1.2 contains a critical remote code execution vulnerability. This flaw allows unauthenticated attackers to upload arbitrary files, including malicious PHP files, by exploiting the ups.php endpoint in the plugin directory. Once uploaded, these PHP files can be executed on the server, enabling attackers to run arbitrary code remotely.

This vulnerability is classified under CWE-434, which refers to the unrestricted upload of files with dangerous types, making it a severe security risk.

Impact Analysis

This vulnerability can have a severe impact as it allows attackers to execute arbitrary code on the affected server without any authentication. This means an attacker can potentially take full control of the server, leading to data theft, server manipulation, installation of backdoors, or further attacks within the network.

Because the exploit involves uploading malicious PHP files, it can result in complete server compromise, making the affected system highly vulnerable to persistent threats.

Detection Guidance

This vulnerability can be detected by checking for the presence of the vulnerable ups.php endpoint in the Background Image Cropper plugin directory on your WordPress installation.

One practical method is to scan your web server for the file path /wp-content/plugins/background-image-cropper/ups.php to see if it exists and is accessible.

Additionally, monitoring for unexpected file uploads, especially PHP files, through this endpoint can indicate exploitation attempts.

A command example using curl to check the endpoint might be:

  • curl -I http://your-wordpress-site.com/wp-content/plugins/background-image-cropper/ups.php

If the response is HTTP 200 OK, the endpoint exists and may be vulnerable.

For more comprehensive detection, the exploit script from ExploitDB (Resource 3) uses multithreaded scanning to test multiple targets and attempts to upload a PHP shell to confirm vulnerability.

Mitigation Strategies

The immediate mitigation step is to remove or disable the Background Image Cropper plugin version 1.2 from your WordPress installation, as it contains the vulnerable ups.php endpoint.

Since the plugin was permanently closed and is no longer maintained or available for download, updating it is not an option.

Ensure that no unauthorized PHP files have been uploaded via the ups.php endpoint by scanning your plugin directory and web server for suspicious files.

Restrict or block access to the ups.php file or the entire plugin directory at the web server level if removal is not immediately possible.

Implement web application firewall (WAF) rules to detect and block attempts to upload files through this endpoint.

Finally, review your server logs for any signs of exploitation and consider restoring from backups if compromise is detected.

Compliance Impact

The vulnerability in the WordPress Background Image Cropper plugin allows unauthenticated attackers to upload arbitrary files, including malicious PHP scripts, leading to remote code execution and potential full server compromise.

Such a severe security flaw can lead to unauthorized access to sensitive data, disruption of services, and potential data breaches.

These outcomes can negatively impact compliance with common standards and regulations like GDPR and HIPAA, which require protection of personal and sensitive data, secure system integrity, and timely breach notification.

Failure to address this vulnerability could result in violations of these regulations due to compromised confidentiality, integrity, and availability of data.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2024-58348. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart