CVE-2004-0077 (CNNVD-200403-026)
中文标题:
Linux Kernel do_mremap VMA本地权限提升漏洞
英文标题:
The do_mremap function for the mremap system call in Linux 2.2 to 2.2.25, 2.4 to 2.4.24, and 2.6 to ...
漏洞描述
中文描述:
Linux是一款开放源代码操作系统。 Linux内核中mremap(2)系统调用由于没有对函数返回值进行检查,本地攻击者可以利用这个漏洞获得root用户权限。 mremap系统调用被应用程序用来改变映射区段(VMAs)的边界地址。mremap()系统调用提供对已存在虚拟内存区域调整大小。从VMA区域移动部分虚拟内存到新的区域需要建立一个新的VMA描述符,也就是把由VMA描述的下面的页面表条目(page table entries)从老的区域拷贝到进程页表中新的位置。 要完成这个任务do_mremap代码需要调用do_munmap()内部内核函数去清除在新位置中任何已经存在的内存映射,也就是删除旧的虚拟内存映射。不幸的是代码没有对do_munmap()函数的返回值进行检查,如果可用VMA描述符的最大数已经超出,那么函数调用就可能失败。 isec利用这个漏洞通过页表缓冲(page table cache)使包含在页中的恶意指令被执行。详细方法可参看如下地址: http://isec.pl/vulnerabilities/isec-0014-mremap-unmap.txt
英文描述:
The do_mremap function for the mremap system call in Linux 2.2 to 2.2.25, 2.4 to 2.4.24, and 2.6 to 2.6.2, does not properly check the return value from the do_munmap function when the maximum number of VMA descriptors is exceeded, which allows local users to gain root privileges, a different vulnerability than CAN-2003-0985.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| redhat | bigmem_kernel | 2.4.20-8 | - | - |
cpe:2.3:a:redhat:bigmem_kernel:2.4.20-8:*:i686:*:*:*:*:*
|
| redhat | kernel | 2.4.20-8 | - | - |
cpe:2.3:a:redhat:kernel:2.4.20-8:*:athlon_smp:*:*:*:*:*
|
| redhat | kernel_doc | 2.4.20-8 | - | - |
cpe:2.3:a:redhat:kernel_doc:2.4.20-8:*:i386:*:*:*:*:*
|
| redhat | kernel_source | 2.4.20-8 | - | - |
cpe:2.3:a:redhat:kernel_source:2.4.20-8:*:i386_src:*:*:*:*:*
|
| linux | linux_kernel | 2.2.0 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.0:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.1 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.1:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.2 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.2:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.3 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.3:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.4 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.4:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.5 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.5:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.6 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.6:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.7 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.7:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.8 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.8:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.9 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.9:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.10 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.10:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.11 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.11:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.12 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.12:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.13 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.13:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.14 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.14:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.15 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.15:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.15_pre20 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.15_pre20:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.16 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.16:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.17 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.17:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.18 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.18:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.19 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.19:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.20 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.20:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.21 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.21:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.22 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.22:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.23 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.23:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.2.24 | - | - |
cpe:2.3:o:linux:linux_kernel:2.2.24:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.0 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.0:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.1 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.1:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.2 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.2:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.3 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.3:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.4 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.4:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.5 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.5:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.6 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.6:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.7 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.7:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.8 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.8:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.9 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.9:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.10 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.10:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.11 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.11:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.12 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.12:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.13 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.13:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.14 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.14:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.15 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.15:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.16 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.16:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.17 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.17:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.18 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.18:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.19 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.19:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.20 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.20:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.21 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.21:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.22 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.22:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.23 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.23:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.4.24 | - | - |
cpe:2.3:o:linux:linux_kernel:2.4.24:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.6.0 | - | - |
cpe:2.3:o:linux:linux_kernel:2.6.0:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.6.1 | - | - |
cpe:2.3:o:linux:linux_kernel:2.6.1:rc1:*:*:*:*:*:*
|
| linux | linux_kernel | 2.6.2 | - | - |
cpe:2.3:o:linux:linux_kernel:2.6.2:*:*:*:*:*:*:*
|
| linux | linux_kernel | 2.6_test9_cvs | - | - |
cpe:2.3:o:linux:linux_kernel:2.6_test9_cvs:*:*:*:*:*:*:*
|
| netwosix | netwosix_linux | 1.0 | - | - |
cpe:2.3:o:netwosix:netwosix_linux:1.0:*:*:*:*:*:*:*
|
| trustix | secure_linux | 1.5 | - | - |
cpe:2.3:o:trustix:secure_linux:1.5:*:*:*:*:*:*:*
|
| trustix | secure_linux | 2.0 | - | - |
cpe:2.3:o:trustix:secure_linux:2.0:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
exploitdb
exploitdb
cve.org
exploitdb
exploitdb
CVSS评分详情
AV:L/AC:L/Au:N/C:C/I:C/A:C
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2004-0077 |
2025-11-11 15:17:28 | 2025-11-11 07:32:20 |
| NVD | nvd_CVE-2004-0077 |
2025-11-11 14:50:54 | 2025-11-11 07:41:07 |
| CNNVD | cnnvd_CNNVD-200403-026 |
2025-11-11 15:08:43 | 2025-11-11 07:48:53 |
| EXPLOITDB | exploitdb_EDB-154 |
2025-11-11 15:05:25 | 2025-11-11 08:09:22 |
| EXPLOITDB | exploitdb_EDB-160 |
2025-11-11 15:05:25 | 2025-11-11 08:10:22 |
版本与语言
安全公告
变更历史
查看详细变更
- references_count: 39 -> 41
- tags_count: 4 -> 5
查看详细变更
- references_count: 36 -> 39
- tags_count: 0 -> 4
- data_sources: ['cnnvd', 'cve', 'nvd'] -> ['cnnvd', 'cve', 'exploitdb', 'nvd']
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-200403-026
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- severity: SeverityLevel.MEDIUM -> SeverityLevel.HIGH
- cvss_score: 未提取 -> 7.2
- cvss_vector: NOT_EXTRACTED -> AV:L/AC:L/Au:N/C:C/I:C/A:C
- cvss_version: NOT_EXTRACTED -> 2.0
- affected_products_count: 0 -> 62
- data_sources: ['cve'] -> ['cve', 'nvd']