AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  bash shell shock vulnerability

    Posted Fri September 26, 2014 11:53 AM

    Originally posted by: woodstea23


    Is there any word on fixes for the bash Shell Shock vulnerability for AIX? I know it's part of the AIX Toolbox for Linux Apps, but when I check prereqs on my system it's showing that I can't uninstall it because the AIX RPM package is dependent on it:

    # rpm -e --test bash
    error: removing these packages would break dependencies:
            bash   is needed by info-4.6-1
            bash is needed by apr-1.4.8-1
            bash   is needed by info-4.6-1
            bash is needed by apr-1.4.8-1
            /bin/bash2 is needed by rpm-build-3.0.5-49

    # rpm -e --test rpm-build
    error: removing these packages would break dependencies:
            rpm-build is needed by AIX-rpm-7.1.1.15-9

     

    There's a lot of buzz here about this vulnerability and our Linux and Solaris teams are already preparing to install vendor-provided patches this evening.

    What about you, IBM?

     



  • 2.  Re: bash shell shock vulnerability



  • 3.  Re: bash shell shock vulnerability

    Posted Fri September 26, 2014 01:41 PM

    Originally posted by: dwcasey


    I opened a case with IBM. They told me to look at the license information for the Toolbox software which states the software packages are provided "as-is".
    http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/altlic.html

    They also referred me to a 3rd part site that maintains the Toolbox packages on their own, apart from any support from IBM.
    http://www.perzl.org/aix/

    I ran the uninstall same as you with the warning on dependencies...then ran force remove with the --nodeps option. So far so good. From what I can tell the dependencies are within the RPM Toolbox packages themselves. If you aren't really using the other packages much ( at all? ) then you might be just fine to remove bash as it seems to only be used during scripts run at install time. Running rpm -qa will show all the packages you have.



  • 4.  Re: bash shell shock vulnerability

    Posted Fri September 26, 2014 02:29 PM

    Originally posted by: woodstea23


    That's pretty much exactly the response I assumed IBM would give me. I should have stopped using anything from that Toolbox years ago. Originally it seemed like they were updating it about as often as new TLs came out, but perhaps I was imagining that, and they were only changing the name of the iso. These days the versions are way out of date on a lot of it.

    We will probably have to do what you suggest: remove with --nodeps and then reinstall the latest version from perzl.



  • 5.  Re: bash shell shock vulnerability

    Posted Fri September 26, 2014 03:12 PM

    Originally posted by: dwcasey


    Good luck. Keep this thread updated if you have any ill affects.



  • 6.  Re: bash shell shock vulnerability

    Posted Fri September 26, 2014 07:39 PM

    Originally posted by: dwcasey


    FYI, just received this from IBM

     

    As mentioned previously, the bash shell is not officially supported by IBM. However, we recognize that this is a widely used shell package and realize the impact of this high profile vulnerability. Therefore, an updated bash version to address the bash vulnerability CVE-2014-6271 is now available for download from the Linux Toolbox for AIX versions 6.1 or higher through the following link:
    http://www-01.ibm.com/support/docview.wss?uid=isg3T1021272



  • 7.  Re: bash shell shock vulnerability

    Posted Mon September 29, 2014 02:50 PM

    Originally posted by: chanly_bob


    Does anyone know how to test/validate that this vulnerability has truly been addressed for AIX5.3/61?  

    for RHEL5/6, we run the below after the bash patch has been applied. 

    cd /tmp; rm -f /tmp/echo; env 'x=() { (a)=>\' bash -c "echo date"; cat /tmp/echo
     

    output:

    date
    cat: /tmp/echo: No such file or directory
     

    applied this bash fix from IBM and tried to do the same test/validation procedures but it did not return the results that i was expecting to see. 

    results on AIX61:

    bash: x: line 1: syntax error near unexpected token `='
    bash: x: line 1: `'
    bash: error importing function definition for `x'
    date
    cat: 0652-050 Cannot open /tmp/echo.
     

     



  • 8.  Re: bash shell shock vulnerability

    Posted Wed October 01, 2014 09:27 AM

    Originally posted by: ClaudeDube


    Last night I patched my solaris here is my test

    Before the patch:

    env x='() { :;}; echo vulnerable' bash -c "bash tested"
    vulnerable
    bash tested
     
    After the patch:
    env x='() { :;}; echo vulnerable' bash -c "bash tested"
    bash tested

    Voila, Claude



  • 9.  Re: bash shell shock vulnerability

    Posted Wed October 01, 2014 04:23 PM

    Originally posted by: ClaudeDube


    Patched bash - shell shock -

    Download link for AIX 6.1 and above:

    Optional documentation download: