CVE-2018-1113

setup: nologin listed in /etc/shells violates security expectations

Published Jul 2, 2018 CVSS 3.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
setup before version 2.11.4-1.fc28 in Fedora and Red Hat Enterprise Linux added /sbin/nologin and /usr/sbin/nologin to /etc/shells. This violates security assumptions made by pam_shells and some daemons which allow access based on a user's shell being listed in /etc/shells. Under some circumstances, users which had their shell changed to /sbin/nologin could still access the system.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-11758 setup before version 2.11.4-1.fc28 in Fedora and Red Hat Enterprise Linux added /sbin/nologin and /usr/sbin/nologin to /etc/shells. This violates security assumptions made by pam_shells and some daemons which allow access based on a user's shell being listed in /etc/shells. Under some circumstances, users which had their shell changed to /sbin/nologin could still access the system.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 3:51 AM
Reserved
Dec 4, 2017, 12:00 AM
Status
Modified
Published
Jul 3, 2018, 1:29 AM
Modified
Jun 17, 2026, 1:50 AM
Severity
Low
Public date
Apr 24, 2018, 12:00 AM