{"schemaVersion":3,"id":"CVE-2018-10822","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Directory traversal vulnerability in the web interface on D-Link DWR-116 through 1.06, DIR-140L through 1.02, DIR-640L through 1.02, DWR-512 through 2.02, DWR-712 through 2.02, DWR-912 through 2.02, DWR-921 through 2.02, and DWR-111 through 1.01 devices allows remote attackers to read arbitrary files via a /.. or // after \"GET /uir\" in an HTTP request.  NOTE: this vulnerability exists because of an incorrect fix for CVE-2017-6190.","dates":{"published":"2018-10-17T14:00:00.000Z","modified":"2024-08-05T07:46:47.301Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.39268,"percentile":0.98592,"severity":"high","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.39268},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.39268,"percentile":0.98592}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.39268,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.39268,"percentile":0.98592}]},"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":"REF_B13AFA988F419E92","name":"Exploit Reference (seclists.org)","source":"reference","url":"https://seclists.org/fulldisclosure/2018/Oct/36","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_F1A4AD1339BECA9E","name":"Exploit Reference (sploit.tech)","source":"reference","url":"http://sploit.tech/2018/10/12/D-Link.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"45678","name":"D-Link Routers - Directory Traversal","source":"exploit-database","url":"https://www.exploit-db.com/exploits/45678","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["hardware"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"hardware","file":"exploits/hardware/webapps/45678.md","codes":["CVE-2018-10822"]},"metasploit":null}],"exploitCount":3,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"dlink","product":"dir-140l_firmware","name":"dir-140l firmware","label":"dir-140l_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 1.02","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.02","eol":null,"hubHref":"/vendor/dlink/dir-140l"},{"vendor":"dlink","product":"dir-640l_firmware","name":"dir-640l firmware","label":"dir-640l_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 1.02","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.02","eol":null,"hubHref":"/vendor/dlink/dir-640l"},{"vendor":"dlink","product":"dwr-111_firmware","name":"dwr-111 firmware","label":"dwr-111_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 1.01","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.01","eol":null,"hubHref":"/vendor/dlink/dwr-111"},{"vendor":"dlink","product":"dwr-116_firmware","name":"dwr-116 firmware","label":"dwr-116_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 1.06","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.06","eol":null,"hubHref":"/vendor/dlink/dwr-116"},{"vendor":"dlink","product":"dwr-512_firmware","name":"dwr-512 firmware","label":"dwr-512_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 2.02","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.02","eol":null,"hubHref":"/vendor/dlink/dwr-512"},{"vendor":"dlink","product":"dwr-712_firmware","name":"dwr-712 firmware","label":"dwr-712_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 2.02","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.02","eol":null,"hubHref":"/vendor/dlink/dwr-712"},{"vendor":"dlink","product":"dwr-912_firmware","name":"dwr-912 firmware","label":"dwr-912_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 2.02","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.02","eol":null,"hubHref":"/vendor/dlink/dwr-912"},{"vendor":"dlink","product":"dwr-921_firmware","name":"dwr-921 firmware","label":"dwr-921_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 2.02","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.02","eol":null,"hubHref":"/vendor/dlink/dwr-921"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://seclists.org/fulldisclosure/2018/Oct/36","label":"seclists.org/fulldisclosure/2018/Oct/36","hostname":"seclists.org","tags":["Mailing List","X Refsource FULLDISC","Exploit","Third Party Advisory"]},{"url":"http://sploit.tech/2018/10/12/D-Link.html","label":"sploit.tech/2018/10/12/D-Link.html","hostname":"sploit.tech","tags":["X Refsource MISC","Exploit"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-10-17T14:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T07:46:47.301Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":48,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T20:52:38.243Z","stale":false,"partial":false}}