OS Command Injection Affecting pam_cifscreds package, versions *


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.11% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-PAMCIFSCREDS-1340859
  • published26 Jul 2021
  • disclosed3 Sept 2020

Introduced: 3 Sep 2020

CVE-2020-14342  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 pam_cifscreds.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pam_cifscreds package and not the pam_cifscreds package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

It was found that cifs-utils' mount.cifs was invoking a shell when requesting the Samba password, which could be used to inject arbitrary commands. An attacker able to invoke mount.cifs with special permission, such as via sudo rules, could use this flaw to escalate their privileges.

CVSS Scores

version 3.1