Grub2 1.98/1.99/2.00/2.01/2.02 Rescue Shell auth.c grub_username_get 权限提升
| CVSS 元临时分数 | 当前攻击价格 (≈) | CTI兴趣分数 |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
摘要
在Grub2 1.98/1.99/2.00/2.01/2.02 中曾发现分类为棘手的漏洞。 相关的是 grub_username_get函数,在auth.c文件中,在Rescue Shell组件中。 在被操纵的情况下,会引发 权限提升。
该安全漏洞被称为CVE-2015-8370。 此外,存在可用的漏洞利用。
建议修补漏洞以消除此问题。
细节
在Grub2 1.98/1.99/2.00/2.01/2.02 中曾发现分类为棘手的漏洞。 相关的是 grub_username_get函数,在auth.c文件中,在Rescue Shell组件中。 在被操纵的情况下,会引发 权限提升。 漏洞的CWE定义是 CWE-264。 此漏洞已于2009-12-01被引入。 此漏洞的脆弱性 2015-12-14由公示人Hector Marco and Ismael Ripoll、公示人类型为Posting (Blog)所披露。 您可以在 hmarco.org 下载该通告。
该安全漏洞被称为CVE-2015-8370。 2015-11-26是CVE分配的时间。 技术细节已提供。 此漏洞的流行程度高于常规。 此外,存在可用的漏洞利用。 漏洞利用已被公开,可能会被利用。 当前,大致为 USD $0-$5k。 MITRE ATT&CK 项目将攻击技术声明为 T1068。 导致该漏洞的代码如下:
if (key == '\b')公告内容如下:
The fault (bug) is in the code of Grub since version 1.98 (December, 2009). The commit which introduced the fault was b391bdb2f2c5ccf29da66cecdbfb7566656a704d, affecting the grub_password_get() function. There are two functions which suffer the same integer underflow fault. The grub_username_get() and grub_password_get() located in grub-core/normal/auth.c and lib/crypto.c respectively. Both functions are equal except for a call to printf() in the grub_username_get(). The PoC described here is based only on exploiting the grub_username_get() to obtain a Grub rescue shell.
若长度存在,则声明为 概念验证。 可以在hmarco.org下载该漏洞利用。 该漏洞被作为非公开的零日漏洞利用,持续了至少 2204 天。 该0day漏洞在地下市场的估算价格大约是$5k-$25k。 漏洞利用所使用的源代码如下:
memset destination address = buf + cur_len通告提到:
To quickly check if your system is vulnerable, when the Grub ask you the username, press the Backspace 28 times. If your machine reboots or you get a rescue shell then your Grub is affected.漏洞扫描器 Nessus 提供了 ID 为 87422 的插件。 该项属于CentOS Local Security Checks家族。 该插件在类型为l的背景下运行。 商业漏洞扫描器Qualys能够使用插件124566 (Solaris 11.3 Support Repository Update (SRU) 4.5.0 Missing)检测此问题。
错误修复程序下载地址为hmarco.org, 建议修补漏洞以消除此问题。 漏洞披露后 22 时 有可能的缓解措施被公布。 该漏洞将通过以下代码行进行修复:
if (key == '\b' && cur_len)
该漏洞也记录在其他漏洞数据库中: SecurityFocus (BID 79358), Vulnerability Center (SBV-55312) , Tenable (87422)。
产品
名称
版本
许可证
CPE 2.3
CPE 2.2
屏幕截图

CVSSv4
VulDB 向量: 🔍VulDB 可靠性: 🔍
CVSSv3
VulDB 元基础分数: 6.6VulDB 元临时分数: 6.4
VulDB 基本分数: 5.9
VulDB 临时得分: 5.4
VulDB 向量: 🔍
VulDB 可靠性: 🔍
CNA 基本分数: 7.4
CNA 向量: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 向量 | 复杂性 | 身份验证 | 保密 | 完整性 | 可用性 |
|---|---|---|---|---|---|
| 开锁 | 开锁 | 开锁 | 开锁 | 开锁 | 开锁 |
| 开锁 | 开锁 | 开锁 | 开锁 | 开锁 | 开锁 |
| 开锁 | 开锁 | 开锁 | 开锁 | 开锁 | 开锁 |
VulDB 基本分数: 🔍
VulDB 临时得分: 🔍
VulDB 可靠性: 🔍
NVD 基本分数: 🔍
利用
分类: 权限提升CWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍
身体的: 部分
本地: 是
远程: 否
可用性: 🔍
访问: 公共
状态: 概念验证
作者: Hector Marco
下载: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
价格预测: 🔍
当前价格估算: 🔍
| 0-Day | 开锁 | 开锁 | 开锁 | 开锁 |
|---|---|---|---|---|
| 今天 | 开锁 | 开锁 | 开锁 | 开锁 |
Nessus ID: 87422
Nessus 名称: CentOS 7 : grub2 (CESA-2015:2623)
Nessus 文件: 🔍
Nessus 风险: 🔍
Nessus 家庭: 🔍
Nessus Context: 🔍
OpenVAS ID: 703421
OpenVAS 名称: Debian Security Advisory DSA 3421-1 (grub2 - security update)
OpenVAS 文件: 🔍
OpenVAS 家庭: 🔍
Qualys ID: 🔍
Qualys 名称: 🔍
威胁情报
利益: 🔍活跃演员: 🔍
活跃的APT团体: 🔍
对策
建议: 补丁状态: 🔍
反应时间: 🔍
0天时间: 🔍
曝光时间: 🔍
利用延迟时间: 🔍
补丁: hmarco.org
时间轴
2009-12-01 🔍2015-11-26 🔍
2015-12-13 🔍
2015-12-14 🔍
2015-12-14 🔍
2015-12-14 🔍
2015-12-14 🔍
2015-12-15 🔍
2015-12-16 🔍
2015-12-16 🔍
2015-12-17 🔍
2024-10-22 🔍
来源
公告: RHSA-2015:2623研究人员: Hector Marco, Ismael Ripoll
状态: 未定义
确认: 🔍
CVE: CVE-2015-8370 (🔍)
GCVE (CVE): GCVE-0-2015-8370
GCVE (VulDB): GCVE-100-79828
OVAL: 🔍
SecurityFocus: 79358 - GNU GRUB2 CVE-2015-8370 Multiple Local Authentication Bypass Vulnerabilities
SecurityTracker: 1034422
Vulnerability Center: 55312 - Grub2 1.98 - 2.02 Local Security Bypass Vulnerability in grub_password_get(), High
scip Labs: https://www.scip.ch/en/?labs.20161013
其他: 🔍
另见: 🔍
条目
已创建: 2015-12-17 09時28分已更新: 2024-10-22 04時28分
更改: 2015-12-17 09時28分 (83), 2018-09-25 12時56分 (13), 2022-07-01 09時42分 (4), 2022-07-01 09時47分 (1), 2022-07-01 09時49分 (1), 2024-10-22 04時28分 (27)
完整: 🔍
Cache ID: 216:331:103
Once again VulDB remains the best source for vulnerability data.
暂时没有任何评论。 语言: zh + en.
请登录后发表评论。