exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

iDEFENSE Security Advisory 2010-04-15.2

iDEFENSE Security Advisory 2010-04-15.2
Posted Apr 17, 2010
Authored by iDefense Labs, Joshua J. Drake | Site idefense.com

iDefense Security Advisory 04.15.10 - Remote exploitation of an integer overflow vulnerability within AgentX++, as distributed with multiple vendors' products, allows attackers to execute arbitrary code with the privileges of the AgentX master process. This vulnerability exists within the AgentX::receive_agentx function. If an attacker sends a request specifying the maximum 32-bit integer as the payload length, adding one will cause an integer overflow, resulting in the allocation of a "0" size buffer. Since an attacker can send as much, or as little, data as they wish, they can overflow the allocated heap buffer by an arbitrary amount.

tags | advisory, remote, overflow, arbitrary
advisories | CVE-2010-1319
SHA-256 | 176f4add59ab7e2454b1c942cc75564e4ab4b26ebd3fe4762e5e77e44a63a6b2

iDEFENSE Security Advisory 2010-04-15.2

Change Mirror Download
iDefense Security Advisory 04.15.10
http://labs.idefense.com/intelligence/vulnerabilities/
Apr 15, 2010

I. BACKGROUND

Agent Extensibility (AgentX) Protocol was designed to address
interoperability issues with extensible SNMP agents. AgentX++ is a C++
implementation of the AgentX protocol. It is one of several C++ based
SNMP libraries developed by Frank Fock. For more information refer to
the URLs below.

http://www.agentpp.com/

http://www.ietf.org/rfc/rfc2741.txt

II. DESCRIPTION

Remote exploitation of an integer overflow vulnerability within
AgentX++, as distributed with multiple vendors' products, allows
attackers to execute arbitrary code with the privileges of the AgentX
master process.

This vulnerability exists within the AgentX::receive_agentx function. If
an attacker sends a request specifying the maximum 32-bit integer as the
payload length, adding one will cause an integer overflow, resulting in
the allocation of a "0" size buffer. Since an attacker can send as
much, or as little, data as they wish, they can overflow the allocated
heap buffer by an arbitrary amount.

III. ANALYSIS

Exploitation allows an attacker to execute arbitrary code with the
privileges of the running AgentX master process. In order to exploit
this vulnerability, the attacker must be able to connect to the AgentX
master port, usually TCP port 705. No authentication is required.

The privileges with which this process runs varies in other situations.
In order to listen on ports below 1024, root privileges are required.
The master agent included with RealNetwork Helix Server v12 does not
drop privileges after opening this port.

Although the issue is present in the Windows version of Helix Server
v12, it is not exploitable due the implementation of the "recv"
function in Winsock. In Windows, the "recv" function buffers incoming
data, and will return a "WSAENOBUFS" error when a request is made for
more bytes than will fit in the buffer. No data is read in this case.

IV. DETECTION

iDefense confirmed the existence of this vulnerability in the following
environments:

RealNetworks Helix Server v12 on Linux
RealNetworks Helix Server v12 on Windows 2003 SP2
AgentX++ source code v1.4.16

All products utilizing the AgentX++ library are suspected to be
vulnerable. Helix Server and Helix Mobile server versions prior to
14.0.0 are vulnerable (11.x,12.x and 13.x series).

V. WORKAROUND

iDefense is currently unaware of any workarounds for this issue.

VI. VENDOR RESPONSE

RealNetworks Inc. has released a patch which addresses this issue. For
more information, consult their advisory at the following URL.
http://www.realnetworks.com/uploadedFiles/Support/helix-support/Securi
tyUpdate041410HS.pdf

VII. CVE INFORMATION

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

11/03/2008 Initial Vendor Notification
01/14/2009 Initial Vendor Reply
04/15/2010 Coordinated Public Disclosure

IX. CREDIT

This vulnerability was discovered by Joshua J. Drake of iDefense Labs.

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 © 2010 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.

Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    28 Files
  • 16
    Jul 16th
    6 Files
  • 17
    Jul 17th
    34 Files
  • 18
    Jul 18th
    6 Files
  • 19
    Jul 19th
    34 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    19 Files
  • 23
    Jul 23rd
    17 Files
  • 24
    Jul 24th
    47 Files
  • 25
    Jul 25th
    31 Files
  • 26
    Jul 26th
    13 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    27 Files
  • 30
    Jul 30th
    49 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close