ID

VAR-201812-0908


CVE

CVE-2018-19241


TITLE

TRENDnet TV-IP110WN and TV-IP121WN Device buffer error vulnerability

Trust: 0.8

sources: JVNDB: JVNDB-2018-013457

DESCRIPTION

Buffer overflow in video.cgi on TRENDnet TV-IP110WN V1.2.2 build 68, V1.2.2.65, and V1.2.2 build 64 and TV-IP121WN V1.2.2 build 28 devices allows attackers to hijack the control flow to any attacker-specified location by crafting a POST request payload (without authentication). TRENDnet TV-IP110WN and TV-IP121WN The device contains a buffer error vulnerability.Information may be tampered with. TRENDnetTV-IP110WN is a wireless internet surveillance camera. The TRENDnetTV-IP121WN is a network camera solution for surveillance. There are BoF vulnerabilities in TRENDnetTV-IP110WN and TV-IP121WN. An attacker could use a POST request to deliver its payload to trigger a BoF vulnerability in the \"url\" parameter without authentication. ########################################### Vulnerabilities found in TRENDnet devices Authors:Prashast Srivastava, Mathias Payer Howard Shrobe, Hamed Okhravi Author contact: https://github.com/prashast/ ########################################### Multiple vulnerabilties including Command Injection, Buffer Overflow and Reflective XSS vulnerabilties were found in the following TRENDnet devices: Routers: TEW-634GRU, TEW-673GRU, TEW-632BRP IP-Cameras: TV-IP110WN, TV-IP121WN These were found using our dynamic analysis tool for embedded devices. The POC's will be made available upon the public release of our tool. A more detailed breakdown is presented below on a per vulnerability basis:- Command Injection ------------------ CVE-ID: CVE-2018-19239 Product: TEW-673GRU Module affected: `start_arpping` function in `timer` binary Firmware version: v1.00b40 TRENDnet TEW-673GRU v1.00b40 devices have an OS command injection vulnerability in the `start_arpping` function of the `timer binary`, which allows remote attackers to execute arbitrary commands via three parameters (dhcpd_start, dhcpd_end, and lan_ipaddr) passed to the apply.cgi binary through a POST request. Exploiting the vulnerability requires a user to be authenticated with the router with administrative credentials. The `start_arpping` function reads the following values from the NVRAM namely: dhcpd_start, dhcpd_end, lan_ipaddr, lan_bridge and lan_eth. These values are then passed to the `arpping` utility without any sort of sanity checks. Out of these values, the outward facing configuration webserver(httpd) running at `IP:192.168.10.1 Port: 80` allows a user to modify the first three values `dhcpd_start`, `dhcpd_end`, `lan_ipaddr` via the LAN and DHCP server configuration webpage available at `http://192.168.10.1/lan.asp` by making a POST request to `apply.cgi` binary with the appropriate parameters. We have observed that the by directly making a POST request to the `apply.cgi` binary with the values of the above mentioned three parameters containing Command Injection based payloads, it is possible to execute arbitrary commands on the router with root privileges. A sub-routine respondAsp is called that copies a user-controlled parameter into a stack variable using strcpy without any bounds check. Reflective XSS --------------- Products: - TEW-632BRP (1.010B32) - TEW-673GRU (v1.00b40) - TEW-634GRU (v1.01B14) Module affected: `login.cgi` `Login.cgi` in TRENDNet TEW-632BRP, TEW-673GRU and TEW-634GRU has a reflected XSS vulnerability that does not require any authentication. Vendor Disclosure ------------------ The vulnerabilities had been notified to the vendor 12/03. The vendor replied on 12/05 that since the products had reached their end-of-life no future development or firmware updates would be provided for these devices

Trust: 2.25

sources: NVD: CVE-2018-19241 // JVNDB: JVNDB-2018-013457 // CNVD: CNVD-2018-25693 // PACKETSTORM: 150693

IOT TAXONOMY

