Skip to navigation Skip to main content Skip to footer

Critical Risk Vulnerability in Ingres (Pointer Overwrite 1)

=======
Summary
=======
Name: Ingres remote unauthenticated pointer overwrite 1
Release Date: 25 June 2007
Reference: NGS00391
Discover: Chris Anley chris@ngssoftware.com
Vendor: Ingres
Vendor Reference: Ingres bug 115927, CVE-2007-3336, CAID 35450
Systems Affected: Ingres 2006 9.0.4 and prior
Risk: Critical
Status: Published

========
TimeLine
========
Discovered: 29 March 2006
Released: 29 March 2006
Approved: 29 March 2006
Reported: 29 March 2006
Fixed: 21 June 2007
Published: 25 June 2007

===========
Description
===========
Ingres 2006 is a venerable and functionality-rich RDBMS that has
recently been made available under the Gnu Public License (GPL).

There is a controllable pointer overwrite vulnerability in Ingres 2006
that occurs prior to authentication, that could allow an unauthenticated
attacker to execute arbitrary code within the context of the database
server.

=================
Technical Details
=================
The Ingres Communications Server Process (iigcc) listens on TCP port
21064 in a default Linux install of Ingres 2006.

If a connection is made and data of a specific form is sent to this TCP
port twice in rapid succession, iigcc will call the QUremove function
with an attacker-controlled argument. QUremove then overwrites an
address controlled by the attacker with a value controlled by the
attacker, thereby allowing the attacker to gain control of the flow of
execution.

The stack trace at the point of the controllable overwrite is as follows:

(gdb) info stack
#0 0x08089648 in QUremove ()
#1 0x0805f08a in gcc_al ()
#2 0x0805aabf in gcc_plout_exec ()
#3 0x080598ee in gcc_pl_event ()
#4 0x080596e4 in gcc_pl ()
#5 0x080595b5 in gcc_slout_exec ()
#6 0x0805794c in gcc_sl_event ()
#7 0x08057744 in gcc_sl ()
#8 0x0805692e in gcc_tlout_exec ()
#9 0x08054469 in gcc_tl_event ()
#10 0x08054238 in gcc_tl ()
#11 0x0805566a in gcc_tl_exit ()
#12 0x0809a25f in GCbssm ()
#13 0x08083b0e in ii_CL_poll_call ()
#14 0x08083921 in iiCLpoll ()
#15 0x08080122 in GCexec ()
#16 0x0805307c in main ()

Proof of concept code that demonstrates this issue has been provided to
the vendor.

===============
Fix Information
===============
Ingres issued a patch for this issue on the 21st June 2007.

Further details are available ata rel="external" href="http://supportconnectw.ca.com/public/ca_common_docs/ingresvuln_letter.asp"http://supportconnectw.ca.com/public/ca_common_docs/ingresvuln_letter.asp/a

Note that this issue affects a wide range of Computer Associates
products. A list of these products is available at
a rel=”external” href=”http://www.ca.com/us/securityadvisor/newsinfo/collateral.aspx?cid=145778″http://www.ca.com/us/securityadvisor/newsinfo/collateral.aspx?cid=145778/a

The affected products are listed below:

Advantage Data Transformer r2.2
AllFusion Enterprise Workbench r1.1, 1.1 SP1, r7, r7.1
AllFusion Harvest Change Manager r7, r7.1
BrightStor ARCserve Backup v9 (Linux only), r11.1, r11.5 (Unix, Linux and
Mainframe Linux)
BrightStor ARCserve Backup for Laptops and Desktops r11.5
BrightStor Enterprise Backup (Unix only) r10.5
BrightStor Storage Command Center r11.5
BrightStor Storage Resource Manager r11.5
CleverPath Aion Business Rules Expert r10.1
CleverPath Aion Business Process Monitoring r10.1
CleverPath Predictive Analysis Server r3
DocServer 1.1
eTrust Admin v8, v8.1, r8.1 SP1, r8.1 SP2
eTrust Audit r8 SP2
eTrust Directory r8.1
eTrust IAM Suite r8.0
eTrust IAM Toolkit r8.0, r8.1
eTrust Identity Manager r8.1
eTrust Network Forensics r8.1
eTrust Secure Content Manager r8
eTrust Single Sign-On r7, r8, r8.1
eTrust Web Access Control 1.0
Unicenter Advanced Systems Management r11
Unicenter Asset Intelligence r11
Unicenter Asset Management r11
Unicenter Asset Portfolio Management r11.2.1, r11.3 Unicenter CCS r11
Unicenter Database Command Center r11.1
Unicenter Desktop and Server Management r11
Unicenter Desktop Management Suite r11
Unicenter Enterprise Job Manager r1 SP3, r1 SP4
Unicenter Job Management Option r11
Unicenter Lightweight Portal 2
Unicenter Management Portal r3.1.1
Unicenter Network and Systems Management r3.0, r11
Unicenter Network and Systems Management – Tiered – Multi Platform r3.0
0305, r3.1 0403, r11.0
Unicenter Patch Management r11
Unicenter Remote Control 6, r11
Unicenter Service Accounting r11, r11.1
Unicenter Service Assure r2.2, r11, r11.1
Unicenter Service Catalog r11, r11.1
Unicenter Service Delivery r11.0, r11.1
Unicenter Service Intelligence r11
Unicenter Service Metric Analysis r3.0.2, r3.5, r11, r11.1
Unicenter ServicePlus Service Desk 5.5 SP3, 6.0, 6.0 SP1, r11, r11.1,
r11.2
Unicenter Software Delivery r11
Unicenter TNG 2.4, 2.4.2, 2.4.2J
Unicenter Workload Control Center r1 SP3, r1 SP4
Unicenter Web Services Distributed Management 3.11, 3.50
Wily SOA Manager 7.1

NGSSoftware Insight Security Research
a href=”http://www.ngssoftware.com/”http://www.ngssoftware.com//a
a rel=”external” href=”http://www.databasesecurity.com/”http://www.databasesecurity.com//a
a href=”http://www.nextgenss.com/”http://www.nextgenss.com//a
+44(0)208 401 0070