CVE-2005-2475
CVSS1.2
发布时间 :2005-08-05 00:00:00
修订时间 :2016-10-17 23:27:44
NMCOP    

[原文]Race condition in Unzip 5.52 allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being decompressed, whose permissions are changed by Unzip after the decompression is complete.


[CNNVD]Info-ZIP UnZip CHMod文件权限修改竞态条件漏洞 (CNNVD-200508-058)

        Unzip 5.52中的竞态条件允许本地用户借助于对正在被解压文件的硬链接攻击修改任意文件的权限。当解压完成后,该文件的权限被Unzip修改。

- CVSS (基础分值)

CVSS分值: 1.2 [轻微(LOW)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: NONE [不会对系统完整性产生影响]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: HIGH [漏洞利用存在特定的访问条件]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

产品及版本信息(CPE)暂不可用

- OVAL (用于检测的技术细节)

oval:org.mitre.oval:def:9975Race condition in Unzip 5.52 allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being ...
*OVAL详细的描述了检测该漏洞的方法,你可以从相关的OVAL定义中找到更多检测该漏洞的技术细节。

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-2475
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-2475
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200508-058
(官方数据源) CNNVD

- 其它链接及资源

ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2005.39/SCOSA-2005.39.txt
(UNKNOWN)  SCO  SCOSA-2005.39
http://marc.info/?l=bugtraq&m=112300046224117&w=2
(UNKNOWN)  BUGTRAQ  20050801 unzip TOCTOU file-permissions vulnerability
http://securityreason.com/securityalert/32
(UNKNOWN)  SREASON  32
http://www.debian.org/security/2005/dsa-903
(UNKNOWN)  DEBIAN  DSA-903
http://www.info-zip.org/FAQ.html
(UNKNOWN)  CONFIRM  http://www.info-zip.org/FAQ.html
http://www.mandriva.com/security/advisories?name=MDKSA-2005:197
(UNKNOWN)  MANDRIVA  MDKSA-2005:197
http://www.redhat.com/support/errata/RHSA-2007-0203.html
(UNKNOWN)  REDHAT  RHSA-2007:0203
http://www.securityfocus.com/bid/14450
(UNKNOWN)  BID  14450
http://www.trustix.org/errata/2005/0053/
(UNKNOWN)  TRUSTIX  2005-0053
http://www.ubuntu.com/usn/usn-191-1
(UNKNOWN)  UBUNTU  USN-191-1

- 漏洞信息

Info-ZIP UnZip CHMod文件权限修改竞态条件漏洞
低危 竞争条件
2005-08-05 00:00:00 2005-10-20 00:00:00
本地  
        Unzip 5.52中的竞态条件允许本地用户借助于对正在被解压文件的硬链接攻击修改任意文件的权限。当解压完成后,该文件的权限被Unzip修改。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复这个安全问题,补丁下载链接:
        SCO Open Server 5.0.7
        SCO 507/VOL.000.000
        ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2005.39/507
        Info-ZIP UnZip 5.50
        Conectiva unzip-5.52-76281U10_2cl.i386.rpm
        ftp://atualizacoes.conectiva.com.br/10/RPMS/unzip-5.52-76281U10_2cl.i3 86.rpm
        Debian unzip_5.50-1woody5_arm.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 5_arm.deb
        Debian unzip_5.50-1woody5_hppa.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 5_hppa.deb
        Debian unzip_5.50-1woody5_i386.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 5_i386.deb
        Debian unzip_5.50-1woody5_ia64.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 5_ia64.deb
        Debian unzip_5.50-1woody5_m68k.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 5_m68k.deb
        Debian unzip_5.50-1woody5_mips.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 5_mips.deb
        Debian unzip_5.50-1woody5_mipsel.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 5_mipsel.deb
        Debian unzip_5.50-1woody5_powerpc.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 5_powerpc.deb
        Debian unzip_5.50-1woody5_s390.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 5_s390.deb
        Debian unzip_5.50-1woody5_sparc.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 5_sparc.deb
        Debian unzip_5.52-1sarge3_alpha.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge 3_alpha.deb
        Debian unzip_5.52-1sarge3_amd64.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge 3_amd64.deb
        Debian unzip_5.52-1sarge3_i386.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge 3_i386.deb
        Debian unzip_5.52-1sarge3_ia64.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge 3_ia64.deb
        Debian unzip_5.50-1woody4_alpha.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 4_alpha.deb
        Debian unzip_5.50-1woody4_arm.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 4_arm.deb
        Debian unzip_5.50-1woody4_hppa.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 4_hppa.deb
        Debian unzip_5.50-1woody4_i386.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 4_i386.deb
        Debian unzip_5.50-1woody4_ia64.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 4_ia64.deb
        Debian unzip_5.50-1woody4_m68k.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 4_m68k.deb
        Debian unzip_5.50-1woody4_mips.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 4_mips.deb
        Debian unzip_5.50-1woody4_mipsel.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 4_mipsel.deb
        Debian unzip_5.50-1woody4_powerpc.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 4_powerpc.deb
        Debian unzip_5.50-1woody4_s390.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody 4_s390.deb
        Debian unzip_5.50-1woody4_sparc.deb
        Debian GNU/Linux 3.0 alias woody
        http://security.debian.org/pool/updates/main/

- 漏洞信息 (F40377)

usn-191-1.txt (PacketStormID:F40377)
2005-10-04 00:00:00
Martin Pitt  security.ubuntu.com
advisory,arbitrary,local
linux,ubuntu
CVE-2005-2475
[点击下载]

Ubuntu Security Notice USN-191-1 - Imran Ghory found a race condition in the handling of output files. While a file was unpacked by unzip, a local attacker with write permissions to the target directory could exploit this to change the permissions of arbitrary files of the unzip user.

--Md/poaVZ8hnGTzuv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

===========================================================
Ubuntu Security Notice USN-191-1	 September 29, 2005
unzip vulnerability
CAN-2005-2475
===========================================================

A security issue affects the following Ubuntu releases:

Ubuntu 4.10 (Warty Warthog)
Ubuntu 5.04 (Hoary Hedgehog)

The following packages are affected:

unzip

The problem can be corrected by upgrading the affected package to
version 5.51-2ubuntu0.2 (for Ubuntu 4.10), or 5.51-2ubuntu1.2 (for
Ubuntu 5.04).  In general, a standard system upgrade is sufficient to
effect the necessary changes.

Details follow:

Imran Ghory found a race condition in the handling of output files.
While a file was unpacked by unzip, a local attacker with write
permissions to the target directory could exploit this to change the
permissions of arbitrary files of the unzip user.


Updated packages for Ubuntu 4.10 (Warty Warthog):

  Source archives:

    http://security.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_5.51-2ubuntu0.2.diff.gz
      Size/MD5:     5370 1c702c10ef3dde4ff8709278ed177eb2
    http://security.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_5.51-2ubuntu0.2.dsc
      Size/MD5:      534 bf60ea9eea72153cace6f4897bbdd9ea
    http://security.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_5.51.orig.tar.gz
      Size/MD5:  1112594 8a25712aac642430d87d21491f7c6bd1

  amd64 architecture (Athlon64, Opteron, EM64T Xeon)

    http://security.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_5.51-2ubuntu0.2_amd64.deb
      Size/MD5:   147456 27383e90eb1a9a9908383566e453907f

  i386 architecture (x86 compatible Intel/AMD)

    http://security.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_5.51-2ubuntu0.2_i386.deb
      Size/MD5:   134000 31a882052de2106d47ba3386068468a9

  powerpc architecture (Apple Macintosh G3/G4/G5)

    http://security.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_5.51-2ubuntu0.2_powerpc.deb
      Size/MD5:   149764 c3fb934fe364b596b26d67818c55825a

Updated packages for Ubuntu 5.04 (Hoary Hedgehog):

  Source archives:

    http://security.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_5.51-2ubuntu1.2.diff.gz
      Size/MD5:     6254 16aca1c38a3c6f65b26b767c52d56fb4
    http://security.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_5.51-2ubuntu1.2.dsc
      Size/MD5:      534 89355d1863fec2a59e2375689550411c
    http://security.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_5.51.orig.tar.gz
      Size/MD5:  1112594 8a25712aac642430d87d21491f7c6bd1

  amd64 architecture (Athlon64, Opteron, EM64T Xeon)

    http://security.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_5.51-2ubuntu1.2_amd64.deb
      Size/MD5:   147616 3624db8444f94bc37bd1ed27147829c5

  i386 architecture (x86 compatible Intel/AMD)

    http://security.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_5.51-2ubuntu1.2_i386.deb
      Size/MD5:   134874 c89ca693f0d79534a41f1677162d5cfb

  powerpc architecture (Apple Macintosh G3/G4/G5)

    http://security.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_5.51-2ubuntu1.2_powerpc.deb
      Size/MD5:   151228 2464a5ddfa75c851b87db1b198e02fc5

--Md/poaVZ8hnGTzuv
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDPB3BDecnbV4Fd/IRAngOAKCGpaAJWgirx0GVrRFpl/vGXX7+9ACg1S58
EBB0ide7MXvHthiF08RgKYE=
=Bh+I
-----END PGP SIGNATURE-----

--Md/poaVZ8hnGTzuv--
    

- 漏洞信息

18530
UnZip Race Condition Arbitrary File Permission Modification
Local Access Required Race Condition
Loss of Integrity Solution Unknown
Exploit Unknown Uncoordinated Disclosure

- 漏洞描述

UnZip contains a flaw that may allow a malicious local user to change permissions of arbitrary files on the system. The issue is triggered via a hard link attack on a file while it is being decompressed. It is possible that the flaw may allow arbitrary file permission modification resulting in a loss of confidentiality and integrity.

- 时间线

2005-08-01 Unknow
Unknow Unknow

- 解决方案

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站