← Vulnerability feed

Vulnerability record · CVE-2021-24347 · published 14 June 2021

CVE-2021-24347: WordPress SP Project & Document Manager case-insensitive extension check allows PHP upload

Smartypantsplugins · Sp Project \& Document Manager

The SP Project & Document Manager WordPress plugin before 4.22 blocks executable uploads by checking the file extension, but the check is case-sensitive. An attacker can bypass it by changing the extension case, for example "php" to "pHP", and upload a PHP file that the server then executes. This matters because it turns a file-upload feature into remote code execution on the web server.

8.8 CVSS 3.1 High EPSS 54% · top 1.0% CWE-178 · CWE-178
8.8CVSS 3.1 base score, v2 6.5
54%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 6 tagged exploit
17 Jun 2026Last modified by NVD

Description

The SP Project & Document Manager WordPress plugin before 4.22 allows users to upload files, however, the plugin attempts to prevent php and other similar files that could be executed on the server from being uploaded by checking the file extension. It was discovered that php files could still be uploaded by changing the file extension's case, for example, from "php" to "pHP".

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

high priorityRemote code execution with low privileges, public exploit code and very high EPSS, though not confirmed in KEV.

What it is

The SP Project & Document Manager WordPress plugin before 4.22 blocks executable uploads by checking the file extension, but the check is case-sensitive. An attacker can bypass it by changing the extension case, for example "php" to "pHP", and upload a PHP file that the server then executes. This matters because it turns a file-upload feature into remote code execution on the web server.

Impact

An attacker with a low-privileged account can upload and execute arbitrary PHP, leading to full compromise of the WordPress host with high confidentiality, integrity and availability impact.

Attack surface

Reached over the network through the plugin's file upload functionality; the CVSS vector requires low privileges (PR:L) and no user interaction (UI:N). No authentication bypass is needed beyond a valid low-privileged account.

Exploitation

Not listed in CISA KEV, but public exploit references exist (Packet Storm shell upload and remote code execution write-ups, WPScan) and EPSS is 0.5408 (98.9th percentile), indicating high likelihood of exploitation.

What to do

  • Update the SP Project & Document Manager plugin to version 4.22 or later.
  • If patching is not immediately possible, disable or remove the plugin.
  • Restrict upload permissions to trusted roles and review accounts with upload capability.
  • Enforce server-side upload validation that normalizes extension case and blocks executable types.
  • Configure the web server to deny execution in upload directories.

Detection

  • Monitor upload directories for newly written files with PHP-related extensions in any case variation.
  • Alert on HTTP requests to uploaded files that return executable content or spawn server processes.
  • Review web server logs for POST requests to the plugin's upload endpoints followed by access to the uploaded path.
  • Check for unexpected PHP files in WordPress uploads and compare against known-good baselines.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-24347 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2024-24868Smartypantsplugins sp project \& document manager sql injection vulnerabilityImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Smartypants SP Project & Document Manager.This …EPSS 0.54%8.8CVE-2023-36677Smartypantsplugins sp project \& document manager sql injection vulnerabilityImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Smartypants SP Project & Document Manager allow…EPSS 0.72%8.8CVE-2023-3063Smartypantsplugins sp project \& document manager insecure direct object reference vulnerabilityThe SP Project & Document Manager plugin for WordPress is vulnerable to Insecure Direct Object References in versions up to, and including, 4.67. Thi…EPSS 0.73%8.8CVE-2021-4225Smartypantsplugins sp project \& document manager unrestricted file upload vulnerabilityThe SP Project & Document Manager WordPress plugin before 4.24 allows any authenticated users, such as subscribers, to upload files. The plugin attem…EPSS 1.7%7.5CVE-2014-9178Smartypantsplugins sp project \& document manager sql injection vulnerabilityMultiple SQL injection vulnerabilities in classes/ajax.php in the Smarty Pants Plugins SP Project & Document Manager plugin (sp-client-document-manag…EPSS 4.6%6.5CVE-2024-37224Smartypantsplugins sp project \& document manager path traversal vulnerabilityImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in smartypants SP Project & Document Manager.This issue …EPSS 0.57%6.5CVE-2024-3749Smartypantsplugins sp project \& document manager vulnerabilityThe SP Project & Document Manager WordPress plugin through 4.71 lacks proper access controllers and allows a logged in user to view and download file…EPSS 0.52%6.5CVE-2024-3748Smartypantsplugins sp project \& document manager vulnerabilityThe SP Project & Document Manager WordPress plugin through 4.71 is missing validation in its upload function, allowing a user to manipulate the `user…EPSS 0.43%

Source: NIST National Vulnerability Database (record CVE-2021-24347), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.