当前位置:网站首页>阿里云polkit pkexec 本地提权漏洞
阿里云polkit pkexec 本地提权漏洞
2022-07-02 04:14:00 【凌空暗羽】
1.引言
最近由于各种事情好久没有访问自己的阿里云服务器控制台了,因为想了解了解云原生,所以发现可以进一步开拓自己的服务器价值,毕竟对于别的初学者来说算是割肉,但是自己作为阿里云学生机使用者,这里对学生机做一下科普,阿里云学生机算是一种对于学生而言性价比较高的服务器了,是阿里云为学生提供的一种优惠政策,在学生身份有效期内,且服务器未到期前,学生可按学生优惠价格续费,每次续费行为,续费时长在1-12个月内自行选择,实例到期时间不超过学生身份有效期,也就是每年只需要96元就能使用一个比较高性能的服务器了,到你不是学生的时候取消,当然中途应该不能停止续费。因为自己有过一定的服务器使用经验,所以对我来说学习云原生的话反而算是一种优点。为了检测自己是否还有学生机的优惠资格,登录手机阿里云发现提示了一个紧急漏洞:
提权在网安里面算是比较危险的了,由局部直接冲向整体。
2.解决方法
我们都知道Linux作为开源的操作系统,社区庞大,所以有bug肯定有一群大佬站出来,现在网上流行的解决方法如下(如果不是很懂的话直接CV,解决问题就行):
yum -y install polkit #升级这个Linux自带的程序
chmod 0755 /usr/bin/pkexec #pkexec的suid权限取消
3.余下风波
虽然很快就更新了,但是阿里云还是一直提示由漏洞,这个时候不要慌,找到漏洞检测的地方,重新检测一下漏洞,比如如下的两个地方:

点击查看自己已经解决的漏洞,进行确认:
最后再次回到阿里云手机app,发现安全评分也上去了,可以说算是解决了,至于还是一直提示高危漏洞,当营销处理吧,毕竟咱还是学生,学生机的使用往往就是自己小组写项目部署一下方便其他学生指点,真正使用率不是很高。平时的话如果真的想学习Linux,使用虚拟机代替也是可以的。最后就是作为程序员得能保持平静心态对待bug或者漏洞,不能像我一样看到漏洞还在急急忙忙疯狂关闭安全组端口,哈哈哈哈,本文实际内容不多,全是唠嗑,祝大家学习之旅愉快!。
边栏推荐
- Wechat applet JWT login issue token
- Is the product of cancer prevention medical insurance safe?
- 【提高课】ST表解决区间最值问题【2】
- Delete the code you wrote? Sentenced to 10 months!
- 蓝湖的安装及使用
- Which product of anti-cancer insurance is better?
- Go variables and constants
- 【c语言】动态规划---入门到起立
- Déchirure à la main - tri
- 《西线无战事》我们才刚开始热爱生活,却不得不对一切开炮
猜你喜欢

pip 安装第三方库

Lei Jun wrote a blog when he was a programmer. It's awesome

初识P4语言

云服务器的安全设置常识

Go language introduction

【IBDFE】基于IBDFE的频域均衡matlab仿真

Delete the code you wrote? Sentenced to 10 months!

Which is better, industrial intelligent gateway or edge computing gateway? How to choose the right one?
![[JS event -- event flow]](/img/fe/199890b082845f68b65f25056e6f29.jpg)
[JS event -- event flow]

Pytoch --- use pytoch to predict birds
随机推荐
Go language introduction
Homework of the 16th week
go 变量与常量
A summary of common interview questions in 2022, including 25 technology stacks, has helped me successfully get an offer from Tencent
Pandora IOT development board learning (RT thread) - Experiment 1 LED flashing experiment (learning notes)
Is it safe to open an account with first venture securities? I like to open an account. How can I open it?
Okcc why is cloud call center better than traditional call center?
云服务器的安全设置常识
[untitled]
蓝湖的安装及使用
千亿市场规模医疗美容行业的水究竟有多浑?
【力扣刷题】15.三数之和(双指针);17.电话号码的字母组合(递归回溯)
Which insurance company has a better product of anti-cancer insurance?
Pandora IOT development board learning (HAL Library) - Experiment 2 buzzer experiment (learning notes)
【leetcode】34. Find the first and last positions of elements in a sorted array
Pytorch---使用Pytorch进行图像定位
Hand tear - sort
《西线无战事》我们才刚开始热爱生活,却不得不对一切开炮
Spring recruitment of Internet enterprises: Kwai meituan has expanded the most, and the annual salary of technical posts is up to nearly 400000
文档声明与字符编码