Description

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.

INFO

Published Date :

Nov. 4, 2019, 7:15 p.m.

Last Modified :

Nov. 21, 2024, 12:05 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2005-4890 has a 18 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2005-4890 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
2 Debian shadow
1 Redhat enterprise_linux
1 Sudo_project sudo
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2005-4890.

URL Resource
http://www.openwall.com/lists/oss-security/2012/11/06/8 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2013/05/20/3 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2013/11/28/10 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2013/11/29/5 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2014/10/20/9 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2014/10/21/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2014/12/15/5 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/02/25/6 Exploit Mailing List Third Party Advisory
https://access.redhat.com/security/cve/cve-2005-4890 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890 Issue Tracking Third Party Advisory
https://security-tracker.debian.org/tracker/CVE-2005-4890 Third Party Advisory
http://www.openwall.com/lists/oss-security/2012/11/06/8 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2013/05/20/3 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2013/11/28/10 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2013/11/29/5 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2014/10/20/9 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2014/10/21/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2014/12/15/5 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/02/25/6 Exploit Mailing List Third Party Advisory
https://access.redhat.com/security/cve/cve-2005-4890 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890 Issue Tracking Third Party Advisory
https://security-tracker.debian.org/tracker/CVE-2005-4890 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Задание по DevSecOps второе задание

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 5, 2024, 8:20 p.m. This repo has been linked 92 different CVEs too.

None

Dart Makefile Java Kotlin Swift Objective-C PHP HTML

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 2, 2024, 12:51 p.m. This repo has been linked 1 different CVEs too.

None

Dart Makefile Java Kotlin Shell Swift Objective-C PHP HTML

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 2, 2024, 12:42 p.m. This repo has been linked 1 different CVEs too.

None

Dart Makefile Java Kotlin Shell Swift Objective-C PHP HTML

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 2, 2024, 12:37 p.m. This repo has been linked 1 different CVEs too.

None

Dart Makefile Java Kotlin CSS Swift Objective-C PHP HTML

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 1, 2024, 6:49 p.m. This repo has been linked 1 different CVEs too.

None

Dart Java Kotlin Swift Objective-C PHP HTML

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 1, 2024, 4:23 p.m. This repo has been linked 1 different CVEs too.

None

Dockerfile Roff Java

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Oct. 7, 2024, 8:52 a.m. This repo has been linked 127 different CVEs too.

None

Dart Makefile Java Kotlin CSS Shell Swift Objective-C HTML PHP

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 6, 2024, 4:02 p.m. This repo has been linked 1 different CVEs too.

None

Dart Makefile Java Kotlin CSS Shell Swift Objective-C HTML PHP

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 5, 2024, 5:31 p.m. This repo has been linked 1 different CVEs too.

None

Dockerfile Python

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : Oct. 5, 2024, 4:56 p.m. This repo has been linked 68 different CVEs too.

None

Dart Makefile Java Kotlin Shell Swift Objective-C HTML

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 4, 2024, 4:17 p.m. This repo has been linked 1 different CVEs too.

None

Java Kotlin Swift Objective-C Dart HTML PHP

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 3, 2024, 12:30 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 2, 2024, 12:33 p.m. This repo has been linked 1 different CVEs too.

None

asp-net-core csharp docker dockerfile javascript react webapi docker-compose

C# Dockerfile HTML JavaScript CSS

Updated: 8 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 22, 2024, 6:42 p.m. This repo has been linked 383 different CVEs too.

:ninja: seccomp-based anti-TTY-hijacking proof-of-concept (prevents TIOCSTI and TIOCLINUX)

ioctl linux security tioclinux tiocsti seccomp seccomp-filter seccomp-filtering seccomp-tools command-injection libseccomp tty c99 syscalls syscall-filter doas sudo

Makefile C

Updated: 1 month, 3 weeks ago
10 stars 0 fork 0 watcher
Born at : March 14, 2023, 7:12 p.m. This repo has been linked 20 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2005-4890 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2005-4890 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2012/11/06/8
    Added Reference http://www.openwall.com/lists/oss-security/2013/05/20/3
    Added Reference http://www.openwall.com/lists/oss-security/2013/11/28/10
    Added Reference http://www.openwall.com/lists/oss-security/2013/11/29/5
    Added Reference http://www.openwall.com/lists/oss-security/2014/10/20/9
    Added Reference http://www.openwall.com/lists/oss-security/2014/10/21/1
    Added Reference http://www.openwall.com/lists/oss-security/2014/12/15/5
    Added Reference http://www.openwall.com/lists/oss-security/2016/02/25/6
    Added Reference https://access.redhat.com/security/cve/cve-2005-4890
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890
    Added Reference https://security-tracker.debian.org/tracker/CVE-2005-4890
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CPE Deprecation Remap by [email protected]

    Aug. 18, 2020

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10:*:*:*:*:*:*:* OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • Initial Analysis by [email protected]

    Nov. 08, 2019

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.openwall.com/lists/oss-security/2012/11/06/8 No Types Assigned http://www.openwall.com/lists/oss-security/2012/11/06/8 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2013/05/20/3 No Types Assigned http://www.openwall.com/lists/oss-security/2013/05/20/3 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2013/11/28/10 No Types Assigned http://www.openwall.com/lists/oss-security/2013/11/28/10 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2013/11/29/5 No Types Assigned http://www.openwall.com/lists/oss-security/2013/11/29/5 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2014/10/20/9 No Types Assigned http://www.openwall.com/lists/oss-security/2014/10/20/9 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2014/10/21/1 No Types Assigned http://www.openwall.com/lists/oss-security/2014/10/21/1 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2014/12/15/5 No Types Assigned http://www.openwall.com/lists/oss-security/2014/12/15/5 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/02/25/6 No Types Assigned http://www.openwall.com/lists/oss-security/2016/02/25/6 Exploit, Mailing List, Third Party Advisory
    Changed Reference Type https://access.redhat.com/security/cve/cve-2005-4890 No Types Assigned https://access.redhat.com/security/cve/cve-2005-4890 Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2005-4890 Issue Tracking, Third Party Advisory
    Changed Reference Type https://security-tracker.debian.org/tracker/CVE-2005-4890 No Types Assigned https://security-tracker.debian.org/tracker/CVE-2005-4890 Third Party Advisory
    Added CWE NIST CWE-20
    Added CPE Configuration OR *cpe:2.3:a:debian:shadow:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (including) 4.1.5 *cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:* versions from (including) 1.3.0 up to (including) 1.7.4
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:5:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2005-4890 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2005-4890 weaknesses.

