CVE-2018-1113 in Redhat Enterprise Linux Desktop and 5 more products
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 ...
Affects 6 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Workstation | 7.0 |
| Redhat | Setup | < 2.11.4 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Fedoraproject Fedora, Redhat Enterprise Linux
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-1113 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-223122-M |
| CVSS vector | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| Published | 2018-07-03 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-285: CWE-285
CWE-732: Incorrect Permission Assignment for Critical Resource
Software sets permissions on critical resources allowing unintended actors to read or modify them.
Related attack patterns (CAPEC)
CAPEC-5 Blue Boxing via CWE-285
CAPEC-13 Subverting Environment Variable Values via CWE-285
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-285
CAPEC-51 Poison Web Service Registry via CWE-285
CAPEC-59 Session Credential Falsification through Prediction via CWE-285
Show all 24
CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-285, CWE-732
CAPEC-61 Session Fixation via CWE-732
CAPEC-76 Manipulating Web Input to File System Calls via CWE-285
CAPEC-127 Directory Indexing via CWE-285, CWE-732
CAPEC-206 Signing Malicious Code via CWE-732
CAPEC-402 Bypassing ATA Password Security via CWE-285
CAPEC-642 Replace Binaries via CWE-732
CAPEC-647 Collect Data from Registries via CWE-285
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-285, CWE-732
CAPEC-17 Using Malicious Files via CWE-285, CWE-732
CAPEC-39 Manipulating Opaque Client-based Data Tokens via CWE-285
CAPEC-62 Cross Site Request Forgery via CWE-732
CAPEC-77 Manipulating User-Controlled Variables via CWE-285
CAPEC-87 Forceful Browsing via CWE-285
CAPEC-104 Cross Zone Scripting via CWE-285
CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels via CWE-732
CAPEC-234 Hijacking a privileged process via CWE-732
CAPEC-668 Key Negotiation of Bluetooth Attack (KNOB) via CWE-285
CAPEC-122 Privilege Abuse via CWE-732
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2018. A medium severity vulnerability affects Fedoraproject systems (CVE-2018-1113). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
Questions
What is CVE-2018-1113?
This vulnerability was disclosed in 2018. A medium severity vulnerability affects Fedoraproject systems (CVE-2018-1113). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2018-1113?
CVE-2018-1113 has CVSS 5.3 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L. EPSS: 0.3%.
Is CVE-2018-1113 actively exploited?
No confirmed active exploitation of CVE-2018-1113 as of 2026-05-30.
How do I remediate CVE-2018-1113?
Priority: MONITOR. Advisory: https://access.redhat.com/errata/RHBA-2019:0327 PSIRT: [email protected]
What systems are affected by CVE-2018-1113?
CVE-2018-1113 affects Redhat Enterprise Linux Desktop, Enterprise Linux Server, Enterprise Linux Workstation, Setup.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Redhat","product":"Enterprise Linux Desktop","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.