CVE-2010-0743: Medium severity Zaal Tgt vulnerability

Published Mar 22, 2010
·
Updated

A Debian bug report [1] reported two remotely exploitable format string vulnerabilities in iscsitarget. We do not provide iscsitarget, but similar code exists in scsi-target-utils (isns.c):

rqs 0.3 ($Id: rqp 349 2010-03-19 23:05:04Z vdanen $)

Searching database records for substring match on files ("/isns.c")

Results in Tag: f11

iscsi-initiator-utils-6.2.0.870-8.fc11: (source) open-iscsi-2.0-870.1.tar.gz: open-iscsi-2.0-870.1/usr/isns.c scsi-target-utils-0.9.5-1.fc11: (source) tgt-0.9.5.tar.bz2: tgt-0.9.5/usr/iscsi/isns.c

Results in Tag: f12

iscsi-initiator-utils-6.2.0.870-10.fc12.1: (source) open-iscsi-2.0-870.1.tar.gz: open-iscsi-2.0-870.1/usr/isns.c scsi-target-utils-0.9.5-3.fc12: (source) tgt-0.9.5.tar.bz2: tgt-0.9.5/usr/iscsi/isns.c

Results in Tag: rhel5

iscsi-initiator-utils-6.2.0.871-0.10.el5: (source) open-iscsi-2.0-871-test4.bnx2i.tar.gz: open-iscsi-2.0-871-test4.bnx2i/usr/isns.c scsi-target-utils-0.0-5.20080917snap.el5: (source) tgt-20080917.tar.bz2: tgt-20080917/usr/iscsi/isns.c

The problem is a few snprintf() statements that don't use format strings (there are 3 in total in this file in iscsitarget, only 1 of which is correct). Checking to see if the same issues are in the RHEL5 iscsi-initiator-utils yielded nothing (one correct use):

% grep snprintf usr/isns.c snprintf(port, sizeof(port), "%d", isnsport);

Unfortunately, this does affect scsi-target-utils:

% grep snprintf usr/iscsi/isns.c snprintf(mgmt->name, sizeof(mgmt->name), name); snprintf(ini->name, sizeof(ini->name), name); snprintf(port, sizeof(port), "%d", isnsport);

It is unclear to me whether this is remotely exploitable, but the Debian report implies that it is. With our format string protections, this would not result in arbitrary code execution, but in a denial of service (crash) condition. This also affects the version shipped with Fedora 12, so I presume Fedora 11 would be vulnerable to this as well.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574935

Other sources

Multiple format string vulnerabilities in isns.c in (1) Linux SCSI target framework (aka tgt or scsi-target-utils) 1.0.3, 0.9.5, and earlier and (2) iSCSI Enterprise Target (aka iscsitarget) 0.4.16 allow remote attackers to cause a denial of service (tgtd daemon crash) or possibly have unspecified other impact via vectors that involve the isnsattrquery and qryrsphandle functions, and are related to (a) client appearance and (b) client disappearance messages.

Affected Software

4 affected componentsFixes available
redhat/scsi-target-utils<0:0.0-6.20091205snap.el5_5.2
0:0.0-6.20091205snap.el5_5.2
Zaal Tgt<=0.9.5
Zaal Tgt=1.0.3
iscsitarget iscsitarget=0.4.16

Event History

Mar 22, 2010
CVE Published
12:00 AM
Mar 23, 2010
Data Sourced
via Red Hat·09:42 PM
DescriptionSeverityAffected Software
Apr 8, 2010
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via NVD·05:30 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2010-0743?

CVE-2010-0743 is classified as a high-severity vulnerability due to its potential for remote exploitation.

2

How do I fix CVE-2010-0743?

To fix CVE-2010-0743, upgrade the affected 'scsi-target-utils' package to a version that is not vulnerable.

3

What systems are affected by CVE-2010-0743?

CVE-2010-0743 affects systems utilizing versions of 'scsi-target-utils' up to 0:0.0-6.20091205snap.el5_5.2 and certain versions of 'tgt' and 'iscsitarget' packages.

4

What type of vulnerability is CVE-2010-0743?

CVE-2010-0743 is a remotely exploitable format string vulnerability.

5

Is my installation vulnerable to CVE-2010-0743?

If you are using affected versions of 'scsi-target-utils', 'tgt', or 'iscsitarget', your installation may be vulnerable to CVE-2010-0743.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203