CVE-2023-45158

CRITICAL LAB

web2py < 2.24.1 - OS Command Injection via notifySendHandler Logging

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2023-45158. PoCs published by yifanzhg.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2023-45158, demonstrating command injection via a crafted URL parameter in web2py. The README provides clear steps and examples for executing arbitrary commands, including a reverse shell.

Description

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.

Exploits (2)

nomisec WORKING POC 4 stars
by yifanzhg · poc
https://github.com/yifanzhg/CVE-2023-45158

This repository contains a functional exploit for CVE-2023-45158, demonstrating command injection via a crafted URL parameter in web2py. The README provides clear steps and examples for executing arbitrary commands, including a reverse shell.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: web2py (version not explicitly specified)
No auth needed
Prerequisites: Access to the web2py server · Network connectivity to the target
devstral-2 · analyzed Feb 19, 2026 Full analysis →
inthewild WORKING POC
poc
https://github.com/evan-zhangyf/cve-2023-45158

This repository contains a functional exploit for CVE-2023-45158, demonstrating command injection via a crafted URL parameter in web2py. The README provides clear steps and examples for executing arbitrary commands, including a reverse shell.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: web2py (version not explicitly specified)
No auth needed
Prerequisites: Access to the web2py server · Network connectivity to the target
devstral-2 · analyzed Feb 23, 2026 Full analysis →

Scores

CVSS v3 9.8
EPSS 0.1503
EPSS Percentile 94.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-78
Status published
Products (1)
web2py/web2py < 2.24.1
Published Oct 16, 2023
Tracked Since Feb 18, 2026