Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 523936 - (CVE-2009-1297) CVE-2009-1297 iscsi-initiator-utils: unsafe tmp file use in iscsi_discovery script
CVE-2009-1297 iscsi-initiator-utils: unsafe tmp file use in iscsi_discovery s...
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
https://bugs.launchpad.net/ubuntu/+so...
impact=moderate,reported=20090805,pub...
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-17 05:46 EDT by Jan Lieskovsky
Modified: 2009-09-29 11:17 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-09-29 11:16:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Jan Lieskovsky 2009-09-17 05:46:26 EDT
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 05:51:17 EDT
Created attachment 361464 [details]
Local copy of open-iscsi CVE-2009-1297 patch
Comment 2 Jan Lieskovsky 2009-09-17 05:54:20 EDT
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 11:16:05 EDT
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.