Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2021-32305: Remote command injection in WebSVN search

Published May 18, 2021 · Updated 2 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 2 in a dayToday
CVSS9.8Critical · v3.1
EPSS87.3%100th percentile
CISA KEVNoNot listed
In the wildReported7 exploitation records in Mallory
Vendor
Websvn
IdentifiersCVE-2021-32305CWE-78 · Improper Neutralization of Special…

WebSVN versions before 2.6.1 contain an operating-system command injection vulnerability in search processing. The getListSearch function concatenates attacker-controlled input from the search parameter into a shell command without proper escaping. The runCommand function subsequently executes that command through PHP's proc_open function, allowing shell metacharacters to trigger arbitrary command execution. The vulnerability has been exploited in the wild to deploy Mirai-like DDoS malware.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Remote attackers can execute arbitrary operating-system commands with the privileges of the WebSVN application process, compromising data and services accessible to that account. Observed exploitation downloaded and executed Linux malware to enroll compromised systems in a Mirai-like DDoS botnet. Exploitation does not inherently grant elevated operating-system privileges.

Mitigation

If you can’t patch tonight, do this now.

Until the upgrade is deployed, restrict access to the vulnerable search functionality to trusted users or networks. Apply firewall or intrusion-prevention protections specifically covering CVE-2021-32305; Palo Alto Networks Next-Generation Firewalls provide protection against exploitation.

Remediation

Patch, then assume compromise.

Upgrade WebSVN to version 2.6.1 or a later supported release. The fix applies escapeshellarg to user-controlled search input before incorporating it into the command. For custom implementations, avoid constructing shell command strings from user input; where supported, pass the executable and arguments to proc_open as an array to avoid shell interpretation.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
WebsvnWebsvnapplication
FAQ

Frequently asked questions

Is CVE-2021-32305 exploited in the wild?
Yes. As of Nov 26, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2021-32305?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2021-32305, the earliest disclosed Dec 26, 2023.
Is there a patch for CVE-2021-32305?
Upgrade WebSVN to version 2.6.1 or a later supported release. The fix applies escapeshellarg to user-controlled search input before incorporating it into the command.
What products are affected by CVE-2021-32305?
Websvn.
How severe is CVE-2021-32305?
CVE-2021-32305 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 87.3% (100th percentile) as of Nov 26, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware1Malware families linked to this CVE, with evidence and IOCs.
Detection signatures4YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.