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.
{
"cna_assigner": "jpcert",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45158.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:web2py:web2py:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.24.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "936e2260b0c34c44e2f3674a893e96d2a7fad0a3"
}
],
"source": "REFERENCES_COMMIT"
}
]
}