Vulnerabilities > CVE-2008-4556 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in SUN Solaris 8/9
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE Summary
Stack-based buffer overflow in the adm_build_path function in sadmind in Sun Solstice AdminSuite on Solaris 8 and 9 allows remote attackers to execute arbitrary code via a crafted request.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
OS | 4 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Exploit-Db
description Solaris 9 [UltraSPARC] sadmind Remote Root Exploit. CVE-2008-4556. Remote exploit for solaris platform file exploits/solaris/remote/6786.pl id EDB-ID:6786 last seen 2016-02-01 modified 2008-10-19 platform solaris port 111 published 2008-10-19 reporter kingcope source https://www.exploit-db.com/download/6786/ title Solaris 9 - UltraSPARC sadmind Remote Root Exploit type remote description Solaris sadmind adm_build_path Buffer Overflow. CVE-2008-4556. Remote exploit for solaris platform id EDB-ID:9920 last seen 2016-02-01 modified 2008-10-14 published 2008-10-14 reporter Adriano Lima source https://www.exploit-db.com/download/9920/ title Solaris sadmind adm_build_path - Buffer Overflow description Sun Solaris sadmind adm_build_path() Buffer Overflow. CVE-2008-4556. Remote exploit for solaris platform id EDB-ID:16325 last seen 2016-02-01 modified 2010-07-03 published 2010-07-03 reporter metasploit source https://www.exploit-db.com/download/16325/ title Sun Solaris sadmind adm_build_path Buffer Overflow
Metasploit
description | This module exploits a buffer overflow vulnerability in adm_build_path() function of sadmind daemon. The distributed system administration daemon (sadmind) is the daemon used by Solstice AdminSuite applications to perform distributed system administration operations. The sadmind daemon is started automatically by the inetd daemon whenever a request to invoke an operation is received. The sadmind daemon process continues to run for 15 minutes after the last request is completed, unless a different idle-time is specified with the -i command line option. The sadmind daemon may be started independently from the command line, for example, at system boot time. In this case, the -i option has no effect; sadmind continues to run, even if there are no active requests. |
id | MSF:EXPLOIT/SOLARIS/SUNRPC/SADMIND_ADM_BUILD_PATH |
last seen | 2020-03-15 |
modified | 2017-07-24 |
published | 2008-10-14 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/solaris/sunrpc/sadmind_adm_build_path.rb |
title | Sun Solaris sadmind adm_build_path() Buffer Overflow |
Nessus
NASL family Solaris Local Security Checks NASL id SOLARIS9_X86_116454.NASL description SunOS 5.9_x86: sadmind patch. Date this patch was last updated by Sun : May/21/09 last seen 2020-06-01 modified 2020-06-02 plugin id 13631 published 2004-07-12 reporter This script is Copyright (C) 2004-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/13631 title Solaris 9 (x86) : 116454-03 code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text in this plugin was # extracted from the Oracle SunOS Patch Updates. # include("compat.inc"); if (description) { script_id(13631); script_version("1.34"); script_cvs_date("Date: 2019/10/25 13:36:26"); script_cve_id("CVE-2008-4556"); script_name(english:"Solaris 9 (x86) : 116454-03"); script_summary(english:"Check for patch 116454-03"); script_set_attribute( attribute:"synopsis", value:"The remote host is missing Sun Security Patch number 116454-03" ); script_set_attribute( attribute:"description", value: "SunOS 5.9_x86: sadmind patch. Date this patch was last updated by Sun : May/21/09" ); script_set_attribute( attribute:"see_also", value:"http://download.oracle.com/sunalerts/1019777.1.html" ); script_set_attribute( attribute:"solution", value:"You should install this patch for your system to be up-to-date." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"exploit_framework_core", value:"true"); script_set_attribute(attribute:"metasploit_name", value:'Sun Solaris sadmind adm_build_path() Buffer Overflow'); script_set_attribute(attribute:"exploit_framework_metasploit", value:"true"); script_set_attribute(attribute:"exploit_framework_canvas", value:"true"); script_set_attribute(attribute:"canvas_package", value:'D2ExploitPack'); script_cwe_id(119); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/o:sun:solaris"); script_set_attribute(attribute:"patch_publication_date", value:"2009/05/21"); script_set_attribute(attribute:"plugin_publication_date", value:"2004/07/12"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2004-2019 Tenable Network Security, Inc."); script_family(english:"Solaris Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/Solaris/showrev"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("solaris.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"116454-03", obsoleted_by:"", package:"SUNWadmfw", version:"11.8,REV=2002.10.31.17.09") < 0) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:solaris_get_report()); else security_hole(0); exit(0); } audit(AUDIT_HOST_NOT, "affected");
NASL family Solaris Local Security Checks NASL id SOLARIS8_X86_116442.NASL description SunOS 5.8_x86: Solaris sadmind default sec. Date this patch was last updated by Sun : Feb/06/04 last seen 2020-06-01 modified 2020-06-02 plugin id 13508 published 2004-07-12 reporter This script is Copyright (C) 2004-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/13508 title Solaris 8 (x86) : 116442-01 NASL family Solaris Local Security Checks NASL id SOLARIS9_116453.NASL description SunOS 5.9: sadmind patch. Date this patch was last updated by Sun : May/21/09 last seen 2020-06-01 modified 2020-06-02 plugin id 13573 published 2004-07-12 reporter This script is Copyright (C) 2004-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/13573 title Solaris 9 (sparc) : 116453-03 NASL family Solaris Local Security Checks NASL id SOLARIS8_116455.NASL description SunOS 5.8: Solaris sadmind default securit. Date this patch was last updated by Sun : Feb/06/04 last seen 2020-06-01 modified 2020-06-02 plugin id 13405 published 2004-07-12 reporter This script is Copyright (C) 2004-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/13405 title Solaris 8 (sparc) : 116455-01
Oval
accepted | 2010-09-20T04:00:29.494-04:00 | ||||||||||||||||
class | vulnerability | ||||||||||||||||
contributors |
| ||||||||||||||||
definition_extensions |
| ||||||||||||||||
description | Stack-based buffer overflow in the adm_build_path function in sadmind in Sun Solstice AdminSuite on Solaris 8 and 9 allows remote attackers to execute arbitrary code via a crafted request. | ||||||||||||||||
family | unix | ||||||||||||||||
id | oval:org.mitre.oval:def:5543 | ||||||||||||||||
status | accepted | ||||||||||||||||
submitted | 2009-05-26T13:34:47.000-04:00 | ||||||||||||||||
title | A Buffer Overflow Security Vulnerability in the Solaris sadmind(1M) Daemon May Lead to Execution of Arbitrary Code | ||||||||||||||||
version | 37 |
Packetstorm
data source | https://packetstormsecurity.com/files/download/82325/sadmind_adm_build_path.rb.txt |
id | PACKETSTORM:82325 |
last seen | 2016-12-05 |
published | 2009-10-28 |
reporter | Adriano Lima |
source | https://packetstormsecurity.com/files/82325/Sun-Solaris-sadmind-adm_build_path-Buffer-Overflow.html |
title | Sun Solaris sadmind adm_build_path() Buffer Overflow |
References
- http://osvdb.org/50019
- http://risesecurity.org/advisories/RISE-2008001.txt
- http://secunia.com/advisories/32283
- http://secunia.com/advisories/32812
- http://securityreason.com/securityalert/4408
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-245806-1
- http://support.avaya.com/elmodocs2/security/ASA-2008-448.htm
- http://www.securityfocus.com/archive/1/497311/100/0/threaded
- http://www.securityfocus.com/bid/31751
- http://www.securitytracker.com/id?1021059
- http://www.vupen.com/english/advisories/2008/2824
- http://www.vupen.com/english/advisories/2008/3230
- https://exchange.xforce.ibmcloud.com/vulnerabilities/45858
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5543
- https://www.exploit-db.com/exploits/6786