
您的母亲,一个BASH漏洞,您可以通过该漏洞获得很大的权限,解决方案非常简单,就是升级bash.
以下是官方网站,当然是翻译.

在Linux中,环境变量提供了软件行为对系统的影响. 许多程序通常在后台运行bash shell. 它通常用于为远程用户提供外壳程序(例如bash 漏洞测试,通过SSH,Telnet),提供CGI脚本解析器(Apache等),甚至提供有限的命令执行支持(GIT等)
返回主题,然后使用变量和特殊值调用Shell. 这些变量可以包含代码,并且将调用Shell来执行. 这些特制变量的名称并不重要,而仅是内容. 结果,此漏洞在许多环境中暴露bash 漏洞测试,例如:

forcecommand用于sshd脚本,以为远程用户提供有限的命令执行功能. 此缺陷可用于绕过并提供任意命令执行. 一些Git和Subversion部署使用受限制的Shell. 经常使用OpenSSH,而不是因为用户具有访问权限.
如果在bash效果或生成的子层中编写了CGI脚本或mod_cgid,则Apache服务器将使用mod_cgi. C / popen系统通过os.system / os.popen Python,PHP /执行系统(在运行CGI模式时)和Perl中的open / system(如果使用shell)来隐式使用此类子外壳(取决于命令字符串).

即使脚本生成了子层,PHP脚本对mod_php的执行也不会受到影响.
DHCP客户端调用外壳程序脚本以从潜在的恶意服务器配置系统. 这将允许在DHCP客户端中执行任意命令,通常是root用户.

各种守护程序和suid /特权程序都可以执行影响用户设置的环境变量值的shell脚本,这将允许运行任何命令.
任何其他应用程序,请钩住shell或运行shell脚本以将bash用作翻译器. 即使不是shell脚本处理的不信任内容,并将其存储在(导出)shell变量和expense shell中,它们也不会受到此问题的影响.
就像“真正的”编程语言一样,bash具有函数,尽管在某些有限的实现中,可以将这些bash函数视为环境变量. 触发漏洞后,会在这些函数的定义(内部环境变量)的末尾添加其他代码
root@slave1 ~]# env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
vulnerable
this is a test
[root@slave1 ~]# rpm -qa|grep bash
bash-4.1.2-8.el6.centos.x86_64
[root@slave1 ~]#
[root@slave1 ~]# yum update bash -y
Loaded plugins: fastestmirror, security
Determining fastest mirrors
epel/metalink | 3.8 kB 00:00
* epel: mirror.premi.st
base | 3.7 kB 00:00
cdh | 951 B 00:00
cloudera-cdh4 | 951 B 00:00
epel | 4.4 kB 00:00
epel/primary_db | 6.3 MB 00:26
extras | 3.3 kB 00:00
percona | 951 B 00:00
percona/primary | 30 kB 00:00
percona 98/98
updates | 3.4 kB 00:00
updates/primary_db | 5.3 MB 00:22
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package bash.x86_64 0:4.1.2-8.el6.centos will be updated
---> Package bash.x86_64 0:4.1.2-15.el6_5.1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================================================================
Updating:
bash x86_64 4.1.2-15.el6_5.1 updates 905 k
Transaction Summary
=================================================================================================================================================================================
Upgrade 1 Package(s)
Total download size: 905 k
Downloading Packages:
bash-4.1.2-15.el6_5.1.x86_64.rpm | 905 kB 00:02
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : bash-4.1.2-15.el6_5.1.x86_64 1/2
Cleanup : bash-4.1.2-8.el6.centos.x86_64 2/2
Updated:
bash.x86_64 0:4.1.2-15.el6_5.1
Complete!
[root@slave1 ~]# env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test
[root@slave1 ~]#
每个人都认为这篇文章对您有影响!如果想奖励,可以使用微信扫描下面的二维码,谢谢!
再次添加原始博客地址xiaorui.cc
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-280297-1.html
试问投资的资金从哪来