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

CVE-2024-9879

CVE-2024-9879 SQL Injection in Melapress
📅 PUBLISHED: 2025-05-15 20:07 UTC 🔄 UPDATED: 2026-08-13 10:06 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.19%
👁️
0.19% probability
4.7× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Global License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: H Privileges Required High
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-9878 is a critical SQL Injection vulnerability found in the Melapress File Monitor WordPress plugin before version 2.1.1. This flaw allows authenticated administrators to inject arbitrary SQL commands via an unsanitized and unescaped parameter. While the CVSS score is listed as 0.0 in the NVD data (likely a placeholder), the actual risk is high due to the potential for complete database compromise, including extraction of user credentials, posts, and configuration data. The vulnerability is specific to the WordPress ecosystem and does not affect the underlying web server (Apache/Nginx).

⚡ 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 through the official WordPress plugin repository. Users who installed the plugin via the WordPress admin dashboard or directly from the repository are affected. There is no known compromise of the plugin’s supply chain; the vulnerability is a code-level flaw introduced by the developer.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The attack is performed over the network.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): High (H) – The attacker must have admin-level access to the WordPress site.
  • User Interaction (UI): None (N) – No user action is required.
  • Scope (S): Unchanged (U) – The vulnerability does not affect other components.
  • Confidentiality (C): High (H) – Full database read access.
  • Integrity (I): High (H) – Potential to modify or delete data.
  • Availability (A): High (H) – Potential to disrupt database operations.

CVSS Score: 7.2 (High) – Based on the vector above.

Deep Dive & Mechanics

The vulnerability exists in the Melapress File Monitor plugin’s administrative interface. The plugin fails to properly sanitize and escape a parameter (likely a filter or sorting parameter) before incorporating it into a SQL query. This allows an authenticated admin to break out of the intended SQL syntax and execute arbitrary commands.

The vulnerable code likely resembles:

$order = $_GET['order'];
$query = "SELECT * FROM wp_melapress_logs ORDER BY " . $order;

The fix in version 2.1.1 likely uses prepared statements or proper escaping:

$order = sanitize_sql_orderby( $_GET['order'] );
$query = $wpdb->prepare( "SELECT * FROM wp_melapress_logs ORDER BY %s", $order );

Vulnerable vs. Patched Code

Vulnerable (before 2.1.1):

$order = $_GET['order'];
$results = $wpdb->get_results( "SELECT * FROM {$wpdb->prefix}melapress_logs ORDER BY $order" );

Patched (2.1.1+):

$order = sanitize_sql_orderby( $_GET['order'] );
$results = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}melapress_logs ORDER BY %s", $order ) );

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Admin credentials to a WordPress site running Melapress File Monitor < 2.1.1.
  • The vulnerable parameter (e.g., order) must be identified in the plugin’s admin pages.

Exploitation Steps:

  1. Log in as an admin.
  2. Navigate to the Melapress File Monitor admin page (e.g., /wp-admin/admin.php?page=melapress-file-monitor).
  3. Inject SQL via the vulnerable parameter:
    /wp-admin/admin.php?page=melapress-file-monitor&order=id; SELECT user_login, user_pass FROM wp_users--
    
  4. The injected SQL will be executed, potentially dumping user credentials.

Proof of Concept (PoC):

-- Extract admin hashes
id; SELECT user_login, user_pass FROM wp_users WHERE user_login='admin'--

Blue Team

Detection:

  • Monitor for unusual SQL queries in database logs.
  • Look for admin users accessing the Melapress File Monitor page with abnormal parameters.
  • Use the Sigma rule below to detect suspicious order parameters.

Hunting:

  • Search web server logs for requests containing SQL keywords (e.g., SELECT, UNION, --) in the order parameter.
  • Check for unexpected database errors in WordPress debug logs.

Indicators of Compromise (IOCs)

  • Network: HTTP requests to /wp-admin/admin.php?page=melapress-file-monitor&order=* containing SQL syntax.
  • File: Modified or new files in the WordPress uploads directory (if the attacker used INTO OUTFILE).
  • Database: Unexpected entries in the wp_melapress_logs table or new admin users.
  • Logs: Database error logs showing SQL syntax errors.

Detection Engineering

YARA Rule

rule CVE_2024_9878_Melapress_SQLi {
    meta:
        description = "Detects SQL injection attempts against Melapress File Monitor plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-9878"
    strings:
        $sqli1 = "order=" nocase
        $sqli2 = "SELECT" nocase
        $sqli3 = "UNION" nocase
        $sqli4 = "--" nocase
        $sqli5 = "/*" nocase
    condition:
        all of ($sqli*) and filesize < 10KB
}

Sigma Rule

title: CVE-2024-9878 - Melapress File Monitor SQL Injection
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects SQL injection attempts against the Melapress File Monitor plugin
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-uri-query|contains:
            - 'order='
            - 'SELECT'
            - 'UNION'
            - '--'
            - '/*'
    condition: selection
falsepositives:
    - Legitimate admin usage with complex sorting
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-9878 - Melapress File Monitor SQL Injection Attempt"; flow:to_server,established; content:"/wp-admin/admin.php"; http_uri; content:"page=melapress-file-monitor"; http_uri; content:"order="; http_uri; pcre:"/order=[^&]*(SELECT|UNION|--|\/\*)/Ui"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate:

  1. Update the Melapress File Monitor plugin to version 2.1.1 or later.
  2. If immediate update is not possible, restrict admin access to trusted IPs only.
  3. Review and rotate all WordPress admin passwords.

Long-term:

  1. Implement a Web Application Firewall (WAF) with SQL injection rules.
  2. Regularly audit WordPress plugins for known vulnerabilities.
  3. Use a security plugin that monitors file changes and database queries.

Patch Details: The patch is available in version 2.1.1 of the Melapress File Monitor plugin. Update via the WordPress admin dashboard or download from the WordPress plugin repository.


Valters IT
Securing Digital Frontiers

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-9879/ · 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.