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:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    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