{"answers":{"affected":"It affects 8 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-10822 exists.","fix":"No fix has been published for CVE-2018-10822 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-10822 is a high-severity path traversal vulnerability in n/a, published on 17 Oct 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-10822 and fix it if it is affected.\n\nWhat it is: CVE-2018-10822 is a high-severity path traversal vulnerability in n/a, published on 17 Oct 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-10822 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-10822/ (Markdown: https://insights.sbomify.com/CVE-2018-10822/index.md)","id":"CVE-2018-10822","markdown":"https://insights.sbomify.com/CVE-2018-10822/index.md","name":"CVE-2018-10822","record":{"aliases":["GHSA-qr3w-mv9r-8gf8"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"D-Link router","requires_auth":"none","summary":"Remote attackers can read arbitrary files on D-Link routers via directory traversal in the web interface, exposing sensitive configuration data.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"dir-140l_firmware","vendor":"dlink"},{"product":"dir-640l_firmware","vendor":"dlink"},{"product":"dwr-111_firmware","vendor":"dlink"},{"product":"dwr-116_firmware","vendor":"dlink"},{"product":"dwr-512_firmware","vendor":"dlink"},{"product":"dwr-712_firmware","vendor":"dlink"},{"product":"dwr-912_firmware","vendor":"dlink"},{"product":"dwr-921_firmware","vendor":"dlink"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2018-10-12","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":"2018-10-12","kind":"exploitdb","ref":"45678","stars":null,"title":"D-Link Routers - Directory Traversal"},{"date":null,"kind":"nuclei","ref":"http/cves/2018/CVE-2018-10822.yaml","stars":null,"title":"D-Link Routers - Local File Inclusion"}],"tier":"weaponised"},"has_fix":null,"headline":"Path traversal in n/a","id":"CVE-2018-10822","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"Command injection in n/a","id":"CVE-2018-10823"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2018-10821"},"products":["n/a"],"published":"2018-10-17","related":[{"cvss_score":9.8,"headline":"Hardcoded credentials in n/a","id":"CVE-2018-18008","kev_date_added":null,"published":"2018-12-21"},{"cvss_score":9.8,"headline":"Hardcoded credentials in n/a","id":"CVE-2018-18009","kev_date_added":null,"published":"2018-12-21"},{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2018-10824","kev_date_added":null,"published":"2018-10-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Remote attackers can read arbitrary files on D-Link routers via directory traversal in the web interface, exposing sensitive configuration data.","url":"https://insights.sbomify.com/CVE-2018-10822/"}