{"answers":{"affected":"12 open source packages ship an affected version, including cakephp/cakephp. It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-4793 in the wild and no public exploit code.","fix":"Upgrade cakephp/cakephp to a fixed version for your release line: 2.6.13, 2.7.11, 2.8.2 or 3.0.17.","what":"CVE-2016-4793 is a high-severity vulnerability in n/a, published on 23 Jan 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-2016-4793 and fix it if it is affected.\n\nWhat it is: CVE-2016-4793 is a high-severity vulnerability in n/a, published on 23 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2016-4793 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cakephp/cakephp (Packagist): affected from 1.2.0; fixed in 2.6.13\n- cakephp/cakephp (Packagist): affected from 1.2.0; fixed in 2.6.13\n- cakephp/cakephp (Packagist): affected from 2.7.0-rc1; fixed in 2.7.11\n- cakephp/cakephp (Packagist): affected from 2.7.0-rc1; fixed in 2.7.11\n- cakephp/cakephp (Packagist): affected from 2.8.0-rc1; fixed in 2.8.2\n- cakephp/cakephp (Packagist): affected from 2.8.0-rc1; fixed in 2.8.2\n- cakephp/cakephp (Packagist): affected from 3.0.0-rc1; fixed in 3.0.17\n- cakephp/cakephp (Packagist): affected from 3.0.0-rc1; fixed in 3.0.17\n- cakephp/cakephp (Packagist): affected from 3.1.0-beta1; fixed in 3.1.12\n- cakephp/cakephp (Packagist): affected from 3.1.0-beta1; fixed in 3.1.12\n- cakephp/cakephp (Packagist): affected from 3.2.0-rc1; fixed in 3.2.5\n- cakephp/cakephp (Packagist): affected from 3.2.0-rc1; fixed in 3.2.5\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-2016-4793/ (Markdown: https://insights.sbomify.com/CVE-2016-4793/index.md)","id":"CVE-2016-4793","markdown":"https://insights.sbomify.com/CVE-2016-4793/index.md","name":"CVE-2016-4793","record":{"aliases":["DEBIAN-CVE-2016-4793","DLA-835-1","GHSA-j8p3-8m69-2hqq","UBUNTU-CVE-2016-4793"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"CakePHP framework","requires_auth":"none","summary":"Remote attackers can spoof their IP address by manipulating the CLIENT-IP HTTP header in CakePHP applications.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cakephp","vendor":"cakephp"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"The clientIp function in CakePHP 3.2.4 and earlier allows remote attackers to spoof their IP via the CLIENT-IP HTTP header.","ecosystems":["Packagist"],"exploits":{"exploitdb":1,"first_seen":"2016-05-16","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2016-05-16","kind":"exploitdb","ref":"39813","stars":null,"title":"CakePHP Framework 3.2.4 - IP Spoofing"}],"tier":"poc_unverified"},"has_fix":true,"headline":"CakePHP allows remote attackers to spoof their IP","id":"CVE-2016-4793","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"other","year":"2016"},"n_packages":12,"n_references":5,"next":{"headline":"Use after free in n/a","id":"CVE-2016-4794"},"packages":[{"ecosystem":"Packagist","fixed":["2.6.13"],"introduced":["1.2.0"],"last_affected":[],"package":"cakephp/cakephp","purl":null,"source":"GHSA-j8p3-8m69-2hqq"},{"ecosystem":"Packagist","fixed":["2.6.13"],"introduced":["1.2.0"],"last_affected":[],"package":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","source":"GHSA-j8p3-8m69-2hqq"},{"ecosystem":"Packagist","fixed":["2.7.11"],"introduced":["2.7.0-rc1"],"last_affected":[],"package":"cakephp/cakephp","purl":null,"source":"GHSA-j8p3-8m69-2hqq"},{"ecosystem":"Packagist","fixed":["2.7.11"],"introduced":["2.7.0-rc1"],"last_affected":[],"package":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","source":"GHSA-j8p3-8m69-2hqq"},{"ecosystem":"Packagist","fixed":["2.8.2"],"introduced":["2.8.0-rc1"],"last_affected":[],"package":"cakephp/cakephp","purl":null,"source":"GHSA-j8p3-8m69-2hqq"},{"ecosystem":"Packagist","fixed":["2.8.2"],"introduced":["2.8.0-rc1"],"last_affected":[],"package":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","source":"GHSA-j8p3-8m69-2hqq"},{"ecosystem":"Packagist","fixed":["3.0.17"],"introduced":["3.0.0-rc1"],"last_affected":[],"package":"cakephp/cakephp","purl":null,"source":"GHSA-j8p3-8m69-2hqq"},{"ecosystem":"Packagist","fixed":["3.0.17"],"introduced":["3.0.0-rc1"],"last_affected":[],"package":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","source":"GHSA-j8p3-8m69-2hqq"},{"ecosystem":"Packagist","fixed":["3.1.12"],"introduced":["3.1.0-beta1"],"last_affected":[],"package":"cakephp/cakephp","purl":null,"source":"GHSA-j8p3-8m69-2hqq"},{"ecosystem":"Packagist","fixed":["3.1.12"],"introduced":["3.1.0-beta1"],"last_affected":[],"package":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","source":"GHSA-j8p3-8m69-2hqq"},{"ecosystem":"Packagist","fixed":["3.2.5"],"introduced":["3.2.0-rc1"],"last_affected":[],"package":"cakephp/cakephp","purl":null,"source":"GHSA-j8p3-8m69-2hqq"},{"ecosystem":"Packagist","fixed":["3.2.5"],"introduced":["3.2.0-rc1"],"last_affected":[],"package":"cakephp/cakephp","purl":"pkg:composer/cakephp/cakephp","source":"GHSA-j8p3-8m69-2hqq"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2016-4792"},"products":["n/a"],"published":"2017-01-23","related":[{"cvss_score":9.8,"headline":"Database Query::offset() and limit() vulnerable to SQL injection in cakephp","id":"CVE-2023-22727","kev_date_added":null,"published":"2023-01-17"},{"cvss_score":8.8,"headline":"CakePHP allows method override parameters to bypass CSRF checks","id":"CVE-2020-35239","kev_date_added":null,"published":"2021-01-20"},{"cvss_score":8.8,"headline":"CakePHP might allow remote attackers to bypass CSRF protection mechanism via the _method parameter","id":"CVE-2015-8379","kev_date_added":null,"published":"2016-01-26"},{"cvss_score":7.5,"headline":"Unsafe deserialization in SmtpTransport in CakePHP","id":"CVE-2019-11458","kev_date_added":null,"published":"2019-05-08"},{"cvss_score":5.4,"headline":"CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting","id":"CVE-2026-23643","kev_date_added":null,"published":"2026-01-16"},{"cvss_score":5.1,"headline":"CakePHP: Open redirect weakness via backslash bypass","id":"CVE-2026-55590","kev_date_added":null,"published":"2026-07-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can spoof their IP address by manipulating the CLIENT-IP HTTP header in CakePHP applications.","url":"https://insights.sbomify.com/CVE-2016-4793/"}