CCE-95694-6Platform: cpe:/o:debian:debian_linux:11.x, cpe:/o:ubuntu:ubuntu_linux:16.04, cpe:/o:ubuntu:ubuntu_linux:18.04, cpe:/o:ubuntu:ubuntu_linux:20.04, cpe:/o:ubuntu:ubuntu_linux:22.04, cpe:/o:ubuntu:ubuntu_linux:23.04 | Date: (C)2021-03-08 (M)2023-09-01 |
The default timeout variable determines the shell timeout for users. The timeout value is measured in seconds.
Rationale:
Having no timeout value associated with a shell could allow an unauthorized user access to another user's shell session (e.g. user walks away from their computer and doesn't lock the screen). Setting a timeout value at least reduces the risk of this happening.
Fix:
Edit /etc/profile and /etc/bashrc to include the following: TMOUT=900 export TMOUT readonly TMOUT
Parameter:
[900]
Technical Mechanism:
Edit /etc/profile and /etc/bashrc to include the following: TMOUT=900 export TMOUT readonly TMOUT
CCSS Severity: | CCSS Metrics: |
CCSS Score : 9.8 | Attack Vector: NETWORK |
Exploit Score: 3.9 | Attack Complexity: LOW |
Impact Score: 5.9 | Privileges Required: NONE |
Severity: CRITICAL | User Interaction: NONE |
Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Scope: UNCHANGED |
| Confidentiality: HIGH |
| Integrity: HIGH |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:87414 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70726 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:92292 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:85271 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68749 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70829 |