category:['Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2018-25693

AFFECTED PRODUCTS

vendor:trendnetmodel:tv-ip110wnscope:eqversion:1.2.2.65

Trust: 2.4

vendor:trendnetmodel:tv-ip110wnscope:eqversion:1.2.2.64

Trust: 1.6

vendor:trendnetmodel:tv-ip121wnscope:eqversion:1.2.2.28

Trust: 1.6

vendor:trendnetmodel:tv-ip110wnscope:eqversion:1.2.2.68

Trust: 1.6

vendor:trendnetmodel:tv-ip110wnscope:eqversion:1.2.2 build 64

Trust: 0.8

vendor:trendnetmodel:tv-ip110wnscope:eqversion:1.2.2 build 68

Trust: 0.8

vendor:trendnetmodel:tv-ip121wnscope:eqversion:1.2.2 build 28

Trust: 0.8

vendor:trendnetmodel:tv-ip121wn buildscope:eqversion:v1.2.228

Trust: 0.6

vendor:trendnetmodel:tv-ip110wn buildscope:eqversion:v1.2.268

Trust: 0.6

vendor:trendnetmodel:tv-ip110wnscope:eqversion:v1.2.2.65

Trust: 0.6

vendor:trendnetmodel:tv-ip110wn buildscope:eqversion:v1.2.264

Trust: 0.6

sources: CNVD: CNVD-2018-25693 // JVNDB: JVNDB-2018-013457 // CNNVD: CNNVD-201812-974 // NVD: CVE-2018-19241

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2018-19241
value: HIGH

Trust: 1.0

NVD: CVE-2018-19241
value: HIGH

Trust: 0.8

CNVD: CNVD-2018-25693
value: HIGH

Trust: 0.6

CNNVD: CNNVD-201812-974
value: MEDIUM

Trust: 0.6

nvd@nist.gov: CVE-2018-19241
severity: MEDIUM
baseScore: 5.0
vectorString: AV:N/AC:L/AU:N/C:N/I:P/A:N
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: NONE
integrityImpact: PARTIAL
availabilityImpact: NONE
exploitabilityScore: 10.0
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

CNVD: CNVD-2018-25693
severity: HIGH
baseScore: 7.5
vectorString: AV:N/AC:L/AU:N/C:P/I:P/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 10.0
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

nvd@nist.gov: CVE-2018-19241
baseSeverity: HIGH
baseScore: 7.5
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: HIGH
availabilityImpact: NONE
exploitabilityScore: 3.9
impactScore: 3.6
version: 3.0

Trust: 1.8

sources: CNVD: CNVD-2018-25693 // JVNDB: JVNDB-2018-013457 // CNNVD: CNNVD-201812-974 // NVD: CVE-2018-19241

PROBLEMTYPE DATA

problemtype:CWE-119

Trust: 1.8

sources: JVNDB: JVNDB-2018-013457 // NVD: CVE-2018-19241

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201812-974

TYPE

buffer overflow

Trust: 0.6

sources: CNNVD: CNNVD-201812-974

CONFIGURATIONS

sources: JVNDB: JVNDB-2018-013457

PATCH

title:Top Pageurl:http://www.trendnet.com/home

Trust: 0.8

sources: JVNDB: JVNDB-2018-013457

EXTERNAL IDS

db:NVDid:CVE-2018-19241

Trust: 3.1

db:PACKETSTORMid:150693

Trust: 2.5

db:JVNDBid:JVNDB-2018-013457

Trust: 0.8

db:CNVDid:CNVD-2018-25693

Trust: 0.6

db:CNNVDid:CNNVD-201812-974

Trust: 0.6

sources: CNVD: CNVD-2018-25693 // JVNDB: JVNDB-2018-013457 // PACKETSTORM: 150693 // CNNVD: CNNVD-201812-974 // NVD: CVE-2018-19241

REFERENCES

url:http://packetstormsecurity.com/files/150693/trendnet-command-injection-buffer-overflow-cross-site-scripting.html

Trust: 2.4

url:http://seclists.org/fulldisclosure/2018/dec/21

Trust: 2.2

url:https://nvd.nist.gov/vuln/detail/cve-2018-19241

Trust: 0.9

url:https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2018-19241

Trust: 0.8

url:https://github.com/prashast/

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2018-19242

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2018-19239

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2018-19240

Trust: 0.1

url:http://192.168.10.1/lan.asp`

Trust: 0.1

sources: CNVD: CNVD-2018-25693 // JVNDB: JVNDB-2018-013457 // PACKETSTORM: 150693 // CNNVD: CNNVD-201812-974 // NVD: CVE-2018-19241

CREDITS

Mathias Payer, Hamed Okhravi, Prashast Srivastava, Howard Shrobe

Trust: 0.1

sources: PACKETSTORM: 150693

SOURCES

db:CNVDid:CNVD-2018-25693
db:JVNDBid:JVNDB-2018-013457
db:PACKETSTORMid:150693
db:CNNVDid:CNNVD-201812-974
db:NVDid:CVE-2018-19241

LAST UPDATE DATE

2024-11-23T21:37:54.188000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2018-25693date:2018-12-18T00:00:00
db:JVNDBid:JVNDB-2018-013457date:2019-02-21T00:00:00
db:CNNVDid:CNNVD-201812-974date:2018-12-21T00:00:00
db:NVDid:CVE-2018-19241date:2024-11-21T03:57:37.843

SOURCES RELEASE DATE

db:CNVDid:CNVD-2018-25693date:2018-12-18T00:00:00
db:JVNDBid:JVNDB-2018-013457date:2019-02-21T00:00:00
db:PACKETSTORMid:150693date:2018-12-09T23:22:22
db:CNNVDid:CNNVD-201812-974date:2018-12-21T00:00:00
db:NVDid:CVE-2018-19241date:2018-12-20T23:29:01.190