中危 tar 目录遍历任意文件写入漏洞

CVE编号

CVE-2007-4131

利用情况

暂无

补丁情况

官方补丁

披露时间

2007-08-25
漏洞描述
GNU tar中src / names.c中的contains_dot_dot函数中的目录遍历漏洞允许用户辅助的远程攻击者通过TAR存档中目录符号链接中的某些// ..(斜杠斜点)序列覆盖任意文件。

解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=251921
http://docs.info.apple.com/article.html?artnum=307179
http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
http://secunia.com/advisories/26573
http://secunia.com/advisories/26590
http://secunia.com/advisories/26603
http://secunia.com/advisories/26604
http://secunia.com/advisories/26655
http://secunia.com/advisories/26673
http://secunia.com/advisories/26674
http://secunia.com/advisories/26781
http://secunia.com/advisories/26822
http://secunia.com/advisories/26984
http://secunia.com/advisories/27453
http://secunia.com/advisories/27861
http://secunia.com/advisories/28136
http://secunia.com/advisories/28255
http://security.FreeBSD.org/advisories/FreeBSD-SA-07:10.gtar.asc
http://security.gentoo.org/glsa/glsa-200709-09.xml
http://sunsolve.sun.com/search/document.do?assetkey=1-77-1021680.1-1
http://support.avaya.com/elmodocs2/security/ASA-2007-383.htm
http://www.debian.org/security/2007/dsa-1438
http://www.mandriva.com/security/advisories?name=MDKSA-2007:173
http://www.novell.com/linux/security/advisories/2007_18_sr.html
http://www.redhat.com/support/errata/RHSA-2007-0860.html
http://www.securityfocus.com/archive/1/477731/100/0/threaded
http://www.securityfocus.com/archive/1/477865/100/0/threaded
http://www.securityfocus.com/bid/25417
http://www.securitytracker.com/id?1018599
http://www.trustix.org/errata/2007/0026/
http://www.ubuntu.com/usn/usn-506-1
http://www.us-cert.gov/cas/techalerts/TA07-352A.html
http://www.vupen.com/english/advisories/2007/2958
http://www.vupen.com/english/advisories/2007/4238
https://issues.rpath.com/browse/RPL-1631
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.ova...
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.ova...
https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00370.html
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 gnu tar 1.13 -
运行在以下环境
应用 gnu tar 1.13.11 -
运行在以下环境
应用 gnu tar 1.13.14 -
运行在以下环境
应用 gnu tar 1.13.16 -
运行在以下环境
应用 gnu tar 1.13.17 -
运行在以下环境
应用 gnu tar 1.13.18 -
运行在以下环境
应用 gnu tar 1.13.19 -
运行在以下环境
应用 gnu tar 1.13.25 -
运行在以下环境
应用 gnu tar 1.13.5 -
运行在以下环境
应用 gnu tar 1.14 -
运行在以下环境
应用 gnu tar 1.14.90 -
运行在以下环境
应用 gnu tar 1.15 -
运行在以下环境
应用 gnu tar 1.15.1 -
运行在以下环境
应用 gnu tar 1.15.90 -
运行在以下环境
应用 gnu tar 1.15.91 -
运行在以下环境
应用 gnu tar 1.16 -
运行在以下环境
系统 centos_5 tar * Up to
(excluding)
1.15.1-23.0.1.el5
运行在以下环境
系统 debian_10 tar * Up to
(excluding)
1.18-2
运行在以下环境
系统 debian_11 tar * Up to
(excluding)
1.18-2
运行在以下环境
系统 debian_12 tar * Up to
(excluding)
1.18-2
运行在以下环境
系统 debian_3.1 tar * Up to
(excluding)
1.14-2.4
运行在以下环境
系统 debian_4.0 tar * Up to
(excluding)
1.16-2etch1
运行在以下环境
系统 oracle_5 oraclelinux-release * Up to
(excluding)
1.15.1-23.0.1.el5
运行在以下环境
系统 redhat enterprise_linux 4.0 -
运行在以下环境
系统 redhat enterprise_linux 5.0 -
运行在以下环境
系统 redhat enterprise_linux_desktop 5.0 -
运行在以下环境
系统 redhat_5 tar * Up to
(excluding)
0:1.14-12.5.1.RHEL4
运行在以下环境
系统 rpath rpath_linux 1 -
阿里云评分
6.2
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    越权影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    传输被破坏
  • 服务器危害
    服务器失陷
  • 全网数量
    N/A
CWE-ID 漏洞类型
NVD-CWE-Other
阿里云安全产品覆盖情况