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

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

                          ESB-2007.0450 -- [Win]
         Ingres Database Multiple Heap Corruption Vulnerabilities
                               22 June 2007

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

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

Product:              Ingres 2006 (version 9.0.4)
                      CA Secure Content Manager
Publisher:            iDEFENSE
Operating System:     Windows
Impact:               Execute Arbitrary Code/Commands
                      Overwrite Arbitrary Files
Access:               Remote/Unauthenticated
CVE Names:            CVE-2007-3334

Original Bulletin:  
http://supportconnectw.ca.com/public/ca_common_docs/ingresvuln_letter.asp

Comment: Other products which use the Ingres 2006 database may also be
         vulnerable to this issue.

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

Ingres Database Multiple Heap Corruption Vulnerabilities

iDefense Security Advisory 06.21.07
http://labs.idefense.com/intelligence/vulnerabilities/
Jun 21, 2007

I. BACKGROUND

Ingres is the database backend used by default in several CA products.
The SCM (Secure Content Manager) is one of the products that uses
Ingres. The SCM use Ingres to store quarantined virii and blocked HTTP
requests/replies. For more information visit the following URLs.

http://www3.ca.com/solutions/Product.aspx?ID=1013

http://www.ingres.com/

II. DESCRIPTION

Remote exploitation of multiple heap overflow vulnerabilities in Ingres
Database Server as distributed with Computer Associates International
Inc.'s (CA) products may allow attackers to execute arbitrary code with
SYSTEM privileges.

The vulnerabilities exist in the Communications Server (iigcc.exe) and
Data Access Server (iigcd.exe) components of Ingres. The Communications
Server is the main component responsible for receiving and handling
requests from the network. The Data Access Server is responsible for
handling requests from the Ingres JDBC Driver and .NET data providers.
These requests are decoded into Ingres internal formats and passed on
to other components of the database server.

The application does not properly validate the length of attacker
supplied data before copying it into a fixed size heap buffer. This
leads to an exploitable condition.

III. ANALYSIS

Exploitation allows an unauthenticated attacker to execute arbitrary
code with SYSTEM privileges.

In order to exploit this vulnerability an attacker would have to send a
malformed request to the database server. This requires the ability to
establish a TCP session on port 10916 (iigcc) or 10923 (iigcd).

Exploitation has been demonstrated to be trivial.

IV. DETECTION

iDefense has confirmed the existence of this vulnerability in Ingres
Database 3.0.3 as included with CA eTrust Secure Content Manager r8 on
Windows. Previous versions may also be affected. In addition, any
application that uses the Ingres Database may be vulnerable.

V. WORKAROUND

Employing firewalls or other access control methods can effectively
reduce exposure to this vulnerability.

VI. VENDOR RESPONSE

CA has made fixes available for all supported CA products that embed
Ingres. For more information consult CA's Security Alert at the
following URL.

http://supportconnectw.ca.com/public/ca_common_docs/ingresvuln_letter.asp

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2007-3334 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

01/16/2007  Initial vendor notification
01/17/2007  Initial vendor response
06/21/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

iQCVAwUBRntArSh9+71yA2DNAQI/ggP/U974hNQ/wVyUEEN0CpCiLJmSoBqNwUAi
vZFEY/wbiyVqr3Xz/lk+3a0OYKW4DhL2xDRdkOJ0riZ7Y0F/QPsZw+IYGUk3X76L
FgNx4ZZudy2VnTqijr0LUIvaXcpBRA1TGOft37TLUhF/woZUfXbFh0P/nr4Q5tqK
pE/3gAEgKkw=
=v9nD
-----END PGP SIGNATURE-----