CVE-2021-40084

opensysusers through 0.6 does not safely use eval on files in sysusers.d that may contain shell metacharacters

published August 25, 2021

CVSS
—
EPSS
3%
Percentile
87.0
In the wild
Unconfirmed
What it is

⚠️ A crafty command in the GECOS field could execute any shell command! This vulnerability in opensysusers allows attackers to exploit unsafe eval usage in sysusers.d files. 🛠️ Think of opensysusers as a restaurant that accepts orders without checking them first — if the chef blindly cooks what’s written down, anyone could slip in a recipe for disaster instead of dinner! 🍽️ An attacker could cleverly craft a GECOS field to execute arbitrary commands, resulting in unauthorized access or control over the system. While this isn’t currently exploited, the potential for chaos is absolutely significant! 🔥

Put simply

Think of opensysusers as a restaurant that accepts orders without checking them first — if the chef blindly cooks what’s written down, anyone could slip in a recipe for disaster instead of dinner! 🍽️ This vulnerability arises from opensysusers' use of eval on files in sysusers.d, allowing attackers to inject shell metacharacters that the system will execute without verification — unlike its safer counterpart, systemd-sysusers.

What to do

An attacker could cleverly craft a GECOS field to execute arbitrary commands, resulting in unauthorized access or control over the system. While this isn’t currently exploited, the potential for chaos is absolutely significant! 🔥 Ensure you upgrade to a patched version of opensysusers that addresses this vulnerability. Review your GECOS fields and apply stringent input validation to mitigate potential command injection risks. 🛡️ You've got this! By securing your configuration, you’re one step closer to becoming a security hero! 🌟

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02933 · 87.0th percentile
Published
2021-08-25T00:21Z
EPSS history
Timeline
  • 25 AUG 00:21Z
    opensysusers through 0.6 does not safely use eval on files in sysusers.d that may contain shell metacharacters
    cvelistv5