-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                    ESB-2007.0622 -- [Win][UNIX/Linux]
         ESRI ArcSDE Numeric Literal Buffer Overflow Vulnerability
                              17 August 2007

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:              ESRI ArcSDE
Publisher:            iDefense
Operating System:     UNIX variants (UNIX, Linux)
                      Windows
Impact:               Denial of Service
                      Execute Arbitrary Code/Commands
Access:               Remote/Unauthenticated
CVE Names:            CVE-2007-4278

Original Bulletin:    http://labs.idefense.com/intelligence/vulnerabilities/

- --------------------------BEGIN INCLUDED TEXT--------------------

ESRI ArcSDE Numeric Literal Buffer Overflow Vulnerability

iDefense Security Advisory 08.15.07
http://labs.idefense.com/intelligence/vulnerabilities/
Aug 15, 2007

I. BACKGROUND

ESRI Inc. ArcSDE is a multi-user database server bundled with ArcGIS to
provide access to Geographic Information Systems (GIS). More
information is available at the following URL.

http://www.esri.com/software/arcgis/arcsde/index.html

II. DESCRIPTION

Remote exploitation of a buffer overflow vulnerability within
Environmental Systems Research Institute (ESRI) Inc.'s ArcSDE service
allows attackers to crash the service or potentially execute arbitrary
code.

This vulnerability specifically exists due to insufficient buffer space
when representing user-supplied numeric values in ASCII. Certain
requests result in an sprintf() call using a static-sized 8 byte stack
buffer. If an attacker supplies a number that's ASCII value cannot be
represented within 8 bytes, a stack-based buffer overflow occurs.

III. ANALYSIS

Exploitation allows attackers to crash the service, or potentially
execute arbitrary code.

Since an attacker can only overflow the buffer with numeric values and a
single NUL byte, the execution of arbitrary may not be possible. Denial
of service is definitely possible.

No authentication is required to exploit this vulnerability.
Exploitation requires that attacker be able to communicate with the
server via the TCP port on which it is listening. By default the server
listens on port 5151.

IV. DETECTION

The vendor has confirmed that version 9.2 of ArcSDE, as bundled with
ArcGIS, is vulnerable to this attack. All versions are suspected to be
vulnerable.

V. WORKAROUND

Employing firewalls to limit access to the affected service can help
prevent potential exploitation of this vulnerability.

VI. VENDOR RESPONSE

ESRI has addressed this vulnerability by releasing ArcSDE 9.2 Service
Pack 3. More information is available from their Service Pack 3 release
notes at the following URL.

http://downloads.esri.com/support/downloads/other_/ArcSDE-92sp3-issues.htm

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2007-4278 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org/), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

05/14/2007  Initial vendor notification
05/14/2007  Initial vendor response
08/15/2007  Coordinated public disclosure

IX. CREDIT

The discoverer of this vulnerability wishes to remain anonymous.

Get paid for vulnerability research
http://labs.idefense.com/methodology/vulnerability/vcp.php

Free tools, research and upcoming events
http://labs.idefense.com/

X. LEGAL NOTICES

Copyright © 2007 iDefense, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically,
please e-mail customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
 There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct,
indirect, or consequential loss or damage arising from use of, or
reliance on, this information.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBRsTtCSh9+71yA2DNAQLEqAQAlisXrkBR1nidjH7/i1mcDmrKMb+C73UY
BufVNmrsqzik/GwhZcHXuZ1lty/ZVVz7jUOrNJfcufpeQdftKv/k7lbMcwyy6EzJ
qM2VdSEV4vePXI7PLsfucUxZ18Y2GXz6Ez0XJIYRWHCpgYIzmUvemOPnRJL2XzTj
zwC3nJteWeg=
=eH09
-----END PGP SIGNATURE-----