CVE-2020-15477

The WebControl in RaspberryTortoise through 2012-10-28 is vulnerable to remote code execution via shell metacharacters in a URI

published July 23, 2020

CVSS
—
EPSS
5%
Percentile
92.2
In the wild
Unconfirmed
What it is

🚨 An unfiltered URI lets an attacker run commands remotely — it’s like a delivery service that accepts any address without question! Imagine ordering a pizza and the delivery driver takes you at your word, without verifying the address. That’s essentially what’s happening here: an incoming string is processed without any checks, allowing unwanted commands to be executed. An attacker could exploit this vulnerability to execute arbitrary code on the server, potentially leading to a complete takeover. This could allow them to access sensitive data, modify files, or disrupt services, causing mayhem in your application.

Put simply

Imagine ordering a pizza and the delivery driver takes you at your word, without verifying the address. That’s essentially what’s happening here: an incoming string is processed without any checks, allowing unwanted commands to be executed. This vulnerability exists in RaspberryTortoise's WebControl, where unsanitized input from a URI is passed directly to the child_process.exec function. This lack of validation opens the door for remote code execution via shell metacharacters.

What to do

An attacker could exploit this vulnerability to execute arbitrary code on the server, potentially leading to a complete takeover. This could allow them to access sensitive data, modify files, or disrupt services, causing mayhem in your application. To mitigate this issue, ensure that user input is properly sanitized before it’s used in command execution. Review the code in nodejs/raspberryTortoise.js and implement input validation as soon as possible. Updating to a patched version, if available, is also advisable. You’ve got this! With these steps, you’ll strengthen your defenses and keep the bad guys out! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.04967 · 92.2th percentile
Published
2020-07-23T19:46Z
EPSS history
Timeline
  • 23 JUL 19:46Z
    The WebControl in RaspberryTortoise through 2012-10-28 is vulnerable to remote code execution via shell metacharacters in a URI
    cvelistv5