{"id":"CVE-2022-24711","published":"2022-02-28T15:45:11Z","modified":"2025-04-23T19:00:16Z","title":"Remote CLI Command Execution Vulnerability in CodeIgniter4","vendor":"codeigniter4","product":"CodeIgniter4","tier":"tail","description":{"text":"CodeIgniter4 is the 4.x branch of CodeIgniter, a PHP full-stack web framework. Prior to version 4.1.9, an improper input validation vulnerability allows attackers to execute CLI routes via HTTP request. Version 4.1.9 contains a patch. There are currently no known workarounds for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01173,"percentile":0.67436,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-xjp4-6w75-qrj7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/codeigniter4/CodeIgniter4/commit/202f41ad522ba1d414b9d9c35aba1cb0c156b781","tags":["x_refsource_MISC"]}],"priority":{"score":20.1,"factors":[{"name":"EPSS percentile","points":13.49},{"name":"CVSS severity","points":6.58}]},"vendorSlug":"codeigniter4","affectedVersions":[{"vendor":"codeigniter4","product":"CodeIgniter4","versions":["< 4.1.9"]}],"affected":[{"ecosystem":"Packagist","package":"codeigniter4/framework","vulnerableRanges":["<4.1.9"],"patched":["4.1.9"],"from":["GHSA-xjp4-6w75-qrj7"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-1584","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-codeigniter4-cve-2022-21715","parents":[{"from":"CVE-2022-21715","to":"CVE-2022-24711","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:codeigniter4/framework","fromFixed":"4.1.8","toFixed":"4.1.9","daysApart":35},{"kind":"same-code","provenance":"machine","files":["system/CodeIgniter.php","user_guide_src/source/conf.py"],"commits":["https://github.com/codeigniter4/CodeIgniter4/commit/70d881cf5322b7c32e69516aebd2273ac6a1e8dd","https://github.com/codeigniter4/CodeIgniter4/commit/202f41ad522ba1d414b9d9c35aba1cb0c156b781"],"basis":"shared function","functions":["CodeIgniter"]}]}],"children":[{"from":"CVE-2022-24711","to":"CVE-2022-23556","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["phpstan-baseline.neon.dist"],"commits":["https://github.com/codeigniter4/CodeIgniter4/commit/5ca8c99b2db09a2a08a013836628028ddc984659","https://github.com/codeigniter4/CodeIgniter4/commit/202f41ad522ba1d414b9d9c35aba1cb0c156b781"],"basis":"rarely changed file"}]},{"from":"CVE-2022-24711","to":"CVE-2024-29904","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["system/CodeIgniter.php"],"commits":["https://github.com/codeigniter4/CodeIgniter4/commit/202f41ad522ba1d414b9d9c35aba1cb0c156b781","https://github.com/codeigniter4/CodeIgniter4/commit/fa851acbae7ae4c5a97f8f38ae87aa0822a334c0"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2017-1000247","published":"2017-11-17","fixed":"3.1.4","kev":false},{"cve":"CVE-2022-21647","published":"2022-01-04","fixed":"4.1.6","kev":false},{"cve":"CVE-2022-21715","published":"2022-01-24","fixed":"4.1.8","kev":false},{"cve":"CVE-2022-24711","published":"2022-02-28","fixed":"4.1.9","kev":false},{"cve":"CVE-2022-24712","published":"2022-02-28","fixed":"4.1.9","kev":false},{"cve":"CVE-2022-39284","published":"2022-10-06","fixed":"4.2.7","kev":false},{"cve":"CVE-2022-23556","published":"2022-12-22","fixed":"4.2.11","kev":false}],"package":"Packagist:codeigniter4/framework"}}