CAPEC-3: Using Leading 'Ghost' Character Sequences to Bypass Input Filters Using Leading 'Ghost' Character Sequences to Bypass Input Filters CAPEC-7: Blind SQL Injection Blind SQL Injection CAPEC-8: Buffer Overflow in an API Call Buffer Overflow in an API Call CAPEC-9: Buffer Overflow in Local Command-Line Utilities Buffer Overflow in Local Command-Line Utilities CAPEC-10: Buffer Overflow via Environment Variables Buffer Overflow via Environment Variables CAPEC-13: Subverting Environment Variable Values Subverting Environment Variable Values CAPEC-14: Client-side Injection-induced Buffer Overflow Client-side Injection-induced Buffer Overflow CAPEC-22: Exploiting Trust in Client Exploiting Trust in Client CAPEC-23: File Content Injection File Content Injection CAPEC-24: Filter Failure through Buffer Overflow Filter Failure through Buffer Overflow CAPEC-28: Fuzzing Fuzzing CAPEC-31: Accessing/Intercepting/Modifying HTTP Cookies Accessing/Intercepting/Modifying HTTP Cookies CAPEC-42: MIME Conversion MIME Conversion CAPEC-43: Exploiting Multiple Input Interpretation Layers Exploiting Multiple Input Interpretation Layers CAPEC-45: Buffer Overflow via Symbolic Links Buffer Overflow via Symbolic Links CAPEC-46: Overflow Variables and Tags Overflow Variables and Tags CAPEC-47: Buffer Overflow via Parameter Expansion Buffer Overflow via Parameter Expansion CAPEC-52: Embedding NULL Bytes Embedding NULL Bytes CAPEC-53: Postfix, Null Terminate, and Backslash Postfix, Null Terminate, and Backslash CAPEC-63: Cross-Site Scripting (XSS) Cross-Site Scripting (XSS) CAPEC-64: Using Slashes and URL Encoding Combined to Bypass Validation Logic Using Slashes and URL Encoding Combined to Bypass Validation Logic CAPEC-67: String Format Overflow in syslog() String Format Overflow in syslog() CAPEC-71: Using Unicode Encoding to Bypass Validation Logic Using Unicode Encoding to Bypass Validation Logic CAPEC-72: URL Encoding URL Encoding CAPEC-73: User-Controlled Filename User-Controlled Filename CAPEC-78: Using Escaped Slashes in Alternate Encoding Using Escaped Slashes in Alternate Encoding CAPEC-79: Using Slashes in Alternate Encoding Using Slashes in Alternate Encoding CAPEC-80: Using UTF-8 Encoding to Bypass Validation Logic Using UTF-8 Encoding to Bypass Validation Logic CAPEC-81: Web Server Logs Tampering Web Server Logs Tampering CAPEC-83: XPath Injection XPath Injection CAPEC-85: AJAX Footprinting AJAX Footprinting CAPEC-88: OS Command Injection OS Command Injection CAPEC-101: Server Side Include (SSI) Injection Server Side Include (SSI) Injection CAPEC-104: Cross Zone Scripting Cross Zone Scripting CAPEC-108: Command Line Execution through SQL Injection Command Line Execution through SQL Injection CAPEC-109: Object Relational Mapping Injection Object Relational Mapping Injection CAPEC-110: SQL Injection through SOAP Parameter Tampering SQL Injection through SOAP Parameter Tampering CAPEC-120: Double Encoding Double Encoding CAPEC-135: Format String Injection Format String Injection CAPEC-136: LDAP Injection LDAP Injection CAPEC-153: Input Data Manipulation Input Data Manipulation CAPEC-182: Flash Injection Flash Injection CAPEC-209: XSS Using MIME Type Mismatch XSS Using MIME Type Mismatch CAPEC-230: Serialized Data with Nested Payloads Serialized Data with Nested Payloads CAPEC-231: Oversized Serialized Data Payloads Oversized Serialized Data Payloads CAPEC-250: XML Injection XML Injection CAPEC-261: Fuzzing for garnering other adjacent user/sensitive data Fuzzing for garnering other adjacent user/sensitive data CAPEC-267: Leverage Alternate Encoding Leverage Alternate Encoding CAPEC-473: Signature Spoof Signature Spoof CAPEC-588: DOM-Based XSS DOM-Based XSS CAPEC-664: Server Side Request Forgery Server Side Request Forgery
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.07 }} 0.01%

score

0.30767

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability