RCE in Web2py
CVE-2023-45158
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.044, 91.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Web2py — versions 2.24.1 and earlier
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- yifanzhg/CVE-2023-45158 (4 stars, last pushed 2023-11-04)
- Evan-Zhangyf/CVE-2023-45158
Also mentioned in 3 other repositories (20142995/nuclei-templates, cyb3r-w0lf/nuclei-template-collection, nomi-sec/PoC-in-GitHub). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- web2py.com/ (Product)
- web2py.com/init/default/download (Product)
- github.com/web2py/web2py/commit/936e2260b0c34c44e2f3674a893e96d2a7fad0a3 (Patch)
- jvn.jp/en/jp/JVN80476432/ (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.