)]}'
{"security-notes/OSSN-0030":[{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"bc3784ef887372d31f3a821fa195fa5a92b92452","unresolved":false,"context_lines":[{"line_number":33,"context_line":"spawned shell they can execute arbitrary commands with the same user"},{"line_number":34,"context_line":"permissions as the legitimate command. If these programs are network"},{"line_number":35,"context_line":"connected then this vulnerability becomes remotely exploitable. To"},{"line_number":36,"context_line":"illustrait how this might be accomplished, consider the OpenSSH forced"},{"line_number":37,"context_line":"command mechanism. This mechanism allows commands run via SSH to be"},{"line_number":38,"context_line":"restricted to a specific invocation, however OpenSSH will set an"},{"line_number":39,"context_line":"environment variable \u0027SSH_ORIGINAL_COMMAND\u0027 to the command that was"}],"source_content_type":"application/octet-stream","patch_set":2,"id":"da9df570_97b24804","line":36,"updated":"2014-09-26 11:34:26.000000000","message":"typo: illustrate","commit_id":"215099f83e3e65b3576757d28b8b9deefcf49d80"},{"author":{"_account_id":11716,"name":"Tim Kelsey","email":"timothy.kelsey@uk.ibm.com","username":"tkelsey"},"change_message_id":"959661517daff08b578c2df068b3de9b2539d0f9","unresolved":false,"context_lines":[{"line_number":33,"context_line":"spawned shell they can execute arbitrary commands with the same user"},{"line_number":34,"context_line":"permissions as the legitimate command. If these programs are network"},{"line_number":35,"context_line":"connected then this vulnerability becomes remotely exploitable. To"},{"line_number":36,"context_line":"illustrait how this might be accomplished, consider the OpenSSH forced"},{"line_number":37,"context_line":"command mechanism. This mechanism allows commands run via SSH to be"},{"line_number":38,"context_line":"restricted to a specific invocation, however OpenSSH will set an"},{"line_number":39,"context_line":"environment variable \u0027SSH_ORIGINAL_COMMAND\u0027 to the command that was"}],"source_content_type":"application/octet-stream","patch_set":2,"id":"da9df570_57062087","line":36,"in_reply_to":"da9df570_97b24804","updated":"2014-09-26 11:38:52.000000000","message":"Done","commit_id":"215099f83e3e65b3576757d28b8b9deefcf49d80"},{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"bc3784ef887372d31f3a821fa195fa5a92b92452","unresolved":false,"context_lines":[{"line_number":59,"context_line":"### Recommended Actions ###"},{"line_number":60,"context_line":"Owing to the ubiquitous nature of the bash shell and its indirect use"},{"line_number":61,"context_line":"via other programs it is highly recommended that all systems update to a"},{"line_number":62,"context_line":"version of bash greater than 4.3 immediately."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Additionally, network filtering and IDS systems should be configured to"},{"line_number":65,"context_line":"detect incoming requests containing bash function-like definitions."}],"source_content_type":"application/octet-stream","patch_set":2,"id":"da9df570_d796904b","line":62,"updated":"2014-09-26 11:34:26.000000000","message":"A version with the patch applied - the patch can have been backported as well...\n\nYou don\u0027t want to update your bash 2.x to \u003e4.3, this will break other things ;(","commit_id":"215099f83e3e65b3576757d28b8b9deefcf49d80"},{"author":{"_account_id":11716,"name":"Tim Kelsey","email":"timothy.kelsey@uk.ibm.com","username":"tkelsey"},"change_message_id":"959661517daff08b578c2df068b3de9b2539d0f9","unresolved":false,"context_lines":[{"line_number":59,"context_line":"### Recommended Actions ###"},{"line_number":60,"context_line":"Owing to the ubiquitous nature of the bash shell and its indirect use"},{"line_number":61,"context_line":"via other programs it is highly recommended that all systems update to a"},{"line_number":62,"context_line":"version of bash greater than 4.3 immediately."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Additionally, network filtering and IDS systems should be configured to"},{"line_number":65,"context_line":"detect incoming requests containing bash function-like definitions."}],"source_content_type":"application/octet-stream","patch_set":2,"id":"da9df570_f7f6348e","line":62,"in_reply_to":"da9df570_d796904b","updated":"2014-09-26 11:38:52.000000000","message":"heh yeah, good point!","commit_id":"215099f83e3e65b3576757d28b8b9deefcf49d80"},{"author":{"_account_id":11029,"name":"Jamie Finnigan","email":"jamiefinnigan@gmail.com","username":"jamiefinnigan"},"change_message_id":"e812d3237e93968b2cd9cefd4f9cadfdd8c9f323","unresolved":false,"context_lines":[{"line_number":4,"context_line":"### Summary ###"},{"line_number":5,"context_line":"A bug in the GNU Bash shell (4.3 and lower) exposes a code injection"},{"line_number":6,"context_line":"vulnerability via crafted environment variables (Shellshock,"},{"line_number":7,"context_line":"CVE-2014-6271). Through network utilities such as SSH and CGI enabled"},{"line_number":8,"context_line":"web servers, this vulnerability can become remotely exploitable. Bash is"},{"line_number":9,"context_line":"universal to nearly all Linux distributions as well as Apple OS X."},{"line_number":10,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":3,"id":"da9df570_e95f340d","line":7,"updated":"2014-09-26 13:25:06.000000000","message":"Refer to both relevant CVEs? CVE-2014-6271 and CVE-2014-7169.","commit_id":"78751c3bdb95a9d5f55d0c247af4fd8f341abbdb"},{"author":{"_account_id":11029,"name":"Jamie Finnigan","email":"jamiefinnigan@gmail.com","username":"jamiefinnigan"},"change_message_id":"e812d3237e93968b2cd9cefd4f9cadfdd8c9f323","unresolved":false,"context_lines":[{"line_number":46,"context_line":"or more environment variables before spawning a bash sub-processes,"},{"line_number":47,"context_line":"known examples include but are not limited to:"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"- CGI Enabled web servers (Apache mod_cgi, nginex, etc)"},{"line_number":50,"context_line":"- SSH (OpenSSH mechanisms as above)"},{"line_number":51,"context_line":"- DHCP (dhcpcd)"},{"line_number":52,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":3,"id":"da9df570_49a200fe","line":49,"updated":"2014-09-26 13:25:06.000000000","message":"typo - nginx","commit_id":"78751c3bdb95a9d5f55d0c247af4fd8f341abbdb"},{"author":{"_account_id":11029,"name":"Jamie Finnigan","email":"jamiefinnigan@gmail.com","username":"jamiefinnigan"},"change_message_id":"e812d3237e93968b2cd9cefd4f9cadfdd8c9f323","unresolved":false,"context_lines":[{"line_number":59,"context_line":"### Recommended Actions ###"},{"line_number":60,"context_line":"Owing to the ubiquitous nature of the bash shell and its indirect use"},{"line_number":61,"context_line":"via other programs it is highly recommended that all systems update to a"},{"line_number":62,"context_line":"patched version of bash immediately."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Additionally, network filtering and IDS systems should be configured to"},{"line_number":65,"context_line":"detect incoming requests containing bash function-like definitions."}],"source_content_type":"application/octet-stream","patch_set":3,"id":"da9df570_e98d747d","line":62,"updated":"2014-09-26 13:25:06.000000000","message":"Maybe add another sentence with something like \"Refer to guidance from the provider of your specific Linux distribution for additional details.\"","commit_id":"78751c3bdb95a9d5f55d0c247af4fd8f341abbdb"},{"author":{"_account_id":11029,"name":"Jamie Finnigan","email":"jamiefinnigan@gmail.com","username":"jamiefinnigan"},"change_message_id":"e812d3237e93968b2cd9cefd4f9cadfdd8c9f323","unresolved":false,"context_lines":[{"line_number":71,"context_line":"Original LaunchPad Bug : https://bugs.launchpad.net/ossn/+bug/1374055"},{"line_number":72,"context_line":"OpenStack Security ML : openstack-security@lists.openstack.org"},{"line_number":73,"context_line":"OpenStack Security Group : https://launchpad.net/~openstack-ossg"},{"line_number":74,"context_line":"CVE: CVE-2014-6271"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"da9df570_09e2b82e","line":74,"updated":"2014-09-26 13:25:06.000000000","message":"Refer to both relevant CVEs and link rather than just list reference #?\n\nInitial CVE: http://web.nvd.nist.gov/view/vuln/detail?vulnId\u003dCVE-2014-6271\nSecondary CVE: http://web.nvd.nist.gov/view/vuln/detail?vulnId\u003dCVE-2014-7169","commit_id":"78751c3bdb95a9d5f55d0c247af4fd8f341abbdb"},{"author":{"_account_id":9098,"name":"Nathan Kinder","email":"nkinder@redhat.com","username":"nkinder"},"change_message_id":"2eb2f9adcbfaa0413777e307452decb22f7e82f4","unresolved":false,"context_lines":[{"line_number":15,"context_line":"### Discussion ###"},{"line_number":16,"context_line":"The GNU Bash shell (4.3 and lower) is vulnerable to a code injection"},{"line_number":17,"context_line":"attack via the setting of environment variables. This stems from a bug"},{"line_number":18,"context_line":"in the way bash processes functions definitions present in the"},{"line_number":19,"context_line":"environment, an example might look like the following:"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"env x\u003d\u0027() { :;}; echo vulnerable\u0027 bash -c \u0027echo hello\u0027"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"da9df570_df1a226e","line":18,"updated":"2014-09-26 14:29:22.000000000","message":"(nit) s/functions/function/","commit_id":"b453af89796a525175820bfb2477258929bd45dd"},{"author":{"_account_id":9098,"name":"Nathan Kinder","email":"nkinder@redhat.com","username":"nkinder"},"change_message_id":"2eb2f9adcbfaa0413777e307452decb22f7e82f4","unresolved":false,"context_lines":[{"line_number":18,"context_line":"in the way bash processes functions definitions present in the"},{"line_number":19,"context_line":"environment, an example might look like the following:"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"env x\u003d\u0027() { :;}; echo vulnerable\u0027 bash -c \u0027echo hello\u0027"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"when executed, this command line will print:"},{"line_number":24,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":4,"id":"da9df570_bf38fed3","line":21,"updated":"2014-09-26 14:29:22.000000000","message":"(nit) Indent this by 2 spaces.","commit_id":"b453af89796a525175820bfb2477258929bd45dd"},{"author":{"_account_id":9098,"name":"Nathan Kinder","email":"nkinder@redhat.com","username":"nkinder"},"change_message_id":"2eb2f9adcbfaa0413777e307452decb22f7e82f4","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"when executed, this command line will print:"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"vulnerable"},{"line_number":26,"context_line":"hello"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"This behaviour occurs because bash continues to process the rest of the"}],"source_content_type":"application/octet-stream","patch_set":4,"id":"da9df570_bf3f1eb3","line":25,"updated":"2014-09-26 14:29:22.000000000","message":"(nit) Indent this output as well.","commit_id":"b453af89796a525175820bfb2477258929bd45dd"},{"author":{"_account_id":6486,"name":"Brant Knudson","email":"blk@acm.org","username":"blk-u"},"change_message_id":"ed0b0101c1f3e24a3c0e16fa5e61d3f5951ebfa9","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"- CGI Enabled web servers (Apache mod_cgi, nginx, etc)"},{"line_number":51,"context_line":"- SSH (OpenSSH mechanisms as above)"},{"line_number":52,"context_line":"- DHCP (dhcpcd)"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"OpenStack software itself is not currently understood to be"},{"line_number":55,"context_line":"directly affected, however deployments of OpenStack will very likely"}],"source_content_type":"application/octet-stream","patch_set":5,"id":"da9df570_3ff5ee56","line":52,"updated":"2014-09-26 14:48:27.000000000","message":"One of the interesting aspects to this vulnerability in the cloud space is you\u0027re going to be deploying virtual machines that are likely going to be running dhcp and ssh. We could suggest making sure virtual machines are also patched.","commit_id":"8aca9e95c9e3e22795c7a56f85d91c42287b34a6"}]}
