GNU C Library 2.19 spawn_faction_addopen.c xc_cpupool_getinfo 权限提升

CVSS 元临时分数当前攻击价格 (≈)CTI兴趣分数
7.9$0-$5k0.00

摘要信息

GNU C Library 2.19 中已发现分类为棘手的漏洞。 被影响的是 xc_cpupool_getinfo函数,属于posix/spawn_faction_addopen.c文件。 当被操控时,会导致 权限提升。 此安全漏洞编号为CVE-2014-4043。 此外还有一个漏洞可利用。 建议对受影响组件进行升级。

细节信息

GNU C Library 2.19 中已发现分类为棘手的漏洞。 被影响的是 xc_cpupool_getinfo函数,属于posix/spawn_faction_addopen.c文件。 当被操控时,会导致 权限提升。 使用CWE来声明会导致 CWE-94 的问题。 该漏洞是在2014-02-07引入的。 此漏洞的脆弱性 2014-06-11由公示人David Reid, Alex Gaynor and and Glyph Lefkowitz、公示人身份Bug 17048、公示人类型为Bug Report (Bugzilla)所发布。 该通告可在 sourceware.org 下载。 此公开信息已与相关厂商协同。

此安全漏洞编号为CVE-2014-4043。 在2014-06-12进行了CVE分配。 有技术细节可用。 该漏洞的普及率低于常规水平。 此外还有一个漏洞可利用。 该漏洞利用已公开,可能会被利用。 目前,大约为美元 $0-$5k。 MITRE ATT&CK 项目将 T1059 作为攻击技术。

若有长度,则其被标记为 概念验证。 可以在sourceware.org下载该漏洞利用。 该漏洞在至少 124 天内被作为非公开的零日漏洞利用进行处理。 我们估计的零日攻击价值约为$0-$5k。 此漏洞利用的代码如下:

int main() {
    int res;
    posix_spawn_file_actions_t fa;
    posix_spawn_file_actions_init(&fa);

char *orig_path = "/tmp/afddsa"; char *path = malloc(strlen(orig_path) + 1); strcpy(path, orig_path); path[strlen(orig_path)] = '$exploit_sourcecode';

res = posix_spawn_file_actions_addopen( &fa, 1, path, O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); assert(res == 0);

memset(path, 0, strlen(orig_path)); free(path);

char *argv[] = {"/bin/echo", NULL}; pid_t pid; res = posix_spawn( &pid, "/bin/echo", &fa, NULL, argv, environ ); assert(res == 0); int status; wait4(pid, &status, 0, NULL); printf("%d\n", WEXITSTATUS(status)); }

Nessus 漏洞扫描器提供了插件,其 ID 为 76604。 它被分配到SuSE Local Security Checks家族。 它正在使用端口 0。 商业漏洞扫描器Qualys能够使用插件195576 (Ubuntu Security Notification for Eglibc Vulnerabilities (USN-2306-1))检测此问题。

更新到 2.20 版本能够解决该问题。 请访问sourceware.org下载修复补丁。 建议对受影响组件进行升级。 该漏洞可通过以下几行代码来解决:

#include <string.h>

该漏洞也被记录在其他漏洞数据库中:SecurityFocus (BID 68006), X-Force (93784), Secunia (SA58697), Vulnerability Center (SBV-45742) , Tenable (76604)。

产品信息

类型

供应商

名称

版本

许可证

网站

CPE 2.3信息

CPE 2.2信息

CVSSv4信息

VulDB 向量: 🔍
VulDB 可靠性: 🔍

CVSSv3信息

VulDB 元基础分数: 8.8
VulDB 元临时分数: 7.9

VulDB 基本分数: 8.8
VulDB 临时得分: 7.9
VulDB 向量: 🔍
VulDB 可靠性: 🔍

CVSSv2信息

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
向量复杂性身份验证保密完整性可用性
开锁开锁开锁开锁开锁开锁
开锁开锁开锁开锁开锁开锁
开锁开锁开锁开锁开锁开锁

VulDB 基本分数: 🔍
VulDB 临时得分: 🔍
VulDB 可靠性: 🔍

NVD 基本分数: 🔍

利用信息

分类: 权限提升
CWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

身体的: 部分
本地: 是
远程: 是

可用性: 🔍
访问: 公共
状态: 概念验证
作者: Alex Gaynor
编程语言: 🔍
下载: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

价格预测: 🔍
当前价格估算: 🔍

0-Day开锁开锁开锁开锁
今天开锁开锁开锁开锁

Nessus ID: 76604
Nessus 名称: SuSE 11.3 Security Update : glibc (SAT Patch Number 9477)
Nessus 文件: 🔍
Nessus 风险: 🔍
Nessus 家庭: 🔍
Nessus Port: 🔍

OpenVAS ID: 703169
OpenVAS 名称: Debian Security Advisory DSA 3169-1 (eglibc - security update)
OpenVAS 文件: 🔍
OpenVAS 家庭: 🔍

Qualys ID: 🔍
Qualys 名称: 🔍

威胁情报信息

利益: 🔍
活跃演员: 🔍
活跃的APT团体: 🔍

对策信息

建议: 升级
状态: 🔍

0天时间: 🔍
利用延迟时间: 🔍

升级: C Library 2.20
补丁: sourceware.org

时间轴信息

2014-02-07 🔍
2014-06-11 +124 日 🔍
2014-06-11 +0 日 🔍
2014-06-11 +0 日 🔍
2014-06-12 +1 日 🔍
2014-06-13 +1 日 🔍
2014-06-13 +0 日 🔍
2014-06-13 +0 日 🔍
2014-07-20 +37 日 🔍
2014-08-11 +22 日 🔍
2014-10-06 +56 日 🔍
2021-06-22 +2451 日 🔍

来源信息

供应商: gnu.org

公告: Bug 17048
研究人员: David Reid, Alex Gaynor, and Glyph Lefkowitz
状态: 已确认
确认: 🔍
已协调: 🔍

CVE: CVE-2014-4043 (🔍)
GCVE (CVE): GCVE-0-2014-4043
GCVE (VulDB): GCVE-100-13587

OVAL: 🔍

X-Force: 93784 - GNU C Library posix_spawn_file_actions_addopen code execution, High Risk
SecurityFocus: 68006 - GNU glibc 'xc_cpupool_getinfo()' Function Use After Free Memory Corruption Vulnerability
Secunia: 58697 - GNU C Library "posix_spawn_file_actions_addopen()" Denial of Service Vulnerabili, Less Critical
Vulnerability Center: 45742 - GNU C Library Remote Code Execution due to a Use After Free Error in \x27posix_spawn_file_actions_addopen\x27, High

scip Labs: https://www.scip.ch/en/?labs.20161013
其他: 🔍
另见: 🔍

条目信息

已创建: 2014-06-13 15時04分
已更新: 2021-06-22 20時43分
更改: 2014-06-13 15時04分 (94), 2017-06-04 10時36分 (7), 2021-06-22 20時43分 (3)
完整: 🔍
Cache ID: 216:FAC:103

讨论

暂时没有任何评论。 语言: zh + en.

请登录后发表评论。

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!