ID CVE-2019-8318 Type cve Reporter cve@mitre.org Modified 2020-08-24T17:37:00
Description
An issue was discovered on D-Link DIR-878 devices with firmware 1.12A1. This issue is a Command Injection allowing a remote attacker to execute arbitrary code, and get a root shell. A command Injection vulnerability allows attackers to execute arbitrary OS commands via a crafted /HNAP1 POST request. This occurs when any HNAP API function triggers a call to the twsystem function with untrusted input from the request body for the SetSysEmailSettings API function, as demonstrated by shell metacharacters in the SMTPServerPort field.
{"id": "CVE-2019-8318", "bulletinFamily": "NVD", "title": "CVE-2019-8318", "description": "An issue was discovered on D-Link DIR-878 devices with firmware 1.12A1. This issue is a Command Injection allowing a remote attacker to execute arbitrary code, and get a root shell. A command Injection vulnerability allows attackers to execute arbitrary OS commands via a crafted /HNAP1 POST request. This occurs when any HNAP API function triggers a call to the twsystem function with untrusted input from the request body for the SetSysEmailSettings API function, as demonstrated by shell metacharacters in the SMTPServerPort field.", "published": "2019-02-13T03:29:00", "modified": "2020-08-24T17:37:00", "cvss": {"score": 9.0, "vector": "AV:N/AC:L/Au:S/C:C/I:C/A:C"}, "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-8318", "reporter": "cve@mitre.org", "references": ["https://github.com/lieanu/vuls/blob/master/dlink/DIR-878/mail.md"], "cvelist": ["CVE-2019-8318"], "type": "cve", "lastseen": "2020-10-03T13:39:00", "edition": 4, "viewCount": 2, "enchantments": {"dependencies": {"references": [], "modified": "2020-10-03T13:39:00", "rev": 2}, "score": {"value": 6.4, "vector": "NONE", "modified": "2020-10-03T13:39:00", "rev": 2}, "vulnersScore": 6.4}, "cpe": ["cpe:/o:dlink:dir-878_firmware:1.12a1"], "affectedSoftware": [{"cpeName": "dlink:dir-878_firmware", "name": "dlink dir-878 firmware", "operator": "eq", "version": "1.12a1"}], "cvss2": {"acInsufInfo": false, "cvssV2": {"accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "SINGLE", "availabilityImpact": "COMPLETE", "baseScore": 9.0, "confidentialityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "vectorString": "AV:N/AC:L/Au:S/C:C/I:C/A:C", "version": "2.0"}, "exploitabilityScore": 8.0, "impactScore": 10.0, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "HIGH", "userInteractionRequired": false}, "cvss3": {"cvssV3": {"attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.0"}, "exploitabilityScore": 2.8, "impactScore": 5.9}, "cpe23": ["cpe:2.3:o:dlink:dir-878_firmware:1.12a1:*:*:*:*:*:*:*"], "cwe": ["CWE-78"], "scheme": null, "affectedConfiguration": [{"cpeName": "dlink:dir-878", "name": "dlink dir-878", "operator": "eq", "version": "-"}], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"children": [{"cpe_match": [{"cpe23Uri": "cpe:2.3:h:dlink:dir-878:-:*:*:*:*:*:*:*", "vulnerable": false}], "operator": "OR"}, {"cpe_match": [{"cpe23Uri": "cpe:2.3:o:dlink:dir-878_firmware:1.12a1:*:*:*:*:*:*:*", "vulnerable": true}], "operator": "OR"}], "operator": "AND"}]}}