CVE-2023-50692

8.8 HIGH

📋 TL;DR

This vulnerability allows remote attackers to upload malicious files to JIZHICMS v2.5 through the download_url parameter, potentially leading to arbitrary code execution. Any organization running the affected version of JIZHICMS is vulnerable to this attack.

💻 Affected Systems

Products:
  • JIZHICMS
Versions: Version 2.5
Operating Systems: All platforms running JIZHICMS
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the app/admin/exts/ directory's download_url parameter handling.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise with attacker gaining full control over the web server, data exfiltration, and lateral movement to other systems.

🟠

Likely Case

Webshell deployment leading to data theft, defacement, or use as a foothold for further attacks.

🟢

If Mitigated

File upload blocked or sanitized, preventing malicious file execution while maintaining normal functionality.

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable without authentication on internet-facing systems.
🏢 Internal Only: MEDIUM - Internal systems are still vulnerable but require network access.

🎯 Exploit Status

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

The GitHub issue shows exploitation details and the vulnerability is straightforward to exploit.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: No official vendor advisory found

Restart Required: No

Instructions:

Check GitHub repository for updates or community patches. Consider upgrading to a newer version if available.

🔧 Temporary Workarounds

Restrict file uploads in download_url parameter

all

Implement input validation to block file uploads through the vulnerable parameter

Modify app/admin/exts/ controller to validate file types and extensions

Disable vulnerable endpoint

all

Temporarily disable or restrict access to the affected download_url functionality

Add access control or disable the specific route in routing configuration

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file uploads to the vulnerable endpoint
  • Restrict network access to JIZHICMS admin interface and monitor for suspicious file uploads

🔍 How to Verify

Check if Vulnerable:

Check if running JIZHICMS v2.5 and test file upload via download_url parameter in app/admin/exts/

Check Version:

Check JIZHICMS version in configuration files or admin panel

Verify Fix Applied:

Test file upload attempts are blocked or properly validated after implementing controls

📡 Detection & Monitoring

Log Indicators:

  • Unusual file uploads to app/admin/exts/ directory
  • Execution of unexpected files from upload directory

Network Indicators:

  • HTTP POST requests to download_url parameter with file uploads
  • Subsequent connections to uploaded malicious files

SIEM Query:

source="web_logs" AND (uri="/app/admin/exts/" AND method="POST" AND file_upload="true")

🔗 References

📤 Share & Export