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)

EPSS: 0.037 (88.6th percentile) — read the EPSS interpretation.

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.

Affected products

  • Web2py — versions 2.24.1 and earlier

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.