CVE-2025-8705

6.3 MEDIUM

📋 TL;DR

This critical SQL injection vulnerability in Wanzhou WOES Intelligent Optimization Energy Saving System 1.0 allows remote attackers to execute arbitrary SQL commands via the BP_ProID parameter. Organizations using this energy management system are affected, potentially exposing sensitive data and system control.

💻 Affected Systems

Products:
  • Wanzhou WOES Intelligent Optimization Energy Saving System
Versions: 1.0
Operating Systems: Unknown - likely Windows or Linux based on typical industrial systems
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the Energy Overview Module component specifically

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, system takeover, and potential lateral movement to connected systems

🟠

Likely Case

Unauthorized data access, manipulation of energy system configurations, and potential service disruption

🟢

If Mitigated

Limited impact with proper input validation and database permissions in place

🌐 Internet-Facing: HIGH - Attack can be launched remotely without authentication
🏢 Internal Only: MEDIUM - Still vulnerable to internal threats but attack surface reduced

🎯 Exploit Status

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

Exploit details publicly disclosed on GitHub, making exploitation straightforward for attackers

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available

Restart Required: No

Instructions:

No official patch available. Contact vendor for updates and implement workarounds immediately.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement strict input validation for BP_ProID parameter to prevent SQL injection

Implement parameterized queries or stored procedures
Validate BP_ProID input against expected format

Web Application Firewall Rules

all

Deploy WAF rules to block SQL injection patterns targeting /WEAS_HomePage/GetTargetConfig

WAF rule: Block requests with SQL keywords in BP_ProID parameter
Rate limit requests to vulnerable endpoint

🧯 If You Can't Patch

  • Isolate the WOES system on a segmented network with strict access controls
  • Implement network monitoring and IDS/IPS rules to detect SQL injection attempts

🔍 How to Verify

Check if Vulnerable:

Test the /WEAS_HomePage/GetTargetConfig endpoint with SQL injection payloads in BP_ProID parameter

Check Version:

Check system documentation or web interface for version information

Verify Fix Applied:

Verify that SQL injection payloads no longer execute and return appropriate error responses

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL error messages in application logs
  • Multiple failed login attempts or parameter manipulation

Network Indicators:

  • SQL keywords in HTTP requests to vulnerable endpoint
  • Unusual database connection patterns

SIEM Query:

source="web_logs" AND uri="/WEAS_HomePage/GetTargetConfig" AND (param="BP_ProID" AND value CONTAINS "UNION" OR "SELECT" OR "INSERT" OR "DELETE")

🔗 References

📤 Share & Export