CVE-2018-1113
setup: nologin listed in /etc/shells violates security expectations
Overview
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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Weakness: CWE-285, CWE-732
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 2 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | setup | 2.8.71-10.el7 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | setup | 0:2.8.71-10.el7 | RHSA-2018:3249 |
References
- access.redhat.com https://access.redhat.com/errata/RHBA-2019:0327
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3249
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-1113
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1113
- linux.oracle.com https://linux.oracle.com/cve/CVE-2018-1113.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2018-3249.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-1113
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-1113
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.