Bug 523936 (CVE-2009-1297) - CVE-2009-1297 iscsi-initiator-utils: unsafe tmp file use in iscsi_discovery script
Summary: CVE-2009-1297 iscsi-initiator-utils: unsafe tmp file use in iscsi_discovery s...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2009-1297
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-17 09:46 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-29 15:16:05 UTC
Embargoed:


Attachments (Terms of Use)
Local copy of open-iscsi CVE-2009-1297 patch (1.51 KB, patch)
2009-09-17 09:51 UTC, Jan Lieskovsky
no flags Details | Diff

Description Jan Lieskovsky 2009-09-17 09:46:26 UTC
Colin Watson reported an unsafe temporary file use, present in
scsi-initiator-utils's iscsi_discovery shell script. A local
attacker could use this flaw to perform symlink attack against
user running this script, which will result in overwrite of
arbitrary file writable by this script.

References:
-----------
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/408915
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547011

Proposed patch:
---------------
http://launchpadlibrarian.net/29898683/408915.patch

Credit:
-------
Colin Watson

Comment 1 Jan Lieskovsky 2009-09-17 09:51:17 UTC
Created attachment 361464 [details]
Local copy of open-iscsi CVE-2009-1297 patch

Comment 2 Jan Lieskovsky 2009-09-17 09:54:20 UTC
This issue does NOT affect the versions of the iscsi-initiator-utils 
package, as shipped with Red Hat Enterprise Linux 3 and 4.

This issue affects the version of the iscsi-initiator-utils package,
as shipped with Red Hat Enterprise Linux 5.

---------

This issue affects the latest versions of the iscsi-initiator-utils package,
as shipped with Fedora releases of 10 and 11 
(iscsi-initiator-utils-6.2.0.870-1.0.fc10 and iscsi-initiator-utils-6.2.0.870-8.fc11.1).

Please schedule the Fedora updates.

Comment 5 Tomas Hoger 2009-09-29 15:16:05 UTC
To correct comment #2:

Affected script is part of the iscsi-initialtor-utils source RPMs in Red Hat Enterprise Linux 5 and current Fedora versions, however, that script is not shipped in the binary package.  Hence Red Hat Enterprise Linux 5 and Fedora 10 and 11 are unaffected too.


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