{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2017-6316 in the wild since at least 25 Mar 2022.","fix":"No fix has been published for CVE-2017-6316 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 15 Apr 2022.","what":"CVE-2017-6316 is a critical command injection vulnerability in n/a, published on 20 Jul 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-6316 and fix it if it is affected.\n\nWhat it is: CVE-2017-6316 is a critical command injection vulnerability in n/a, published on 20 Jul 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2017-6316 in the wild since at least 25 Mar 2022.\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-6316/ (Markdown: https://insights.sbomify.com/CVE-2017-6316/index.md)","id":"CVE-2017-6316","markdown":"https://insights.sbomify.com/CVE-2017-6316/index.md","name":"CVE-2017-6316","record":{"aliases":["GHSA-9f8x-323m-6vw4"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Citrix NetScaler SD-WAN","requires_auth":"none","summary":"Remote attackers can execute arbitrary shell commands as root on Citrix NetScaler SD-WAN devices via a crafted cookie.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"netscaler_sd-wan","vendor":"citrix"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"Citrix NetScaler SD-WAN devices through v9.1.2.26.561201 allow remote attackers to execute arbitrary shell commands as root via a CGISESSID cookie. On CloudBridge (the former name of NetScaler SD-WAN) devices, the cookie name was CAKEPHP rather than CGISESSID.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2017-07-19","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2017-07-19","kind":"exploitdb","ref":"42345","stars":null,"title":"Netscaler SD-WAN 9.1.2.26.561201 - Command Injection (Metasploit)"},{"date":"2017-07-19","kind":"exploitdb","ref":"42346","stars":null,"title":"Citrix CloudBridge - 'CAKEPHP' Cookie Command Injection"}],"tier":"exploited"},"has_fix":null,"headline":"Citrix Multiple Products Remote Code Execution","id":"CVE-2017-6316","indexable":true,"kev":{"dateAdded":"2022-03-25","dueDate":"2022-04-15","knownRansomwareCampaignUse":"Unknown","product":"NetScaler SD-WAN Enterprise, CloudBridge Virtual WAN, and XenMobile Server","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Citrix","vulnerabilityName":"Citrix Multiple Products Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2017"},"n_packages":0,"n_references":5,"next":{"headline":"Denial of service in n/a","id":"CVE-2017-6317"},"packages":[],"prev":{"headline":"Code injection in n/a","id":"CVE-2017-6315"},"products":["n/a"],"published":"2017-07-20","related":[{"cvss_score":9.8,"headline":"Citrix SD-WAN and NetScaler SQL Injection","id":"CVE-2019-12989","kev_date_added":"2022-03-25","published":"2019-07-16"},{"cvss_score":8.8,"headline":"Citrix SD-WAN and NetScaler Command Injection","id":"CVE-2019-12991","kev_date_added":"2022-03-25","published":"2019-07-16"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2019-12985","kev_date_added":null,"published":"2019-07-16"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2019-12986","kev_date_added":null,"published":"2019-07-16"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2019-12987","kev_date_added":null,"published":"2019-07-16"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2019-12988","kev_date_added":null,"published":"2019-07-16"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary shell commands as root on Citrix NetScaler SD-WAN devices via a crafted cookie.","url":"https://insights.sbomify.com/CVE-2017-6316/"}