{"id":279,"date":"2014-09-26T16:43:26","date_gmt":"2014-09-26T14:43:26","guid":{"rendered":"http:\/\/blog.united-hoster.de\/?p=279"},"modified":"2016-07-28T14:44:13","modified_gmt":"2016-07-28T12:44:13","slug":"ergaenzung-sicherheitsproblem-bash-systeme-aktualisieren-ohne-repository","status":"publish","type":"post","link":"https:\/\/www.united-hoster.de\/blog\/ergaenzung-sicherheitsproblem-bash-systeme-aktualisieren-ohne-repository\/","title":{"rendered":"Erg\u00e4nzung Sicherheitsproblem Bash &#8211; Systeme aktualisieren ohne Repository"},"content":{"rendered":"<p>Sehr geehrte Kunden und User,<\/p>\n<p>sollten Sie ein System haben, dass auf keine g\u00fcltigen installationsquellen mehr zugreifen kann, dann gehen Sie bitte wie folgt vor:<\/p>\n<p>Bash sichern:<\/p>\n<p>cd \/bin<br \/>\ncp bash bash_orig<\/p>\n<p>Bash installieren:<\/p>\n<p>cd \/root<\/p>\n<p>mkdir bash<\/p>\n<p>cd bash<\/p>\n<p>wget\u00a0<a href=\"https:\/\/ftp.gnu.org\/gnu\/bash\/bash-4.3.tar.gz\">https:\/\/ftp.gnu.org\/gnu\/bash\/bash-4.3.tar.gz<\/a><\/p>\n<p>#download all patches<\/p>\n<p>for i in $(seq -f &#8220;%03g&#8221; 0 25); do wget\u00a0\u00a0\u00a0\u00a0\u00a0<a href=\"https:\/\/ftp.gnu.org\/gnu\/bash\/bash-4.3-patches\/bash43-$i\">https:\/\/ftp.gnu.org\/gnu\/bash\/bash-4.3-patches\/bash43-$i<\/a>; done<\/p>\n<p>tar zxvf bash-4.3.tar.gz<\/p>\n<p>cd bash-4.3<\/p>\n<p>for i in $(seq -f &#8220;%03g&#8221; 0 25);do patch -p0 &lt; ..\/bash43-$i; done<\/p>\n<p>.\/configure &amp;&amp; make &amp;&amp; make install<\/p>\n<p>mv \/usr\/local\/bin\/bash \/bin\/ -f<\/p>\n<p>&#8212;<\/p>\n<p>Sollte kein Compiling m\u00f6glich sein:<\/p>\n<p><span style=\"color: #404040;\">.\/configure &amp;&amp; make&#8230;<\/span><br style=\"color: #404040;\" \/>dann ist kein Compiler installiert!<br style=\"color: #404040;\" \/><span style=\"color: #404040;\">\u00a0<\/span><br style=\"color: #404040;\" \/><span style=\"color: #404040;\">#apt-get install gcc<\/span><br style=\"color: #404040;\" \/><span style=\"color: #404040;\">(Zuvor muss man aber ein funktionierendes\u00a0\u00a0repository einbinden. bei Debian hei\u00dft das\u00a0<\/span><a title=\"http:\/\/archive.debian.org\" href=\"http:\/\/archive.debian.org\/\">archive.debian.org<\/a>)<\/p>\n<p>&#8212;<\/p>\n<p>united hoster Team<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sehr geehrte Kunden und User, sollten Sie ein System haben, dass auf keine g\u00fcltigen installationsquellen mehr zugreifen kann, dann gehen<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[19],"tags":[],"class_list":["post-279","post","type-post","status-publish","format-standard","hentry","category-sicherheit"],"_links":{"self":[{"href":"https:\/\/www.united-hoster.de\/blog\/wp-json\/wp\/v2\/posts\/279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.united-hoster.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.united-hoster.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.united-hoster.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.united-hoster.de\/blog\/wp-json\/wp\/v2\/comments?post=279"}],"version-history":[{"count":2,"href":"https:\/\/www.united-hoster.de\/blog\/wp-json\/wp\/v2\/posts\/279\/revisions"}],"predecessor-version":[{"id":281,"href":"https:\/\/www.united-hoster.de\/blog\/wp-json\/wp\/v2\/posts\/279\/revisions\/281"}],"wp:attachment":[{"href":"https:\/\/www.united-hoster.de\/blog\/wp-json\/wp\/v2\/media?parent=279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.united-hoster.de\/blog\/wp-json\/wp\/v2\/categories?post=279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.united-hoster.de\/blog\/wp-json\/wp\/v2\/tags?post=279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}