{"schemaVersion":3,"id":"CVE-2018-19989","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"In the /HNAP1/SetQoSSettings message, the uplink parameter is vulnerable, and the vulnerability affects D-Link DIR-822 Rev.B 202KRb06 and DIR-822 Rev.C 3.10B06 devices. In the SetQoSSettings.php source code, the uplink parameter is saved in the /bwc/entry:1/bandwidth and /bwc/entry:2/bandwidth internal configuration memory without any regex checking. And in the bwc_tc_spq_start, bwc_tc_wfq_start, and bwc_tc_adb_start functions of the bwcsvcs.php source code, the data in /bwc/entry:1/bandwidth and /bwc/entry:2/bandwidth is used with the tc command without any regex checking. A vulnerable /HNAP1/SetQoSSettings XML message could have shell metacharacters in the uplink element such as the `telnetd` string.","dates":{"published":"2019-05-13T13:25:14.000Z","modified":"2024-08-05T11:51:18.165Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":10,"severity":"high","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.05543,"percentile":0.92752,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.05543},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0322,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05543,"percentile":0.92752}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0322,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05543,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05543,"percentile":0.92752}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_PR0V3RBS_CVE","name":"Cve","source":"github","url":"https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"d-link","product":"dir-822_firmware","name":"dir-822 firmware","label":"dir-822_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"202krb06","noFixRecorded":false,"fixedIn":null}],"versionsText":"202krb06","eol":null,"hubHref":"/vendor/d-link/dir-822"},{"vendor":"dlink","product":"dir-822_firmware","name":"dir-822 firmware","label":"dir-822_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"3.10b06","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.10b06","eol":null,"hubHref":"/vendor/dlink/dir-822"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990","label":"github.com/pr0v3rbs/CVE/tree/master/CVE-2018-19986%20-%2019990","hostname":"github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-05-13T13:25:14.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T11:51:18.165Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":90,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T15:42:27.068Z","stale":false,"partial":false}}