Terminal hijacking in shadow and sudo
Red Hat shadow
At a glance
There is a possible tty hijacking in shadow 4.x before 4.1.5 and sudo 1.x before 1.7.4 via "su - user -c program". The user session can be escaped to the parent session by using the TIOCSTI ioctl to push characters into the input buffer to be read by the next process.
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 0.63%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Red Hat | shadow | Affected versions: 4.x before 4.1.5 |
| Vendor:Red Hat | sudo | Affected versions: 1.x before 1.7.4 |
| Vendor:Debian | shadow | Affected versions: ≥ 4.0.0, ≤ 4.1.5 |
| Vendor:sudo_project | sudo | Affected versions: ≥ 1.3.0, ≤ 1.7.4 |
| Vendor:Debian | debian linux | Affected versions:10.0Show full version range for debian linux8.09.0 |
| Vendor:redhat | enterprise linux | Affected versions:4Show full version range for enterprise linux56.0 |
| Vendor:Red Hat | Red Hat Enterprise Linux 4 | Affected versions:Source does not specify a version range |
1–7 of 7 · Page 1 of 1
CVSS scores and metrics6
[email protected] · NVD (Primary)Primary7.8 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hnvd · Wazuh CTI (cna)7.8 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H[email protected] · NVD (Primary)7.2 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:L/Au:N/C:C/I:C/A:Cnvd · Wazuh CTI (cna)7.2 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:L/Au:N/C:C/I:C/A:Credhat · Wazuh CTI (adp)6.2 / 10MediumCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:H/Au:N/C:C/I:C/A:CRed Hat · Red Hat VEX (adp)6.2 / 10MediumCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:H/Au:N/C:C/I:C/A:CCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences