CVE-2025-12287

4.7 MEDIUM

📋 TL;DR

This SQL injection vulnerability in Bdtask Wholesale Inventory Control and Inventory Management System allows attackers to manipulate database queries through the first_name/last_name parameters in the edit_profile function. Organizations using affected versions of this inventory management software are at risk of data theft, modification, or system compromise.

💻 Affected Systems

Products:
  • Bdtask Wholesale Inventory Control and Inventory Management System
Versions: Up to and including 20251013
Operating Systems: Any OS running the vulnerable software
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the /Admin_dashboard/edit_profile endpoint with first_name/last_name parameters

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to theft of sensitive business data, inventory manipulation, financial fraud, or full system takeover.

🟠

Likely Case

Unauthorized access to inventory data, customer information, or business records through SQL injection attacks.

🟢

If Mitigated

Limited impact with proper input validation, parameterized queries, and network segmentation in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploit details are publicly available in GitHub repositories, making this easily exploitable by attackers with basic SQL injection knowledge.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available

Restart Required: No

Instructions:

No official patch available. Vendor did not respond to disclosure. Consider migrating to alternative software or implementing workarounds.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement strict input validation for first_name and last_name parameters to reject SQL injection attempts

Web Application Firewall Rules

all

Deploy WAF rules to block SQL injection patterns targeting the /Admin_dashboard/edit_profile endpoint

🧯 If You Can't Patch

  • Isolate the inventory system on a separate network segment with strict access controls
  • Implement database monitoring and alerting for suspicious SQL queries

🔍 How to Verify

Check if Vulnerable:

Test the /Admin_dashboard/edit_profile endpoint with SQL injection payloads in first_name/last_name parameters

Check Version:

Check software version in admin panel or configuration files

Verify Fix Applied:

Verify that SQL injection attempts are properly rejected or sanitized

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts followed by edit_profile access

Network Indicators:

  • SQL injection patterns in HTTP POST requests to /Admin_dashboard/edit_profile

SIEM Query:

source="web_logs" AND uri="/Admin_dashboard/edit_profile" AND (request_body CONTAINS "' OR" OR request_body CONTAINS "--" OR request_body CONTAINS ";")

🔗 References

📤 Share & Export