ID

VAR-201907-1071


CVE

CVE-2017-8411


TITLE

D-Link DCS-1130 Command injection vulnerability in devices

Trust: 0.8

sources: JVNDB: JVNDB-2017-014553

DESCRIPTION

An issue was discovered on D-Link DCS-1130 devices. The device provides a user with the capability of setting a SMB folder for the video clippings recorded by the device. It seems that the POST parameters passed in this request (to test if email credentials and hostname sent to the device work properly) result in being passed as commands to a "system" API in the function and thus result in command injection on the device. If the firmware version is dissected using binwalk tool, we obtain a cramfs-root archive which contains the filesystem set up on the device that contains all the binaries. The library "libmailutils.so" is the one that has the vulnerable function "sub_1FC4" that receives the values sent by the POST request. If we open this binary in IDA-pro we will notice that this follows an ARM little endian format. The function sub_1FC4 in IDA pro is identified to be receiving the values sent in the POST request and the value set in POST parameter "receiver1" is extracted in function "sub_15AC" which is then passed to the vulnerable system API call. The vulnerable library function is accessed in "cgibox" binary at address 0x00023BCC which calls the "Send_mail" function in "libmailutils.so" binary as shown below which results in the vulnerable POST parameter being passed to the library which results in the command injection issue. D-Link DCS-1130 The device contains a command injection vulnerability.Information is obtained, information is altered, and service operation is disrupted (DoS) There is a possibility of being put into a state. D-LinkDCS-1130 is a network camera of D-Link Corporation of Taiwan, China. There is a command injection vulnerability in the Snapshot function in D-LinkDCS-1130. The vulnerability stems from the fact that external input data constructs executable commands, and the network system or product does not properly filter the special elements. An attacker could exploit the vulnerability to execute an illegal command

Trust: 2.34

sources: NVD: CVE-2017-8411 // JVNDB: JVNDB-2017-014553 // CNVD: CNVD-2019-21464 // VULHUB: VHN-116614 // VULMON: CVE-2017-8411

IOT TAXONOMY

