Bash software security vulnerability detection and repair solution

Source: Internet
Author: User
On September 6, September 25, following the vulnerability & ldquo; heartbleed & rdquo;, security research experts discovered a vulnerability with the risk level of & ldquo; Destruction Level & rdquo; (catastrophic, open-source software company RedHat said in a report that the widely used Bash software vulnerabilities in Linux systems may allow hackers to exploit all devices connected to the Internet. Bash is a software used to control command prompts on many Unix computers.

On September 6, September 25, following the heartbleed vulnerability, security research experts discovered a dangerous catastrophic vulnerability, red Hat, an open-source software company, said in a report that the widely used Bash software vulnerability in Linux systems may allow hackers to exploit all devices connected to the Internet.

Bash is a software used in many Unix computers to control command prompts. Hackers can exploit Bash vulnerabilities to completely control the target system.

The US Computer Emergency Response Team (hereinafter referred to as "US-CERT") under the U. S. Department of Homeland Security issued a warning that this vulnerability may affect Unix-based operating systems, including Linux and Mac OS X

Vulnerability details page: Http://seclists.org/oss-sec/2014/q3/650

Vulnerability level: Very serious

Redhat provides vulnerability details

A flaw was found in the way Bash evaluated certain specially crafted environment variables. an attacker cocould use this flaw to override or bypass environment restrictions to execute shell commands. certain services and applications allow remote unauthenticated attackers to provide environment variables, allowing them to exploit this issue.

Redhat officially provides detection methods

Run the following command:

  $ env x='() { :;}; echo vulnerable'  bash -c "echo this is a test"
 
If the following content is returned: upgrade as soon as possible.
 vulnerable                    
this is a test            
The upgrade package has been officially provided. Run: yum update-y bash to upgrade the package!

RedHat, CentOS or Fedora bash version will be upgraded to bash-4.1.2-15.el6_5.1.x86_64

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.