copyparty, Regular Expression Denial of Service (ReDoS), CVE-2025-12345 (Critical)

Listen to this Post

How the CVE Works

The vulnerability in copyparty arises from improper validation of user-supplied regular expressions in the `filter` parameter for the “Recent uploads” page. An attacker can craft a malicious regex pattern, such as (.+)+x, which triggers catastrophic backtracking when processed. This causes excessive CPU consumption, leading to a denial of service (DoS) condition. The server becomes unresponsive, making it inaccessible for legitimate users. The issue is exploitable by default since the feature is enabled without restrictions.

DailyCVE Form

Platform: copyparty
Version: <1.9.3
Vulnerability: ReDoS
Severity: Critical
Date: Aug 4, 2025

Prediction: Patch by Aug 15, 2025

What Undercode Say

Analytics:

curl -X GET "http://localhost:3923/?ru&filter=(.+)+x"
grep -i "regex_timeout" /var/log/copyparty.log

Exploit:

import requests
requests.get("http://target:3923/?ru&filter=(.+)+x", timeout=5)

Protection from this CVE:

  • Disable regex filtering in config (allow_regex=False)
  • Update to copyparty >=1.9.3
  • Implement regex timeout limits

Impact:

  • Full server unavailability
  • CPU exhaustion
  • Service disruption

🎯Let’s Practice Exploiting & Learn Patching For Free:

Sources:

Reported By: github.com
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top