CVE-2025-43843

9.8 CRITICAL

📋 TL;DR

CVE-2025-43843 is a critical command injection vulnerability in Retrieval-based-Voice-Conversion-WebUI that allows attackers to execute arbitrary commands on the server. The vulnerability affects versions 2.2.231006 and prior, enabling remote code execution through user-controlled parameters passed to the extract_f0_feature function. Anyone running vulnerable versions of this voice changing framework is at risk.

💻 Affected Systems

Products:
  • Retrieval-based-Voice-Conversion-WebUI
Versions: Versions 2.2.231006 and prior
Operating Systems: All operating systems running Python
Default Config Vulnerable: ⚠️ Yes
Notes: Any deployment using the vulnerable infer-web.py script with user input to the affected parameters is vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full server compromise leading to data theft, ransomware deployment, lateral movement within the network, and complete system takeover.

🟠

Likely Case

Attackers gain shell access to the server, install backdoors, steal sensitive data, and use the compromised system for further attacks.

🟢

If Mitigated

Limited impact with proper network segmentation and least privilege, potentially only affecting the application service account.

🌐 Internet-Facing: HIGH - The vulnerability can be exploited remotely without authentication, making internet-facing instances immediate targets.
🏢 Internal Only: HIGH - Even internal instances are vulnerable to insider threats or attackers who gain initial network access.

🎯 Exploit Status

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

The vulnerability is straightforward to exploit as it involves direct command injection with user-controlled parameters. No authentication is required.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: None available

Vendor Advisory: None available

Restart Required: No

Instructions:

No official patch exists. Monitor the GitHub repository for updates and apply immediately when available.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Implement strict input validation for exp_dir1, np7, and f0method8 parameters to only allow expected values

# Add input validation in infer-web.py before extract_f0_feature function

Command Execution Restriction

all

Replace os.system or subprocess calls with safer alternatives that don't allow shell command injection

# Use subprocess.run with explicit args list instead of shell=True

🧯 If You Can't Patch

  • Immediately isolate the vulnerable system from the internet and restrict network access to only necessary services
  • Implement strict network segmentation and monitor all traffic to/from the vulnerable system for suspicious activity

🔍 How to Verify

Check if Vulnerable:

Check if you're running Retrieval-based-Voice-Conversion-WebUI version 2.2.231006 or earlier by examining the version in the application or checking the source code

Check Version:

grep -r 'version' *.py or check the application interface for version information

Verify Fix Applied:

Verify that input validation has been implemented for exp_dir1, np7, and f0method8 parameters and that shell command injection is no longer possible

📡 Detection & Monitoring

Log Indicators:

  • Unusual command execution patterns in system logs
  • Suspicious process creation from the Python application
  • Unexpected shell commands containing user input

Network Indicators:

  • Unexpected outbound connections from the application server
  • Command and control traffic patterns

SIEM Query:

Process creation where parent process contains 'python' AND command line contains suspicious patterns like ';', '|', '&', '`', '$('

🔗 References

📤 Share & Export