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

CVE-2024-0984

CVE-2024-0984 Supply Chain Attack in Imagerecycle
📅 PUBLISHED: 2024-02-20 18:56 UTC 🔄 UPDATED: 2026-08-12 14:53 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.33%
👁️
0.33% probability
8.3× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1562
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 4.3
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: U Scope Unchanged
C: N Confidentiality None
I: L Integrity Low
A: N Availability None
4.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-0984 is a missing authorization vulnerability in the ImageRecycle pdf & image compression plugin for WordPress. The vulnerability resides in the disableOptimization function, which lacks a proper capability check. This allows authenticated attackers with subscriber-level access or higher to disable the image optimization setting without authorization. The vulnerability affects all versions up to and including 3.1.13. The CVSS score is 4.3 (Medium), and the EPSS score is 0.0%, indicating low exploitation likelihood at this time. No public exploit code or patch details are currently available.

⚡ 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 is specific to the WordPress plugin ecosystem. The plugin is distributed via the official WordPress plugin repository. Users should verify the integrity of their plugin files and ensure they are obtained from trusted sources. No supply chain compromise has been reported.

CVSS Breakdown & Threat Level

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

Threat Level: Medium. While the impact is limited to disabling a non-critical feature, the low attack complexity and low privileges required make it a viable target for automated attacks.

Deep Dive & Mechanics

The vulnerability is a classic case of Missing Authorization (CWE-862). The disableOptimization function in the ImageRecycle plugin is intended to be accessible only to administrators or users with specific capabilities. However, the function does not perform a current_user_can() check or any other authorization verification before executing the action.

Attack Flow:

  1. An attacker authenticates to the WordPress site with subscriber-level credentials (or higher).
  2. The attacker sends a crafted POST request to the vulnerable endpoint (likely /wp-admin/admin-ajax.php with an action parameter).
  3. The disableOptimization function executes, disabling the image optimization setting.
  4. The change persists, potentially degrading site performance or increasing storage usage.

Root Cause: The developer omitted the capability check, assuming only administrators would access the function. This is a common oversight in WordPress plugin development.

Vulnerable vs. Patched Code

Vulnerable Code (<= 3.1.13):

function disableOptimization() {
    update_option('imagerecycle_disable_optimization', true);
    wp_die();
}
add_action('wp_ajax_disable_optimization', 'disableOptimization');

Patched Code (Hypothetical):

function disableOptimization() {
    if (!current_user_can('manage_options')) {
        wp_die('Unauthorized');
    }
    update_option('imagerecycle_disable_optimization', true);
    wp_die();
}
add_action('wp_ajax_disable_optimization', 'disableOptimization');

The patched version adds a current_user_can('manage_options') check, restricting the function to administrators only.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • A WordPress site with ImageRecycle plugin version <= 3.1.13.
  • Valid subscriber-level credentials (e.g., username: attacker, password: password123).

Exploitation Steps:

  1. Log in to the WordPress site as a subscriber.
  2. Obtain a valid nonce if required (check the plugin's AJAX handler).
  3. Send the following request using curl:
curl -X POST \
  -d "action=disable_optimization" \
  -c cookies.txt \
  -b cookies.txt \
  http://target.com/wp-admin/admin-ajax.php

Expected Result: The image optimization setting is disabled. Verify by checking the imagerecycle_disable_optimization option in the database.

Blue Team (Detection & Response)

Detection Steps:

  1. Monitor AJAX requests to admin-ajax.php with the action=disable_optimization parameter.
  2. Alert on requests from non-admin users (subscriber, contributor, author, editor).
  3. Check the imagerecycle_disable_optimization option in the wp_options table for unexpected changes.

Response:

  • Immediately revoke the attacker's access.
  • Re-enable the optimization setting via the admin dashboard.
  • Apply the patch or update the plugin when available.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/imagerecycle-pdf-image-compression/imagerecycle.php (or similar main plugin file)
  • Database Option: imagerecycle_disable_optimization set to 1 (true)
  • Log Entry: POST request to /wp-admin/admin-ajax.php with action=disable_optimization from a non-admin user
  • User Agent: Any standard browser or curl user agent

Detection Engineering

YARA Rule

rule CVE_2024_0984_Imagerecycle_Missing_Auth {
    meta:
        description = "Detects vulnerable ImageRecycle plugin code with missing capability check"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2024-0984"
    strings:
        $func = "function disableOptimization()" ascii wide nocase
        $ajax = "wp_ajax_disable_optimization" ascii wide nocase
        $no_check = "update_option('imagerecycle_disable_optimization'" ascii wide nocase
    condition:
        all of them
}

Sigma Rule

title: CVE-2024-0984 - ImageRecycle Plugin Missing Authorization
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects unauthorized attempts to disable image optimization via AJAX
author: Valters IT
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'action=disable_optimization'
        cs-uri-stem|endswith: '/wp-admin/admin-ajax.php'
    condition: selection
falsepositives:
    - Legitimate admin actions (rare)
level: medium

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2024-0984 - ImageRecycle Plugin Missing Authorization Attempt";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/wp-admin/admin-ajax.php"; http_uri;
    content:"action=disable_optimization"; http_client_body;
    classtype:attempted-recon;
    sid:1000001;
    rev:1;
)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin if not essential, or restrict access to the vulnerable function via a custom plugin or .htaccess rule.
  2. Monitor logs for unauthorized AJAX requests to disable_optimization.
  3. Change all user passwords if compromise is suspected.

Long-term Fix:

  • Apply the vendor patch when released.
  • Implement a Web Application Firewall (WAF) rule to block requests to admin-ajax.php with action=disable_optimization from non-admin users.
  • Conduct a code review of the plugin for similar missing authorization issues.

Workaround: Add the following code to a custom plugin or theme's functions.php to block unauthorized access:

add_action('wp_ajax_disable_optimization', function() {
    if (!current_user_can('manage_options')) {
        wp_die('Unauthorized');
    }
}, 0);

Valters IT
Securing Digital Frontiers

👁️ 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.html:"wp-content/plugins/imagerecycle-pdf-image-compression"

💣 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-0984/ · 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.