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.037 (89.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 89.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.037 · newest: 0.037 · change: 0.000
Affected products
- Web2py — versions 2.24.1 and earlier
Weakness classification (CWE)
Public proof-of-concept exploits
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)
Frequently asked questions
- What is CVE-2023-45158?
- CVE-2023-45158 is a critical-severity vulnerability in Web2py, classified under OS Command Injection. CVSS score: 9.8/10. Published 2023-10-16.
- How severe is CVE-2023-45158?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2023-45158 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.