{"api_version":"1","generated_at":"2026-07-23T18:36:49+00:00","cve":"CVE-2023-45158","urls":{"html":"https://cve.report/CVE-2023-45158","api":"https://cve.report/api/cve/CVE-2023-45158.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-45158","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-45158"},"summary":{"title":"CVE-2023-45158","description":"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.","state":"PUBLIC","assigner":"vultures@jpcert.or.jp","published_at":"2023-10-16 08:15:00","updated_at":"2023-10-18 19:58:00"},"problem_types":["CWE-78"],"metrics":[],"references":[{"url":"https://github.com/web2py/web2py/commit/936e2260b0c34c44e2f3674a893e96d2a7fad0a3","name":"https://github.com/web2py/web2py/commit/936e2260b0c34c44e2f3674a893e96d2a7fad0a3","refsource":"MISC","tags":[],"title":"fixed vulnerability JVN#80476432 · web2py/web2py@936e226 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://web2py.com/","name":"http://web2py.com/","refsource":"MISC","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://web2py.com/init/default/download","name":"http://web2py.com/init/default/download","refsource":"MISC","tags":[],"title":"web2pyTM Download","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://jvn.jp/en/jp/JVN80476432/","name":"https://jvn.jp/en/jp/JVN80476432/","refsource":"MISC","tags":[],"title":"JVN#80476432: web2py vulnerable to OS command injection","mime":"text/xml","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-45158","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45158","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"45158","vulnerable":"1","versionEndIncluding":"2.24.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"web2py","cpe5":"web2py","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-45158","ASSIGNER":"vultures@jpcert.or.jp","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"OS command injection"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"web2py","product":{"product_data":[{"product_name":"web2py","version":{"version_data":[{"version_affected":"=","version_value":"2.24.1 and earlier"}]}}]}}]}},"references":{"reference_data":[{"url":"http://web2py.com/","refsource":"MISC","name":"http://web2py.com/"},{"url":"http://web2py.com/init/default/download","refsource":"MISC","name":"http://web2py.com/init/default/download"},{"url":"https://github.com/web2py/web2py/commit/936e2260b0c34c44e2f3674a893e96d2a7fad0a3","refsource":"MISC","name":"https://github.com/web2py/web2py/commit/936e2260b0c34c44e2f3674a893e96d2a7fad0a3"},{"url":"https://jvn.jp/en/jp/JVN80476432/","refsource":"MISC","name":"https://jvn.jp/en/jp/JVN80476432/"}]}},"nvd":{"publishedDate":"2023-10-16 08:15:00","lastModifiedDate":"2023-10-18 19:58:00","problem_types":["CWE-78"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:web2py:web2py:*:*:*:*:*:*:*:*","versionEndIncluding":"2.24.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}