【Linux】Linux多个发行版爆出超级用户提权漏洞

        根据国家信息安全漏洞共享平台2022年2月7日最新发布信息,几乎所有的Linux发行版都因为Polkit的pkexec组件存在一个获取系统超级权限(即root用户)的安全漏洞,此漏洞的CVE-ID为CVE-2021-4034。

        下图为国外的一个技术网站发布的普通用户提权到root用户的过程截图,可以发现在普通用户下使用gcc编译一个C程序源码后,然后再执行编译出来的可执行程序,即可轻切换到root超级用户。

CentOS 7.5漏洞补丁升级演示:polkit-0.112-14.el7.x86_64 升级到 polkit-0.112-26.el7_9.1.x86_64

[root@centos7-5 ~]# rpm -qa| grep polkit
polkit-0.112-14.el7.x86_64

[root@centos7-5 ~]# yum install -y polkit-0.112-26.el7_9.1.x86_64.rpm 
Loaded plugins: fastestmirror
Examining polkit-0.112-26.el7_9.1.x86_64.rpm: polkit-0.112-26.el7_9.1.x86_64
Marking polkit-0.112-26.el7_9.1.x86_64.rpm as an update to polkit-0.112-14.el7.x86_64
Resolving Dependencies
--> Running transaction check
---> Package polkit.x86_64 0:0.112-14.el7 will be updated
---> Package polkit.x86_64 0:0.112-26.el7_9.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================================================
 Package                                         Arch                                            Version                                                     Repository                                                                Size
============================================================================================================================================================================================================================================
Updating:
 polkit                                          x86_64                                          0.112-26.el7_9.1                                            /polkit-0.112-26.el7_9.1.x86_64                                          480 k

Transaction Summary
============================================================================================================================================================================================================================================
Upgrade  1 Package

Total size: 480 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : polkit-0.112-26.el7_9.1.x86_64                                                                                                                                                                                           1/2 
  Cleanup    : polkit-0.112-14.el7.x86_64                                                                                                                                                                                               2/2 
  Verifying  : polkit-0.112-26.el7_9.1.x86_64                                                                                                                                                                                           1/2 
  Verifying  : polkit-0.112-14.el7.x86_64                                                                                                                                                                                               2/2 

Updated:
  polkit.x86_64 0:0.112-26.el7_9.1                                                                                                                                                                                                          

Complete!

[root@centos7-5 ~]# rpm -qa| grep polkit
polkit-0.112-26.el7_9.1.x86_64

CentOS 7升级包:

http://mirror.centos.org/centos/7/updates/x86_64/Packages/polkit-0.112-26.el7_9.1.x86_64.rpm

CentOS 8升级包:

https://koji.mbox.centos.org/pkgs/packages/polkit/0.115/13.el8_5.1/x86_64/polkit-0.115-13.el8_5.1.x86_64.rpm

参考:

  • https://www.cnvd.org.cn/webinfo/show/7351
  • https://www.bleepingcomputer.com/news/security/linux-system-service-bug-gives-root-on-all-major-distros-exploit-released/
  • https://access.redhat.com/security/security-updates/#/?q=polkit&p=1&sort=portal_publication_date%20desc&rows=10&portal_advisory_type=Security%20Advisory&documentKind=PortalProduct
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

cnskylee

技术分享我是认真的,期待您打赏

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值