Operating System:

[Linux]

Published:

04 August 2008

Protect yourself against future threats.

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

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

                         ESB-2008.0766 -- [Linux]
           Multiple vulnerabilities in Ingres Database for Linux
                               4 August 2008

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

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

Product:              Ingres Database
Publisher:            iDefense
Operating System:     Linux variants
Impact:               Root Compromise
                      Execute Arbitrary Code/Commands
                      Modify Arbitrary Files
Access:               Existing Account
CVE Names:            CVE-2008-3389 CVE-2008-3357 CVE-2008-3356

Original Bulletin:
  http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=733
  http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=732
  http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=731

Comment: Note that there are three iDefense advisories in this bulletin.

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

iDefense Security Advisory 08.01.08
http://labs.idefense.com/intelligence/vulnerabilities/
Aug 01, 2008

I. BACKGROUND

Ingres Database is a database server used in several Computer
Associates' products. For example, CA Directory Service uses the Ingres
Database server. More information can be found on the vendor's website
at the following URL.

http://ingres.com/downloads/prod-cert-download.php

II. DESCRIPTION

Local exploitation of a file permissions modification vulnerability in
the "verifydb" utility, as included with Ingres Database 2006 Release 2
for Linux, allows attackers to modify the permissions of files owned by
the Ingres database user.

The vulnerability exists within the "verifydb" utility included with
Ingres. It is used to cleanup unneeded files created in the database
directory. This program has the set-uid bit set, and is owned by the
"ingres" user.

The "verifydb" program improperly changes the permissions on files. The
program first creates a file called "iivdb.log" in the current
directory, and then makes it world writable. By creating a symbolic
link to a file owned by the "ingres" user, an attacker can gain write
access to the target file.

III. ANALYSIS

Exploitation of this vulnerability allows an attacker to overwrite
arbitrary files owned by the "ingres" user. By itself, this
vulnerability does not have very serious consequences. However, when
combined with the library loading vulnerability, it allows an attacker
to execute arbitrary code with root privileges.

IV. DETECTION

iDefense has confirmed the existence of this vulnerability in Ingres
2006 Enterprise Edition Release 2 for Linux x86 (32-bit). Other
versions may also be affected.

V. WORKAROUND

iDefense is currently unaware of any workaround for this issue.

VI. VENDOR RESPONSE

"This problem has been identified and resolved by Ingres in the
following releases: Ingres 2006 release 2 (9.1.0), Ingres 2006 release
1 (9.0.4), and Ingres 2.6."

For more information, refer to Ingres' advisory at the following URL.

http://www.ingres.com/support/security-alert-080108.php

VII. CVE INFORMATION

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

07/20/2007  Initial vendor response
07/23/2007  Initial vendor notification
08/01/2008  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 © 2008 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.

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

iDefense Security Advisory 08.01.08
http://labs.idefense.com/intelligence/vulnerabilities/
Aug 01, 2008

I. BACKGROUND

Ingres Database is a database server used in several Computer
Associates' products. For example, CA Directory Service use thes Ingres
Database server. More information can be found on the vendor's website
at the following URL.

http://ingres.com/downloads/prod-cert-download.php

II. DESCRIPTION

Local exploitation of a stack-based buffer overflow vulnerability in the
"libbecompat" library, as included in Ingres Database 2006 Release 2 for
Linux, allows attackers to execute arbitrary code with the privileges of
the Ingres user.

The vulnerability exists within the "libbecompat" library that is used
by several of the set-uid "ingres" utilities included with Ingres. When
copying a user supplied environment variable into a fixed-size stack
buffer, the library fails to check the length of the source string.
This results in an exploitable stack buffer overflow.

III. ANALYSIS

Exploitation of this vulnerability allows an attacker to execute
arbitrary code with the privileges of the "ingres" user. By itself,
this vulnerability does not have very serious consequences. However,
when combined with the library loading vulnerability, it allows an
attacker to execute arbitrary code with root privileges.

IV. DETECTION

iDefense has confirmed the existence of this vulnerability in Ingres
2006 Enterprise Edition Release 2 for Linux x86 (32-bit). Other
versions may also be affected.

V. WORKAROUND

iDefense is currently unaware of any workaround for this issue.

VI. VENDOR RESPONSE

"This problem has been identified and resolved by Ingres in the
following releases: Ingres 2006 release 2 (9.1.0), Ingres 2006 release
1 (9.0.4), and Ingres 2.6."

For more information, refer to Ingres' advisory at the following URL.

http://www.ingres.com/support/security-alert-080108.php

VII. CVE INFORMATION

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

07/20/2007  Initial vendor response
07/23/2007  Initial vendor notification
08/01/2008  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 © 2008 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.

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

iDefense Security Advisory 08.01.08
http://labs.idefense.com/intelligence/vulnerabilities/
Aug 01, 2008

I. BACKGROUND

Ingres Database is a database server used in several Computer
Associates' products. For example, CA Directory Service use thes Ingres
Database server. More information can be found on the vendor's website
at the following URL.

http://ingres.com/downloads/prod-cert-download.php

II. DESCRIPTION

Local exploitation of an untrusted library path vulnerability in the
"ingvalidpw" utility, as included in Ingres Database 2006 Release 2 for
Linux, allows attackers to execute arbitrary code with root privileges.

The vulnerability exists within the "ingvalidpw" utility included with
Ingres database. This utility is used to verify a user's credentials,
and is installed set-uid root. When loading shared libraries, the
"ingvalidpw" program will load libraries from a directory owned by the
"ingres" user. By using a specially crafted library, a user with
"ingres" privileges can gain root.

III. ANALYSIS

Exploitation of this vulnerability allows an attacker to elevate their
privileges from the "ingres" user to root. By itself, this is not that
serious of a vulnerability. However, when combined with the libbecompat
and verifydb vulnerabilities it allows an unprivileged local user to
gain root privileges.

IV. DETECTION

iDefense has confirmed the existence of this vulnerability in Ingres
2006 Enterprise Edition Release 2 for Linux x86 (32-bit). Other
versions may also be affected.

V. WORKAROUND

iDefense is currently unaware of any workarounds for this issue.

VI. VENDOR RESPONSE

"This problem has been identified and resolved by Ingres in the
following releases: Ingres 2006 release 2 (9.1.0), Ingres 2006 release
1 (9.0.4), and Ingres 2.6."

For more information, refer to Ingres' advisory at the following URL.

http://www.ingres.com/support/security-alert-080108.php

VII. CVE INFORMATION

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

07/20/2007  Initial vendor response
07/23/2007  Initial vendor notification
08/01/2008  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 © 2008 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

iQCVAwUBSJZIkih9+71yA2DNAQKPqwP+OGuyysfQPPwVW2TCSd5SRvBkCKZfhsn7
lH9UYrbWQUezug4iaa4p9yqdbxV6seD1h+0RnXTT+riOU9Q95ATgGzPw4zyBCSD6
fyXuvYm5phAaCx11rQNeV5qZn2Q6NmT0rdmJZXgfV8osnOMqsUBew7EdfP8QHORR
wGXG81T1y1c=
=EJtv
-----END PGP SIGNATURE-----