Summary
Detail | |||
---|---|---|---|
Vendor | Gnu | First view | 1996-09-13 |
Product | Bash | Last view | 2023-01-05 |
Version | Type | ||
Update | |||
Edition | |||
Language | |||
Sofware Edition | |||
Target Software | |||
Target Hardware | |||
Other |
Activity : Overall
COMMON PLATFORM ENUMERATION: Repartition per Version
Related : CVE
Date | Alert | Description | |
---|---|---|---|
7.8 | 2023-01-05 | CVE-2022-3715 | A flaw was found in the bash package, where a heap-buffer overflow can occur in valid parameter_transform. This issue may lead to memory problems. |
7.8 | 2019-11-28 | CVE-2019-18276 | An issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11. By default, if Bash is run with its effective UID not equal to its real UID, it will drop privileges by setting its effective UID to its real UID. However, it does so incorrectly. On Linux and other systems that support "saved UID" functionality, the saved UID is not dropped. An attacker with command execution in the shell can use "enable -f" for runtime loading of a new builtin, which can be a shared object that calls setuid() and therefore regains privileges. However, binaries running with an effective UID of 0 are unaffected. |
7.8 | 2019-06-18 | CVE-2012-6711 | A heap-based buffer overflow exists in GNU Bash before 4.3 when wide characters, not supported by the current locale set in the LC_CTYPE environment variable, are printed through the echo built-in function. A local attacker, who can provide data to print through the "echo -e" built-in function, may use this flaw to crash a script or execute code with the privileges of the bash process. This occurs because ansicstr() in lib/sh/strtrans.c mishandles u32cconv(). |
7.8 | 2019-03-22 | CVE-2019-9924 | rbash in Bash before 4.4-beta2 did not prevent the shell user from modifying BASH_CMDS, thus allowing the user to execute any command with the permissions of the shell. |
7.5 | 2017-08-28 | CVE-2016-0634 | The expansion of '\h' in the prompt string in bash 4.3 allows remote authenticated users to execute arbitrary code via shell metacharacters placed in 'hostname' of a machine. |
7.8 | 2017-03-27 | CVE-2017-5932 | The path autocompletion feature in Bash 4.4 allows local users to gain privileges via a crafted filename starting with a " (double quote) character and a command substitution metacharacter. |
5.5 | 2017-01-23 | CVE-2016-9401 | popd in bash might allow local users to bypass the restricted shell and cause a use-after-free via a crafted address. |
8.4 | 2017-01-19 | CVE-2016-7543 | Bash before 4.4 allows local users to execute arbitrary commands with root privileges via crafted SHELLOPTS and PS4 environment variables. |
10 | 2014-09-30 | CVE-2014-6278 | GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, which allows remote attackers to execute arbitrary commands via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules in the Apache HTTP Server, scripts executed by unspecified DHCP clients, and other situations in which setting the environment occurs across a privilege boundary from Bash execution. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-6271, CVE-2014-7169, and CVE-2014-6277. |
10 | 2014-09-28 | CVE-2014-7187 | Off-by-one error in the read_token_word function in parse.y in GNU Bash through 4.3 bash43-026 allows remote attackers to cause a denial of service (out-of-bounds array access and application crash) or possibly have unspecified other impact via deeply nested for loops, aka the "word_lineno" issue. |
10 | 2014-09-28 | CVE-2014-7186 | The redirection implementation in parse.y in GNU Bash through 4.3 bash43-026 allows remote attackers to cause a denial of service (out-of-bounds array access and application crash) or possibly have unspecified other impact via crafted use of here documents, aka the "redir_stack" issue. |
10 | 2014-09-27 | CVE-2014-6277 | GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code or cause a denial of service (uninitialized memory access, and untrusted-pointer read and write operations) via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules in the Apache HTTP Server, scripts executed by unspecified DHCP clients, and other situations in which setting the environment occurs across a privilege boundary from Bash execution. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-6271 and CVE-2014-7169. |
10 | 2014-09-24 | CVE-2014-7169 | GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of environment variables, which allows remote attackers to write to files or possibly have unknown other impact via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules in the Apache HTTP Server, scripts executed by unspecified DHCP clients, and other situations in which setting the environment occurs across a privilege boundary from Bash execution. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-6271. |
9.8 | 2014-09-24 | CVE-2014-6271 | GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules in the Apache HTTP Server, scripts executed by unspecified DHCP clients, and other situations in which setting the environment occurs across a privilege boundary from Bash execution, aka "ShellShock." NOTE: the original fix for this issue was incorrect; CVE-2014-7169 has been assigned to cover the vulnerability that is still present after the incorrect fix. |
4.6 | 2012-08-27 | CVE-2012-3410 | Stack-based buffer overflow in lib/sh/eaccess.c in GNU Bash before 4.2 patch 33 might allow local users to bypass intended restricted shell access via a long filename in /dev/fd, which is not properly handled when expanding the /dev/fd prefix. |
2.1 | 2010-01-14 | CVE-2010-0002 | The /etc/profile.d/60alias.sh script in the Mandriva bash package for Bash 2.05b, 3.0, 3.2, 3.2.48, and 4.0 enables the --show-control-chars option in LS_OPTIONS, which allows local users to send escape sequences to terminal emulators, or hide the existence of a file, via a crafted filename. |
4.6 | 1999-04-20 | CVE-1999-0491 | The prompt parsing in bash allows a local user to execute commands as another user by creating a directory with the name of the command to execute. |
4.6 | 1996-09-13 | CVE-1999-1383 | (1) bash before 1.14.7, and (2) tcsh 6.05 allow local users to gain privileges via directory names that contain shell metacharacters (` back-tick), which can cause the commands enclosed in the directory name to be executed when the shell expands filenames using the \w option in the PS1 variable. |
CWE : Common Weakness Enumeration
% | id | Name |
---|---|---|
29% (5) | CWE-78 | Improper Sanitization of Special Elements used in an OS Command ('O... |
23% (4) | CWE-119 | Failure to Constrain Operations within the Bounds of a Memory Buffer |
17% (3) | CWE-20 | Improper Input Validation |
5% (1) | CWE-787 | Out-of-bounds Write |
5% (1) | CWE-416 | Use After Free |
5% (1) | CWE-273 | Improper Check for Dropped Privileges |
5% (1) | CWE-264 | Permissions, Privileges, and Access Controls |
5% (1) | CWE-94 | Failure to Control Generation of Code ('Code Injection') |
Oval Markup Language : Definitions
OvalID | Name |
---|---|
oval:org.mitre.oval:def:26764 | Vulnerability affecting GNU Bash |
oval:org.mitre.oval:def:26665 | DSA-3035-1 bash - security update |
oval:org.mitre.oval:def:26642 | DSA-3032-1 bash - security update |
oval:org.mitre.oval:def:26539 | USN-2362-1 -- bash vulnerability |
oval:org.mitre.oval:def:26521 | RHSA-2014:1293: bash security update (Critical) |
oval:org.mitre.oval:def:27118 | ELSA-2014-1306 -- bash security update (Important) |
oval:org.mitre.oval:def:26923 | ELSA-2014-1293 -- bash security update (Critical) |
oval:org.mitre.oval:def:26685 | ELSA-2014-1294 -- bash security update (Critical) |
oval:org.mitre.oval:def:28331 | VMware product updates address critical Bash security vulnerabilities |
oval:org.mitre.oval:def:27830 | SUSE-SU-2014:1260-1 -- bash (critical) |
oval:org.mitre.oval:def:26745 | USN-2363-2 -- bash vulnerability |
oval:org.mitre.oval:def:26589 | RHSA-2014:1306: bash security update (Important) |
oval:org.mitre.oval:def:26447 | Vulnerability affecting GNU Bash |
oval:org.mitre.oval:def:26290 | USN-2363-1 -- bash vulnerability |
oval:org.mitre.oval:def:26928 | ELSA-2014-3079 -- bash security update (Important) |
oval:org.mitre.oval:def:26712 | ELSA-2014-3078 -- bash security update (Critical) |
oval:org.mitre.oval:def:26615 | ELSA-2014-3076 -- bash security update (Critical) |
oval:org.mitre.oval:def:26614 | ELSA-2014-3077 -- bash security update (Critical) |
oval:org.mitre.oval:def:26555 | ELSA-2014-3075 -- bash security update (Critical) |
oval:org.mitre.oval:def:28062 | VMware product updates address critical Bash security vulnerabilities |
oval:org.mitre.oval:def:28091 | VMware product updates address critical Bash security vulnerabilities |
oval:org.mitre.oval:def:28319 | VMware product updates address critical Bash security vulnerabilities |
oval:org.mitre.oval:def:27163 | USN-2364-1 -- bash vulnerabilities |
oval:org.mitre.oval:def:26631 | SUSE-SU-2014:1247-1 -- Security update for bash |
oval:org.mitre.oval:def:28370 | VMware product updates address critical Bash security vulnerabilities |
SAINT Exploits
Description | Link |
---|---|
Bash environment variable command injection in Cisco UCS Manager | More info here |
Bash environment variable code injection over HTTP | More info here |
Bash Environment Variable Handling Shell Command Injection Via CUPS | More info here |
ShellShock DHCP Server | More info here |
Open Source Vulnerability Database (OSVDB)
id | Description |
---|---|
61790 | Bash on Mandriva etc/profile.d/60alias.sh LS_OPTIONS Terminal Emulator Escape... |
8225 | Multiple Shell PS1 Variable Arbitrary Command Execution |
907 | bash Prompt Parsing Malformed Directory Command Execution |
ExploitDB Exploits
id | Description |
---|---|
35146 | PHP 5.x Shellshock Exploit (bypass disable_functions) |
35115 | CUPS Filter Bash Environment Variable Code Injection |
35081 | Binary File Descriptor Library (libbfd) - Out-of-Bounds Crash |
34879 | OpenVPN 2.2.29 - ShellShock Exploit |
34860 | GNU bash 4.3.11 Environment Variable dhclient Exploit |
34839 | IPFire Cgi Web Interface Authenticated Bash Environment Variable Code Injecti... |
34777 | GNU bash Environment Variable Command Injection (MSF) |
OpenVAS Exploits
id | Description |
---|---|
2012-10-22 | Name : Gentoo Security Advisory GLSA 201210-05 (bash) File : nvt/glsa_201210_05.nasl |
2012-08-14 | Name : Mandriva Update for bash MDVSA-2012:128 (bash) File : nvt/gb_mandriva_MDVSA_2012_128.nasl |
2010-01-19 | Name : Mandriva Update for bash MDVSA-2010:004 (bash) File : nvt/gb_mandriva_MDVSA_2010_004.nasl |
Information Assurance Vulnerability Management (IAVM)
id | Description |
---|---|
2014-A-0142 | GNU Bash Shell Code Execution Vulnerability Severity: Category I - VMSKEY: V0054753 |
Snort® IPS/IDS
Date | Description |
---|---|
2015-07-13 | Linux.Trojan.ChinaZ outbound connection RuleID : 34847 - Type : MALWARE-CNC - Revision : 3 |
2014-10-30 | Bash environment variable injection attempt RuleID : 32366-community - Type : OS-OTHER - Revision : 2 |
2014-12-02 | Bash environment variable injection attempt RuleID : 32366 - Type : OS-OTHER - Revision : 2 |
2014-10-24 | Bash CGI environment variable injection attempt RuleID : 32336-community - Type : OS-OTHER - Revision : 2 |
2014-11-25 | Bash CGI environment variable injection attempt RuleID : 32336 - Type : OS-OTHER - Revision : 2 |
2014-10-24 | Bash CGI environment variable injection attempt RuleID : 32335-community - Type : OS-OTHER - Revision : 2 |
2014-11-25 | Bash CGI environment variable injection attempt RuleID : 32335 - Type : OS-OTHER - Revision : 2 |
2014-10-03 | Bash environment variable injection attempt RuleID : 32069-community - Type : OS-OTHER - Revision : 3 |
2014-11-16 | Bash environment variable injection attempt RuleID : 32069 - Type : OS-OTHER - Revision : 3 |
2014-11-16 | Bash CGI nested loops word_lineno denial of service attempt RuleID : 32049 - Type : OS-OTHER - Revision : 2 |
2014-11-16 | Bash CGI nested loops word_lineno denial of service attempt RuleID : 32047 - Type : OS-OTHER - Revision : 2 |
2014-11-16 | Bash redir_stack here document handling denial of service attempt RuleID : 32046 - Type : OS-OTHER - Revision : 2 |
2014-11-16 | Bash redir_stack here document handling denial of service attempt RuleID : 32045 - Type : OS-OTHER - Revision : 2 |
2014-10-01 | Bash environment variable injection attempt RuleID : 32043-community - Type : OS-OTHER - Revision : 3 |
2014-11-16 | Bash environment variable injection attempt RuleID : 32043 - Type : OS-OTHER - Revision : 3 |
2014-10-01 | Bash environment variable injection attempt RuleID : 32042-community - Type : OS-OTHER - Revision : 4 |
2014-11-16 | Bash environment variable injection attempt RuleID : 32042 - Type : OS-OTHER - Revision : 4 |
2014-10-01 | Bash environment variable injection attempt RuleID : 32041-community - Type : OS-OTHER - Revision : 4 |
2014-11-16 | Bash environment variable injection attempt RuleID : 32041 - Type : OS-OTHER - Revision : 4 |
2014-10-01 | Bash environment variable injection attempt RuleID : 32039-community - Type : OS-OTHER - Revision : 3 |
2014-11-16 | Bash environment variable injection attempt RuleID : 32039 - Type : OS-OTHER - Revision : 3 |
2014-10-01 | Bash environment variable injection attempt RuleID : 32038-community - Type : OS-OTHER - Revision : 3 |
2014-11-16 | Bash environment variable injection attempt RuleID : 32038 - Type : OS-OTHER - Revision : 3 |
2014-09-25 | Malicious DHCP server bash environment variable injection attempt RuleID : 31985-community - Type : OS-OTHER - Revision : 6 |
2014-11-16 | Malicious DHCP server bash environment variable injection attempt RuleID : 31985 - Type : OS-OTHER - Revision : 6 |
Nessus® Vulnerability Scanner
id | Description |
---|---|
2018-08-17 | Name: The remote PhotonOS host is missing multiple security updates. File: PhotonOS_PHSA-2017-0009.nasl - Type: ACT_GATHER_INFO |
2018-08-17 | Name: The remote PhotonOS host is missing multiple security updates. File: PhotonOS_PHSA-2017-0040.nasl - Type: ACT_GATHER_INFO |
2018-08-17 | Name: The remote PhotonOS host is missing multiple security updates. File: PhotonOS_PHSA-2017-0044.nasl - Type: ACT_GATHER_INFO |
2018-08-17 | Name: The remote PhotonOS host is missing multiple security updates. File: PhotonOS_PHSA-2017-0045.nasl - Type: ACT_GATHER_INFO |
2017-12-28 | Name: The remote device is missing a vendor-supplied security patch. File: f5_bigip_SOL73705133.nasl - Type: ACT_GATHER_INFO |
2017-12-04 | Name: The remote host is missing a vendor-supplied security patch. File: check_point_gaia_sk102673.nasl - Type: ACT_GATHER_INFO |
2017-09-11 | Name: The remote Slackware host is missing a security update. File: Slackware_SSA_2017-251-01.nasl - Type: ACT_GATHER_INFO |
2017-09-08 | Name: The remote EulerOS host is missing multiple security updates. File: EulerOS_SA-2017-1163.nasl - Type: ACT_GATHER_INFO |
2017-09-08 | Name: The remote EulerOS host is missing multiple security updates. File: EulerOS_SA-2017-1164.nasl - Type: ACT_GATHER_INFO |
2017-09-01 | Name: The remote Amazon Linux AMI host is missing a security update. File: ala_ALAS-2017-878.nasl - Type: ACT_GATHER_INFO |
2017-08-25 | Name: The remote CentOS host is missing one or more security updates. File: centos_RHSA-2017-1931.nasl - Type: ACT_GATHER_INFO |
2017-08-22 | Name: The remote Scientific Linux host is missing one or more security updates. File: sl_20170801_bash_on_SL7_x.nasl - Type: ACT_GATHER_INFO |
2017-08-09 | Name: The remote Oracle Linux host is missing one or more security updates. File: oraclelinux_ELSA-2017-1931.nasl - Type: ACT_GATHER_INFO |
2017-08-02 | Name: The remote Red Hat host is missing one or more security updates. File: redhat-RHSA-2017-1931.nasl - Type: ACT_GATHER_INFO |
2017-05-25 | Name: The remote openSUSE host is missing a security update. File: openSUSE-2017-614.nasl - Type: ACT_GATHER_INFO |
2017-05-19 | Name: The remote SUSE host is missing one or more security updates. File: suse_SU-2017-1337-1.nasl - Type: ACT_GATHER_INFO |
2017-05-18 | Name: The remote Ubuntu host is missing a security-related patch. File: ubuntu_USN-3294-1.nasl - Type: ACT_GATHER_INFO |
2017-05-17 | Name: The remote SUSE host is missing one or more security updates. File: suse_SU-2017-1317-1.nasl - Type: ACT_GATHER_INFO |
2017-05-01 | Name: The remote EulerOS host is missing a security update. File: EulerOS_SA-2017-1031.nasl - Type: ACT_GATHER_INFO |
2017-05-01 | Name: The remote EulerOS host is missing a security update. File: EulerOS_SA-2017-1032.nasl - Type: ACT_GATHER_INFO |
2017-04-06 | Name: The remote Scientific Linux host is missing one or more security updates. File: sl_20170321_bash_on_SL6_x.nasl - Type: ACT_GATHER_INFO |
2017-03-30 | Name: The remote Oracle Linux host is missing one or more security updates. File: oraclelinux_ELSA-2017-0725.nasl - Type: ACT_GATHER_INFO |
2017-03-30 | Name: The remote OracleVM host is missing a security update. File: oraclevm_OVMSA-2017-0050.nasl - Type: ACT_GATHER_INFO |
2017-03-27 | Name: The remote CentOS host is missing one or more security updates. File: centos_RHSA-2017-0725.nasl - Type: ACT_GATHER_INFO |
2017-03-22 | Name: The remote Red Hat host is missing one or more security updates. File: redhat-RHSA-2017-0725.nasl - Type: ACT_GATHER_INFO |