category:['ICS', 'Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2019-21464

AFFECTED PRODUCTS

vendor:d linkmodel:dcs-1130scope: - version: -

Trust: 1.4

vendor:dlinkmodel:dcs-1130scope:eqversion: -

Trust: 1.0

sources: CNVD: CNVD-2019-21464 // JVNDB: JVNDB-2017-014553 // NVD: CVE-2017-8411

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2017-8411
value: HIGH

Trust: 1.0

NVD: CVE-2017-8411
value: HIGH

Trust: 0.8

CNVD: CNVD-2019-21464
value: HIGH

Trust: 0.6

CNNVD: CNNVD-201907-123
value: HIGH

Trust: 0.6

VULHUB: VHN-116614
value: HIGH

Trust: 0.1

VULMON: CVE-2017-8411
value: HIGH

Trust: 0.1

nvd@nist.gov: CVE-2017-8411
severity: HIGH
baseScore: 9.3
vectorString: AV:N/AC:M/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 8.6
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.9

CNVD: CNVD-2019-21464
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

VULHUB: VHN-116614
severity: HIGH
baseScore: 9.3
vectorString: AV:N/AC:M/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 8.6
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

nvd@nist.gov: CVE-2017-8411
baseSeverity: HIGH
baseScore: 8.8
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: REQUIRED
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 2.8
impactScore: 5.9
version: 3.1

Trust: 1.0

NVD: CVE-2017-8411
baseSeverity: HIGH
baseScore: 8.8
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: REQUIRED
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: CNVD: CNVD-2019-21464 // VULHUB: VHN-116614 // VULMON: CVE-2017-8411 // JVNDB: JVNDB-2017-014553 // CNNVD: CNNVD-201907-123 // NVD: CVE-2017-8411

PROBLEMTYPE DATA

problemtype:CWE-77

Trust: 1.9

sources: VULHUB: VHN-116614 // JVNDB: JVNDB-2017-014553 // NVD: CVE-2017-8411

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201907-123

TYPE

command injection

Trust: 0.6

sources: CNNVD: CNNVD-201907-123

CONFIGURATIONS

sources: JVNDB: JVNDB-2017-014553

PATCH

title:Top Pageurl:https://www.dlink.com/en/consumer

Trust: 0.8

title:IoT_vulnerabilitiesurl:https://github.com/ethanhunnt/IoT_vulnerabilities

Trust: 0.1

sources: VULMON: CVE-2017-8411 // JVNDB: JVNDB-2017-014553

EXTERNAL IDS

db:NVDid:CVE-2017-8411

Trust: 3.3

db:PACKETSTORMid:153226

Trust: 2.5

db:JVNDBid:JVNDB-2017-014553

Trust: 0.8

db:CNNVDid:CNNVD-201907-123

Trust: 0.7

db:CNVDid:CNVD-2019-21464

Trust: 0.6

db:VULHUBid:VHN-116614

Trust: 0.1

db:VULMONid:CVE-2017-8411

Trust: 0.1

sources: CNVD: CNVD-2019-21464 // VULHUB: VHN-116614 // VULMON: CVE-2017-8411 // JVNDB: JVNDB-2017-014553 // PACKETSTORM: 153226 // CNNVD: CNNVD-201907-123 // NVD: CVE-2017-8411

REFERENCES

url:http://packetstormsecurity.com/files/153226/dlink-dcs-1130-command-injection-csrf-stack-overflow.html

Trust: 3.0

url:https://github.com/ethanhunnt/iot_vulnerabilities/blob/master/dlink_dcs_1130_security.pdf

Trust: 2.6

url:https://seclists.org/bugtraq/2019/jun/8

Trust: 1.8

url:https://nvd.nist.gov/vuln/detail/cve-2017-8411

Trust: 1.5

url:https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2017-8411

Trust: 0.8

url:https://cwe.mitre.org/data/definitions/77.html

Trust: 0.1

url:https://nvd.nist.gov

Trust: 0.1

url:https://github.com/ethanhunnt/iot_vulnerabilities

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8408

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8413

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8405

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8406

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8410

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8412

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8409

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8415

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8417

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8404

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8416

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8407

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8414

Trust: 0.1

sources: CNVD: CNVD-2019-21464 // VULHUB: VHN-116614 // VULMON: CVE-2017-8411 // JVNDB: JVNDB-2017-014553 // PACKETSTORM: 153226 // CNNVD: CNNVD-201907-123 // NVD: CVE-2017-8411

CREDITS

Mandar Satam

Trust: 0.1

sources: PACKETSTORM: 153226

SOURCES

db:CNVDid:CNVD-2019-21464
db:VULHUBid:VHN-116614
db:VULMONid:CVE-2017-8411
db:JVNDBid:JVNDB-2017-014553
db:PACKETSTORMid:153226
db:CNNVDid:CNNVD-201907-123
db:NVDid:CVE-2017-8411

LAST UPDATE DATE

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


SOURCES UPDATE DATE

db:CNVDid:CNVD-2019-21464date:2019-07-08T00:00:00
db:VULHUBid:VHN-116614date:2019-07-09T00:00:00
db:VULMONid:CVE-2017-8411date:2021-04-26T00:00:00
db:JVNDBid:JVNDB-2017-014553date:2019-07-10T00:00:00
db:CNNVDid:CNNVD-201907-123date:2021-04-27T00:00:00
db:NVDid:CVE-2017-8411date:2024-11-21T03:33:59.163

SOURCES RELEASE DATE

db:CNVDid:CNVD-2019-21464date:2019-07-08T00:00:00
db:VULHUBid:VHN-116614date:2019-07-02T00:00:00
db:VULMONid:CVE-2017-8411date:2019-07-02T00:00:00
db:JVNDBid:JVNDB-2017-014553date:2019-07-10T00:00:00
db:PACKETSTORMid:153226date:2019-06-07T15:06:02
db:CNNVDid:CNNVD-201907-123date:2019-07-02T00:00:00
db:NVDid:CVE-2017-8411date:2019-07-02T19:15:10.570