{"answers":{"affected":"It affects 53 products.","exploited":"There is no known exploitation of CVE-2017-16959 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2017-16959 yet. Limit exposure of the affected software until one is available.","what":"CVE-2017-16959 is a medium-severity path traversal vulnerability in n/a, published on 27 Nov 2017. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-16959 and fix it if it is affected.\n\nWhat it is: CVE-2017-16959 is a medium-severity path traversal vulnerability in n/a, published on 27 Nov 2017. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-16959 in the wild and no public exploit code.\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-2017-16959/ (Markdown: https://insights.sbomify.com/CVE-2017-16959/index.md)","id":"CVE-2017-16959","markdown":"https://insights.sbomify.com/CVE-2017-16959/index.md","name":"CVE-2017-16959","record":{"aliases":["GHSA-f5x4-48f8-6w8q"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"TP-Link router firmware","requires_auth":"low_privilege","summary":"Authenticated attackers can read arbitrary files on TP-Link routers via crafted HTTP headers in the locale feature.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"tl-er3210g_firmware","vendor":"tp-link"},{"product":"tl-er3220g_firmware","vendor":"tp-link"},{"product":"tl-er5110g_firmware","vendor":"tp-link"},{"product":"tl-er5120g_firmware","vendor":"tp-link"},{"product":"tl-er5510g_firmware","vendor":"tp-link"},{"product":"tl-er5520g_firmware","vendor":"tp-link"},{"product":"tl-er6110g_firmware","vendor":"tp-link"},{"product":"tl-er6120g_firmware","vendor":"tp-link"},{"product":"tl-er6220g_firmware","vendor":"tp-link"},{"product":"tl-er6510g_firmware","vendor":"tp-link"},{"product":"tl-er6520g_firmware","vendor":"tp-link"},{"product":"tl-er7520g_firmware","vendor":"tp-link"},{"product":"tl-r4149g_firmware","vendor":"tp-link"},{"product":"tl-r4239g_firmware","vendor":"tp-link"},{"product":"tl-r4299g_firmware","vendor":"tp-link"},{"product":"tl-r473_firmware","vendor":"tp-link"},{"product":"tl-r473g_firmware","vendor":"tp-link"},{"product":"tl-r473p-ac_firmware","vendor":"tp-link"},{"product":"tl-r478\\+_firmware","vendor":"tp-link"},{"product":"tl-r478_firmware","vendor":"tp-link"},{"product":"tl-r478g\\+_firmware","vendor":"tp-link"},{"product":"tl-r478g_firmware","vendor":"tp-link"},{"product":"tl-r479gp-ac_firmware","vendor":"tp-link"},{"product":"tl-r479gpe-ac_firmware","vendor":"tp-link"},{"product":"tl-r479p-ac_firmware","vendor":"tp-link"},{"product":"tl-r483_firmware","vendor":"tp-link"},{"product":"tl-r483g_firmware","vendor":"tp-link"},{"product":"tl-r488_firmware","vendor":"tp-link"},{"product":"tl-war1200l_firmware","vendor":"tp-link"},{"product":"tl-war1300l_firmware","vendor":"tp-link"},{"product":"tl-war1750l_firmware","vendor":"tp-link"},{"product":"tl-war2600l_firmware","vendor":"tp-link"},{"product":"tl-war302_firmware","vendor":"tp-link"},{"product":"tl-war450_firmware","vendor":"tp-link"},{"product":"tl-war450l_firmware","vendor":"tp-link"},{"product":"tl-war458_firmware","vendor":"tp-link"},{"product":"tl-war458l_firmware","vendor":"tp-link"},{"product":"tl-war900l_firmware","vendor":"tp-link"},{"product":"tl-wvr1200l_firmware","vendor":"tp-link"},{"product":"tl-wvr1300g_firmware","vendor":"tp-link"},{"product":"tl-wvr1300l_firmware","vendor":"tp-link"},{"product":"tl-wvr1750l_firmware","vendor":"tp-link"},{"product":"tl-wvr300_firmware","vendor":"tp-link"},{"product":"tl-wvr302_firmware","vendor":"tp-link"},{"product":"tl-wvr4300l_firmware","vendor":"tp-link"},{"product":"tl-wvr450_firmware","vendor":"tp-link"},{"product":"tl-wvr450g_firmware","vendor":"tp-link"},{"product":"tl-wvr450l_firmware","vendor":"tp-link"},{"product":"tl-wvr458_firmware","vendor":"tp-link"},{"product":"tl-wvr458l_firmware","vendor":"tp-link"},{"product":"tl-wvr458p_firmware","vendor":"tp-link"},{"product":"tl-wvr900g_firmware","vendor":"tp-link"},{"product":"tl-wvr900l_firmware","vendor":"tp-link"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"The locale feature in cgi-bin/luci on TP-Link TL-WVR, TL-WAR, TL-ER, and TL-R devices allows remote authenticated users to test for the existence of arbitrary files by making an operation=write;locale=%0d request, and then making an operation=read request with a crafted Accept-Language HTTP header, related to the set_sysinfo and get_sysinfo functions in /usr/lib/lua/luci/controller/locale.lua in uhttpd.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Path traversal in n/a","id":"CVE-2017-16959","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2017"},"n_packages":0,"n_references":1,"next":{"headline":"Command injection in n/a","id":"CVE-2017-16960"},"packages":[],"prev":{"headline":"Command injection in n/a","id":"CVE-2017-16958"},"products":["n/a"],"published":"2017-11-27","related":[{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2017-16957","kev_date_added":null,"published":"2017-11-27"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2017-16958","kev_date_added":null,"published":"2017-11-27"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2017-16960","kev_date_added":null,"published":"2017-11-27"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Authenticated attackers can read arbitrary files on TP-Link routers via crafted HTTP headers in the locale feature.","url":"https://insights.sbomify.com/CVE-2017-16959/"}