// back

Computer Associates iTechnology iGateway Service Content-Length Buffer Overflow

01.23.06

BACKGROUND

iTechnology is an integration technology which provides standard web
service interfaces to third-party products, exposing normalized
security event data and information in XML format.

DESCRIPTION

Remote exploitation of an input validation error in Computer Associates,
Inc.'s iTechnology allows remote attackers to execute arbitrary code.

The vulnerability specifically exists in the iGateway service that
listens on port 5250 for standard HTTP or SSL traffic. The iGateway
service fails to properly handle negative HTTP Content-Length values.
iGateway parses the negative content-length value from an HTTP request
and uses the value directly in a malloc() heap allocation call. By
supplying negative values, the heap allocation call will return a very
small buffer. Subsequent to the malloc() call, a memcpy of the supplied
URI into the allocated buffer can overflow into the heap. A remote
attacker can send a request with a very large URI and a negative
content-length to corrupt the heap and potentially execute arbitrary
code.

ANALYSIS

Successful exploitation of this vulnerability allows remote attackers to
execute arbitrary code with SYSTEM level permissions. The iTechnology
package is distributed with various Computer Associates eTrust brand
software. Any attacker who can reach port 5250 on an affected host can
attempt to exploit this vulnerability.

DETECTION

iDefense has confirmed the existence of this vulnerability in Computer
Associates iTechnology iGateway 4.0.

It should be noted that iGateway is not a product, however it is a
component included with the following Computer Associates products:

BrightStor ARCserve Backup r11.5
BrightStor ARCserve Backup r11.1
BrightStor ARCserve Backup for Windows r11
BrightStor Enterprise Backup 10.5
BrightStor ARCserve Backup v9.01
BrightStor ARCserve Backup Laptop & Desktop r11.1
BrightStor ARCserve Backup Laptop & Desktop r11
BrightStor Process Automation Manager r11.1
BrightStor SAN Manager r11.1
BrightStor SAN Manager r11.5
BrightStor Storage Resource Manager r11.5
BrightStor Storage Resource Manager r11.1
BrightStor Storage Resource Manager 6.4
BrightStor Storage Resource Manager 6.3
BrightStor Portal 11.1
eTrust Audit 1.5 SP2 (iRecorders and ARIES)
eTrust Audit 1.5 SP3 (iRecorders and ARIES)
eTrust Audit 8.0 (iRecorders and ARIES)
eTrust Admin 8.1
eTrust Identity Minder 8.0
eTrust Secure Content Manager (SCM) R8
eTrust Integrated Threat Management (ITM) R8
eTrust Directory, R8.1 (DXmanager Only)
Unicenter CA Web Services Distributed Management R11
Unicenter AutoSys JM R11
Unicenter Management for WebLogic / Management for WebSphere R11
Unicenter Service Delivery R11
Unicenter Service Level Management (USLM) R11
Unicenter Application Performance Monitor R11
Unicenter Service Desk R11
Unicenter Service Desk Knowledge Tools R11
Unicenter Asset Portfolio Management R11
Unicenter Service Metric Analysis R11
Unicenter Service Catalog/Assure/Accounting R11
Unicenter MQ Management R11
Unicenter Application Server Management R11
Unicenter Web Server Management R11
Unicenter Exchange Management R11

The vulnerability exists if the iGateway component is older than 4.0.051230.

Affected platforms:
AIX, HP-UX, Linux Intel, Solaris, and Windows

WORKAROUND

iDefense is unaware of any effective workarounds at this time.

VENDOR RESPONSE

The vendor has released the following advisory to address this
vulnerability:

http://www3.ca.com/securityadvisor/vulninfo/vuln.aspx?id=33778

Vendor patches are available for download at:

ftp://ftp.ca.com/pub/iTech/downloads

CVE INFORMATION

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

DISCLOSURE TIMELINE

11/15/2005 Initial vendor notification
11/15/2005 Initial vendor response
01/23/2006 Coordinated public disclosure

CREDIT

iDefense credits Erika Mendoza with the discovery of this vulnerability.

Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp

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

LEGAL NOTICES

Copyright © 2006 Verisign, 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
email 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.