Coreutils DIR Width Argument Integer Overflow Vulnerability
BID:9793
Info
Coreutils DIR Width Argument Integer Overflow Vulnerability
| Bugtraq ID: | 9793 |
| Class: | Boundary Condition Error |
| CVE: | |
| Remote: | Unknown |
| Local: | Yes |
| Published: | Mar 02 2004 12:00AM |
| Updated: | Mar 02 2004 12:00AM |
| Credit: | Disclosure of this issue is credited to Shaun Colley <[email protected]>. |
| Vulnerable: |
GNU fileutils 4.1.11 GNU fileutils 4.1.9 GNU fileutils 4.1.7 GNU fileutils 4.1.6 GNU fileutils 4.1.5 GNU fileutils 4.1.1 GNU fileutils 4.1 GNU fileutils 4.0.36 GNU fileutils 4.0.33 GNU fileutils 4.0 GNU Coreutils 5.1.3 GNU Coreutils 5.1.2 GNU Coreutils 5.1.1 GNU Coreutils 5.1 GNU Coreutils 5.0.91 GNU Coreutils 5.0.90 GNU Coreutils 5.0.1 GNU Coreutils 5.0 GNU Coreutils 4.5.12 GNU Coreutils 4.5.11 GNU Coreutils 4.5.10 GNU Coreutils 4.5.9 GNU Coreutils 4.5.8 GNU Coreutils 4.5.7 GNU Coreutils 4.5.6 GNU Coreutils 4.5.5 GNU Coreutils 4.5.4 GNU Coreutils 4.5.3 GNU Coreutils 4.5.2 GNU Coreutils 4.5.2 GNU Coreutils 4.5.1 |
| Not Vulnerable: | |
Discussion
Coreutils DIR Width Argument Integer Overflow Vulnerability
Coreutils 'dir' has been reported prone to an integer overflow vulnerability. The issue reportedly presents itself when handling large integer value '-w' (width) command line arguments passed to the vulnerable application.
Due to the nature of this issue it may possibly be leveraged to deny service to applications that use the 'dir' utility. It has been conjectured that when invoked by an application with a malicious integer value passed via the '-w' argument, the affected application may hang while waiting for the utility to return output.
Coreutils 'dir' has been reported prone to an integer overflow vulnerability. The issue reportedly presents itself when handling large integer value '-w' (width) command line arguments passed to the vulnerable application.
Due to the nature of this issue it may possibly be leveraged to deny service to applications that use the 'dir' utility. It has been conjectured that when invoked by an application with a malicious integer value passed via the '-w' argument, the affected application may hang while waiting for the utility to return output.
Exploit / POC
Coreutils DIR Width Argument Integer Overflow Vulnerability
No exploit is required to leverage this issue. The following proof of concept was provided:
bash$ dir -w 1073741828
No exploit is required to leverage this issue. The following proof of concept was provided:
bash$ dir -w 1073741828
Solution / Fix
Coreutils DIR Width Argument Integer Overflow Vulnerability
Solution:
GNU Core Utilities version 5.2.0 has been released dealing with this issue.
GNU Coreutils 4.5.1
GNU Coreutils 4.5.10
GNU Coreutils 4.5.11
GNU Coreutils 4.5.12
GNU Coreutils 4.5.2
GNU Coreutils 4.5.2
GNU Coreutils 4.5.3
GNU Coreutils 4.5.4
GNU Coreutils 4.5.5
GNU Coreutils 4.5.6
GNU Coreutils 4.5.7
GNU Coreutils 4.5.8
GNU Coreutils 4.5.9
GNU Coreutils 5.0
GNU Coreutils 5.0.1
GNU Coreutils 5.0.90
GNU Coreutils 5.0.91
GNU Coreutils 5.1
GNU Coreutils 5.1.1
GNU Coreutils 5.1.2
GNU Coreutils 5.1.3
Solution:
GNU Core Utilities version 5.2.0 has been released dealing with this issue.
GNU Coreutils 4.5.1
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 4.5.10
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 4.5.11
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 4.5.12
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 4.5.2
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 4.5.2
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 4.5.3
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 4.5.4
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 4.5.5
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 4.5.6
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 4.5.7
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 4.5.8
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 4.5.9
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 5.0
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 5.0.1
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 5.0.90
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 5.0.91
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 5.1
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 5.1.1
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 5.1.2
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
GNU Coreutils 5.1.3
-
GNU coreutils-5.2.0.tar.gz
http://ftp.gnu.org/pub/gnu/coreutils/coreutils-5.2.0.tar.gz
References
Coreutils DIR Width Argument Integer Overflow Vulnerability
References:
References:
- Coreutils Homepage (GNU)
- Coreutils 'dir' integer overflow vulnerability. (Shaun Colley
)