{"answers":{"affected":"It affects 53 products.","exploited":"There is no known exploitation of CVE-2017-16958 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2017-16958 yet. Limit exposure of the affected software until one is available.","what":"CVE-2017-16958 is a high-severity command injection 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-16958 and fix it if it is affected.\n\nWhat it is: CVE-2017-16958 is a high-severity command injection 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-16958 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-16958/ (Markdown: https://insights.sbomify.com/CVE-2017-16958/index.md)","id":"CVE-2017-16958","markdown":"https://insights.sbomify.com/CVE-2017-16958/index.md","name":"CVE-2017-16958","record":{"aliases":["GHSA-p2qg-hvxw-79wv"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"TP-Link router firmware","requires_auth":"low_privilege","summary":"Authenticated attackers can execute arbitrary commands on TP-Link routers via shell metacharacters in the bridge configuration interface.","user_interaction":"not_required","vuln_class":"command_injection"},"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":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"TP-Link TL-WVR, TL-WAR, TL-ER, and TL-R devices allow remote authenticated users to execute arbitrary commands via shell metacharacters in the t_bindif field of an admin/bridge command to cgi-bin/luci, related to the get_device_byif function in /usr/lib/lua/luci/controller/admin/bridge.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":"Command injection in n/a","id":"CVE-2017-16958","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2017"},"n_packages":0,"n_references":1,"next":{"headline":"Path traversal in n/a","id":"CVE-2017-16959"},"packages":[],"prev":{"headline":"Command injection in n/a","id":"CVE-2017-16957"},"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-16960","kev_date_added":null,"published":"2017-11-27"},{"cvss_score":6.5,"headline":"Path traversal in n/a","id":"CVE-2017-16959","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 execute arbitrary commands on TP-Link routers via shell metacharacters in the bridge configuration interface.","url":"https://insights.sbomify.com/CVE-2017-16958/"}