Ingres Unauthenticated Pointer Overwrite 1

Type securityvulns
Reporter Securityvulns
Modified 2007-06-26T00:00:00


======= Summary ======= Name: Ingres remote unauthenticated pointer overwrite 1 Release Date: 25 June 2007 Reference: NGS00391 Discover: Chris Anley <> 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 at

Note that this issue affects a wide range of Computer Associates products. A list of these products is available at

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 +44(0)208 401 0070 -- E-MAIL DISCLAIMER

The information contained in this email and any subsequent correspondence is private, is solely for the intended recipient(s) and may contain confidential or privileged information. For those other than the intended recipient(s), any disclosure, copying, distribution, or any other action taken, or omitted to be taken, in reliance on such information is prohibited and may be unlawful. If you are not the intended recipient and have received this message in error, please inform the sender and delete this mail and any attachments.

The views expressed in this email do not necessarily reflect NGS policy. NGS accepts no liability or responsibility for any onward transmission or use of emails and attachments having left the NGS domain.

NGS and NGSSoftware are trading names of Next Generation Security Software Ltd. Registered office address: 52 Throwley Way, Sutton, SM1 4BF with Company Number 04225835 and VAT Number 783096402