CVE-2025-25993

5.1 MEDIUM

📋 TL;DR

This SQL injection vulnerability in FeMiner wms 1.0 allows remote attackers to extract sensitive database information by manipulating the 'itemid' parameter. Any organization using FeMiner wms 1.0 with internet-facing instances is affected, potentially exposing customer data, inventory records, or authentication credentials.

💻 Affected Systems

Products:
  • FeMiner wms
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: All installations of FeMiner wms 1.0 are vulnerable if using the affected parameter.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data exfiltration, authentication bypass, or remote code execution if database permissions allow.

🟠

Likely Case

Extraction of sensitive business data including customer information, inventory records, and potentially authentication credentials.

🟢

If Mitigated

Limited information disclosure if proper input validation and parameterized queries are implemented.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

SQL injection via 'itemid' parameter requires minimal technical skill to exploit.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://github.com/FeMiner/wms/issues/21

Restart Required: No

Instructions:

1. Check GitHub repository for security updates
2. Implement parameterized queries for all database interactions
3. Apply input validation for 'itemid' parameter

🔧 Temporary Workarounds

Web Application Firewall (WAF)

all

Deploy WAF rules to block SQL injection patterns targeting the 'itemid' parameter

Input Validation Filter

all

Implement server-side validation to ensure 'itemid' contains only expected characters

🧯 If You Can't Patch

  • Isolate the FeMiner wms instance behind a reverse proxy with strict input filtering
  • Implement network segmentation to limit database access from the application server

🔍 How to Verify

Check if Vulnerable:

Test 'itemid' parameter with SQL injection payloads like: itemid=1' OR '1'='1

Check Version:

Check application configuration or about page for version information

Verify Fix Applied:

Verify that SQL injection payloads no longer return database information or cause errors

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL error messages in application logs
  • Multiple failed parameter validation attempts

Network Indicators:

  • HTTP requests containing SQL keywords in 'itemid' parameter
  • Abnormal database query patterns

SIEM Query:

http.uri contains "itemid" AND (http.uri contains "UNION" OR http.uri contains "SELECT" OR http.uri contains "OR '1'='1")

🔗 References

📤 Share & Export