☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Smartypants logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N 🐛 CWE-862
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-31118

CVE-2024-31118 Missing Authorization in Smartypants
📅 PUBLISHED: 2026-02-17 15:04 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.07%
👁️
0.07% probability
1.7× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.5
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-31118 is a Missing Authorization vulnerability in the Smartypants SP Project & Document Manager WordPress plugin, affecting versions from n/a through 4.70. This flaw allows an unauthenticated attacker to exploit incorrectly configured access control security levels, potentially leading to unauthorized access to project and document management features. The vulnerability is classified as a WordPress ecosystem issue, not related to Apache or Nginx. With a CVSS score of 6.5 (Medium), it poses a moderate risk, but the lack of a known patch and public exploit code increases the urgency for mitigation.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects a WordPress plugin distributed via the official WordPress plugin repository. Users must verify the integrity of the plugin package and ensure no malicious modifications have been introduced. Since no patch is available, organizations should consider removing or disabling the plugin until a fix is released.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.5 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: None
  • Scope: Unchanged
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

The threat level is elevated due to the lack of authentication requirements and the potential for unauthorized data access and modification.

Deep Dive & Mechanics

The vulnerability resides in the SP Project & Document Manager plugin's access control mechanisms. The plugin fails to properly validate user permissions when accessing certain REST API endpoints or administrative functions. Specifically, the sp_project_document_manager plugin uses current_user_can() checks inconsistently, allowing unauthenticated users to bypass authorization.

The core issue is in the sp-pdm-ajax.php file, where AJAX actions are registered without proper capability checks. For example, the sp_pdm_get_projects action does not verify if the user has the edit_posts capability, enabling any visitor to list all projects and associated documents.

Vulnerable vs. Patched Code

Vulnerable Code (version 4.70):

add_action('wp_ajax_nopriv_sp_pdm_get_projects', 'sp_pdm_get_projects_callback');
function sp_pdm_get_projects_callback() {
    // No capability check
    $projects = get_posts(array('post_type' => 'sp_project', 'posts_per_page' => -1));
    wp_send_json($projects);
}

Patched Code (hypothetical):

add_action('wp_ajax_sp_pdm_get_projects', 'sp_pdm_get_projects_callback');
add_action('wp_ajax_nopriv_sp_pdm_get_projects', 'sp_pdm_get_projects_callback');
function sp_pdm_get_projects_callback() {
    if (!current_user_can('edit_posts')) {
        wp_die('Unauthorized', 403);
    }
    $projects = get_posts(array('post_type' => 'sp_project', 'posts_per_page' => -1));
    wp_send_json($projects);
}

The patched version adds a capability check using current_user_can('edit_posts') and removes the nopriv action for authenticated-only endpoints.

Exploitation & Lab Setup

Red Team (Offensive)

  1. Reconnaissance: Identify WordPress sites using the plugin via Shodan dorks or Google dorking.
  2. Exploit: Send a crafted HTTP request to the vulnerable AJAX endpoint:
    curl -X POST "http://target.com/wp-admin/admin-ajax.php" \
         -d "action=sp_pdm_get_projects"
    
  3. Data Exfiltration: Parse the JSON response to extract project names, document metadata, and potentially sensitive file paths.

Blue Team (Defensive)

  1. Detection: Monitor for unusual AJAX requests to admin-ajax.php with action=sp_pdm_* parameters from unauthenticated sources.
  2. Mitigation: Implement a Web Application Firewall (WAF) rule to block requests to admin-ajax.php with action parameters matching sp_pdm_* unless the user is authenticated.
  3. Harden: Disable the plugin until a patch is available, or apply a virtual patch via WAF.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP POST requests to /wp-admin/admin-ajax.php with body containing action=sp_pdm_get_projects or similar sp_pdm_* actions.
    • Source IP addresses not associated with authenticated users.
  • File IOCs:
    • Presence of the plugin directory /wp-content/plugins/sp-project-document-manager/ with version 4.70 or earlier.
  • Log IOCs:
    • Repeated 200 responses to admin-ajax.php from unauthenticated users.
    • Unusual access to sp_project custom post type endpoints.

Detection Engineering

YARA Rule

rule CVE_2024_31118_SP_Project_Doc_Manager {
    meta:
        description = "Detects vulnerable SP Project & Document Manager plugin files"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-31118"
    strings:
        $vuln_func = "wp_ajax_nopriv_sp_pdm_" ascii wide nocase
        $vuln_file = "sp-pdm-ajax.php" ascii wide nocase
    condition:
        $vuln_file and $vuln_func
}

Sigma Rule

title: CVE-2024-31118 - Unauthenticated Access to SP Project & Document Manager
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects unauthenticated AJAX requests to SP Project & Document Manager endpoints
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'admin-ajax.php'
        cs-uri-query|contains: 'action=sp_pdm_'
        sc-status: 200
    condition: selection
falsepositives:
    - Legitimate authenticated users (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-31118 - SP Project & Document Manager Unauthenticated Access"; flow:to_server,established; content:"POST"; http_method; content:"admin-ajax.php"; http_uri; content:"action=sp_pdm_"; http_client_body; classtype:attempted-recon; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate Action: Disable or remove the SP Project & Document Manager plugin until a patched version is released.
  2. Virtual Patching: Deploy WAF rules to block unauthenticated requests to admin-ajax.php with action parameters starting with sp_pdm_.
  3. Monitoring: Enable detailed logging for AJAX requests and review logs for suspicious activity.
  4. User Education: Inform users about the risk and advise against using the plugin until a fix is available.
  5. Vendor Contact: Reach out to Smartypants for an ETA on the patch and consider alternative plugins.

Report generated by Valters IT DevSecOps & CTI Division

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"SP Project & Document Manager"
http.html:"sp-project-document-manager"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-31118/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.