CVE-2023-38336

netkit-rcp in rsh-client 0.17-24 allows command injection via filenames because /bin/sh is used by susystem, a related issue to CVE-2006-0225, CVE-2019-7283…

published July 14, 2023

CVSS
—
EPSS
2%
Percentile
81.2
In the wild
Unconfirmed
What it is

⚠️ A simple filename could launch a command injection attack! The netkit-rcp in rsh-client 0.17-24 uses /bin/sh in a way that could allow attackers to sneak commands through filenames. 🔥 Think of it like a restaurant where the chef accepts any dish name without checking the recipe — a clever customer could ask for something bizarre, and if the chef complies, chaos ensues in the kitchen! If exploited, an attacker could craft a filename that executes arbitrary commands on the server, potentially compromising the system. This could lead to unauthorized access or even full control over the environment, which is absolutely devastating!

Put simply

Think of it like a restaurant where the chef accepts any dish name without checking the recipe — a clever customer could ask for something bizarre, and if the chef complies, chaos ensues in the kitchen! The vulnerability arises from netkit-rcp allowing command injection via filenames because it executes commands using /bin/sh in a subprocess, leading to a direct path for malicious input.

What to do

If exploited, an attacker could craft a filename that executes arbitrary commands on the server, potentially compromising the system. This could lead to unauthorized access or even full control over the environment, which is absolutely devastating! To fix this issue, update to a more secure version of the rsh-client if available, or consider disabling netkit-rcp if not needed. Also, review filename handling procedures to ensure they properly sanitize input before execution. You've got this! With a few updates, you'll enhance your system’s security and keep those sneaky commands at bay! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02062 · 81.2th percentile
Published
2023-07-14T00:00Z
EPSS history
Timeline
  • 14 JUL 00:00Z
    netkit-rcp in rsh-client 0.17-24 allows command injection via filenames because /bin/sh is used by susystem, a related issue to CVE-2006-0225, CVE-2019-7283…
    cvelistv5