CVE-2023-45158

An OS command injection vulnerability exists in web2py 2.24.1 and earlier

published October 16, 2023

CVSS
โ€”
EPSS
4%
Percentile
91.3
In the wild
Unconfirmed
What it is

โš ๏ธ A crafty web request could turn your server into a puppet on a string! With this OS command injection vulnerability in web2py 2.24.1 and earlier, attackers could execute arbitrary commands if your configuration is set just right. ๐Ÿ”ฅ Think of it like a waiter who takes a customer's special request without double-checking the order โ€” if the kitchen isn't careful, they might whip up something completely unexpected! In this case, the web server might serve up commands that were never intended to be executed. This could lead to full control over the server, allowing attackers to execute potentially malicious commands and manipulate server data. The risks could range from data breaches to complete server compromise, all because of a single overlooked configuration. That's definitely not the kind of surprise you want in your server kitchen!

Put simply

Think of it like a waiter who takes a customer's special request without double-checking the order โ€” if the kitchen isn't careful, they might whip up something completely unexpected! In this case, the web server might serve up commands that were never intended to be executed. This vulnerability allows for OS command injection when web2py is configured to use notifySendHandler for logging. By sending a specially crafted web request, an attacker can execute arbitrary commands on the server, exploiting the trust between the web application and the OS.

What to do

This could lead to full control over the server, allowing attackers to execute potentially malicious commands and manipulate server data. The risks could range from data breaches to complete server compromise, all because of a single overlooked configuration. That's definitely not the kind of surprise you want in your server kitchen! To remediate this issue, check your configuration to ensure you're not using notifySendHandler for logging. Update to the latest version of web2py if you're currently running 2.24.1 or earlier, and take a moment to review your server's security practices. You've got this! Follow these steps, and you'll keep your server safe and sound! ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.04412 ยท 91.3th percentile
Published
2023-10-16T07:53Z
EPSS history
Timeline
  • 16 OCT 07:53Z
    An OS command injection vulnerability exists in web2py 2.24.1 and earlier
    cvelistv5