9.8
CVSSv3

CVE-2023-45158

Published: 16/10/2023 Updated: 18/10/2023
CVSS v3 Base Score: 9.8 | Impact Score: 5.9 | Exploitability Score: 3.9
VMScore: 0

Vulnerability Summary

An OS command injection vulnerability exists in web2py 2.24.1 and previous versions. 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 Trend

Vulnerable Product Search on Vulmon Subscribe to Product

web2py web2py

Github Repositories

CVE-2023-45158 Steps Run the webserver cd web2py python3 web2pypy Inject your command using the URL <IP-ADDRESS>:8000/hack?msg=%27%3B<YOUR-COMMAND>%3B%27 Replace <IP-ADDRESS> and <YOUR-COMMAND> with your values Examples Create a file on the server <IP-ADD