Bug 746713 (CVE-2011-3632) - CVE-2011-3632 hardlink: Prone to symlink attacks
Summary: CVE-2011-3632 hardlink: Prone to symlink attacks
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2011-3632
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 746715
Blocks: 746750
TreeView+ depends on / blocked
 
Reported: 2011-10-17 15:38 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:48 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:58:07 UTC


Attachments (Terms of Use)

Description Jan Lieskovsky 2011-10-17 15:38:18 UTC
It was reported, that hardlink, the tool for consolidation of duplicate files via hardlinks operated on full file system objects path names. A local attacker could use this flaw to conduct symlink attacks (cause the hardlink executable to operate on directories / files outside of the intended directory tree).

References:
[1] http://www.openwall.com/lists/oss-security/2011/10/15/2
[2] https://bugs.gentoo.org/show_bug.cgi?id=387269
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645516

Proposed patch (applied by the Owl Linux distribution):
[Adds section BUGS into the hardlink(1) man page documenting the danger]
[4] http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/hardlink/hardlink.1.diff?r1=1.1;r2=1.2

Comment 1 Jan Lieskovsky 2011-10-17 15:40:12 UTC
This issue affect the versions of the hardlink package, as shipped with Fedora release of 14 and 15. Please schedule an update.

Comment 2 Jan Lieskovsky 2011-10-17 15:42:19 UTC
Created hardlink tracking bugs for this issue

Affects: fedora-all [bug 746715]

Comment 3 Jan Lieskovsky 2011-10-17 16:50:40 UTC
This issue affect the versions of the hardlink package, as shipped with
Red Hat Enterprise Linux 5 and 6.

Comment 4 Jan Lieskovsky 2011-10-20 15:48:00 UTC
The CVE identifier of CVE-2011-3632 has been assigned to this issue:
[5] http://www.openwall.com/lists/oss-security/2011/10/20/6

Comment 7 Fedora Update System 2011-11-23 23:27:54 UTC
hardlink-1.0-12.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-12-11 21:50:09 UTC
hardlink-1.0-12.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.