CVE-2025-65878

7.5 HIGH

📋 TL;DR

The warehouse management system version 1.2 contains an arbitrary file read vulnerability via directory traversal. Attackers can exploit the /file/showImageByPath endpoint to read sensitive files on the server. Organizations using this specific version are affected.

💻 Affected Systems

Products:
  • warehouse management system
Versions: 1.2
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only version 1.2 is confirmed affected based on the CVE description.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete server compromise through reading configuration files containing credentials, followed by lateral movement and data exfiltration.

🟠

Likely Case

Sensitive information disclosure including configuration files, user data, and system information that could enable further attacks.

🟢

If Mitigated

Limited to reading non-sensitive files if proper file permissions and access controls are implemented.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Simple HTTP requests with path traversal payloads can exploit this vulnerability.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: Unknown

Restart Required: No

Instructions:

No official patch available. Check vendor website for updates or consider alternative solutions.

🔧 Temporary Workarounds

Web Application Firewall Rule

all

Block requests containing directory traversal sequences to the vulnerable endpoint

WAF specific - configure rule to block requests to /file/showImageByPath containing ../ or similar traversal patterns

Endpoint Restriction

linux

Restrict access to the vulnerable endpoint using network controls

iptables -A INPUT -p tcp --dport 80 -m string --string "/file/showImageByPath" --algo bm -j DROP

🧯 If You Can't Patch

  • Implement strict input validation on the /file/showImageByPath endpoint to reject path traversal sequences
  • Deploy the application behind a reverse proxy with request filtering for path traversal patterns

🔍 How to Verify

Check if Vulnerable:

Send HTTP GET request to /file/showImageByPath?path=../../../etc/passwd and check if server returns sensitive file contents

Check Version:

Check application version in web interface or configuration files

Verify Fix Applied:

Test the same payload after implementing fixes - should return error or sanitized response

📡 Detection & Monitoring

Log Indicators:

  • Multiple requests to /file/showImageByPath with ../ patterns
  • Unusual file access patterns from single IP

Network Indicators:

  • HTTP requests containing directory traversal sequences to the vulnerable endpoint

SIEM Query:

source="web_logs" AND uri="/file/showImageByPath" AND (uri="*../*" OR uri="*..\\*" OR uri="*%2e%2e%2f*")

🔗 References

📤 Share & Export