CVE-2023-27168

9.8 CRITICAL

📋 TL;DR

This vulnerability allows attackers to upload arbitrary JSP files to Xpand IT Write-back Manager v2.3.1, leading to remote code execution. Attackers can gain full control of affected systems by uploading malicious web shells. Organizations using Write-back Manager v2.3.1 are affected.

💻 Affected Systems

Products:
  • Xpand IT Write-back Manager
Versions: v2.3.1
Operating Systems: Any OS running Write-back Manager
Default Config Vulnerable: ⚠️ Yes
Notes: The vulnerability exists in the file upload functionality without proper validation of uploaded file types.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise with attacker gaining administrative privileges, data exfiltration, ransomware deployment, and lateral movement across the network.

🟠

Likely Case

Attackers upload web shells to execute arbitrary commands, steal sensitive data, and maintain persistent access to the system.

🟢

If Mitigated

If proper file upload validation and web application firewalls are in place, exploitation attempts are blocked and logged.

🌐 Internet-Facing: HIGH - Directly accessible web applications with file upload functionality are prime targets for automated exploitation.
🏢 Internal Only: MEDIUM - Internal attackers or compromised internal systems could exploit this, but requires network access.

🎯 Exploit Status

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

Exploitation requires only HTTP access to the vulnerable endpoint and knowledge of the upload location.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://www.xpand-it.com

Restart Required: No

Instructions:

Check vendor website for security updates. If no patch exists, implement workarounds immediately.

🔧 Temporary Workarounds

Disable File Upload Endpoint

all

Block or disable the vulnerable file upload functionality in Write-back Manager

# Configuration depends on Write-back Manager setup - consult documentation

Implement Web Application Firewall Rules

all

Block JSP file uploads at the WAF level

# WAF-specific rules to block .jsp file uploads

🧯 If You Can't Patch

  • Isolate Write-back Manager from internet and restrict internal network access
  • Implement strict file upload validation to only allow specific file types

🔍 How to Verify

Check if Vulnerable:

Check if Write-back Manager version is 2.3.1 and test file upload functionality with JSP files

Check Version:

# Check Write-back Manager version in application interface or configuration files

Verify Fix Applied:

Test that JSP file uploads are rejected and only approved file types are accepted

📡 Detection & Monitoring

Log Indicators:

  • JSP file upload attempts
  • Unusual file upload activity
  • Web shell access patterns

Network Indicators:

  • HTTP POST requests with JSP file uploads
  • Suspicious outbound connections from Write-back Manager

SIEM Query:

source="writeback_manager" AND (file_extension=".jsp" OR file_type="jsp")

🔗 References

📤 Share & Export