{"id":"CVE-2023-45158","published":"2023-10-16T07:53:52Z","modified":"2024-09-18T14:02:11Z","title":"An OS command injection vulnerability exists in web2py 2.24.1 and earlier","vendor":"web2py","product":"web2py","tier":"tail","description":{"text":"An OS command injection vulnerability exists in web2py 2.24.1 and earlier. When the product is configured to use notifySendHandler for logging (not the default configuration), a crafted web request may execute an arbitrary OS command on the web server using the product.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04412,"percentile":0.9156,"provenance":"source"},"cwes":[],"references":[{"url":"http://web2py.com/","tags":[]},{"url":"http://web2py.com/init/default/download","tags":[]},{"url":"https://github.com/web2py/web2py/commit/936e2260b0c34c44e2f3674a893e96d2a7fad0a3","tags":[]},{"url":"https://jvn.jp/en/jp/JVN80476432/","tags":[]}],"priority":{"score":23.3,"factors":[{"name":"EPSS percentile","points":18.31},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-11-04","earliestUrl":"https://github.com/yifanzhg/CVE-2023-45158","repos":[{"name":"yifanzhg/CVE-2023-45158","url":"https://github.com/yifanzhg/CVE-2023-45158","stars":4,"created":"2023-11-04"}]},"first":{"date":"2023-11-04","source":"PoC-in-GitHub","url":"https://github.com/yifanzhg/CVE-2023-45158"},"provenance":"source"},"vendorSlug":"web2py","affectedVersions":[{"vendor":"web2py","product":"web2py","versions":["2.24.1 and earlier"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-09-18T14:02:01.283678Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"An OS command injection flaw exists in the web2py web framework, versions 2.24.1 and earlier, within its logging functionality when the notifySendHandler logging handler is configured (a non-default setup). Exploitation requires an attacker to send a crafted web request to the server, which can then execute an arbitrary OS command with the privileges of the web2py process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:46Z"},"euvd":{"id":"EUVD-2023-49465","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-web2py-cve-2022-33146","parents":[{"from":"CVE-2022-33146","to":"CVE-2023-45158","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["gluon/packages/dal"],"commits":["https://github.com/web2py/web2py/commit/d9805606f88f00c0be56438247605cefde73e14e","https://github.com/web2py/web2py/commit/a181b855a43cb8b479d276b082cfcde385768451","https://github.com/web2py/web2py/commit/936e2260b0c34c44e2f3674a893e96d2a7fad0a3"],"basis":"rarely changed file"}]}]}}