Vulnerabilities > CVE-2007-6195 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in HP Hp-Ux 11.11/11.23
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Buffer overflow in the sw_rpc_agent_init function in swagentd in Software Distributor (SD), and possibly other DCE applications, in HP HP-UX B.11.11 and B.11.23 allows remote attackers to execute arbitrary code or cause a denial of service via malformed arguments in an opcode 0x04 DCE RPC request.
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.
Nessus
NASL family HP-UX Local Security Checks NASL id HPUX_PHSS_36004.NASL description s700_800 11.11 HP DCE/9000 1.8 DCE Client IPv6 patch : A potential security vulnerability has been identified with HP-UX applications running DCE such as Software Distributor (SD). The vulnerability could be exploited remotely to create a denial of service (DoS). last seen 2020-06-01 modified 2020-06-02 plugin id 26886 published 2007-10-03 reporter This script is Copyright (C) 2007-2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/26886 title HP-UX PHSS_36004 : HP-UX Running DCE, Remote Denial of Service (DoS) (HPSBUX02294 SSRT071451 rev.1) code # # (C) Tenable Network Security, Inc. # # The descriptive text and patch checks in this plugin were # extracted from HP patch PHSS_36004. The text itself is # copyright (C) Hewlett-Packard Development Company, L.P. # include("compat.inc"); if (description) { script_id(26886); script_version("1.19"); script_cvs_date("Date: 2018/12/18 10:18:58"); script_cve_id("CVE-2007-6195"); script_xref(name:"HP", value:"emr_na-c01294212"); script_xref(name:"HP", value:"HPSBUX02294"); script_xref(name:"HP", value:"SSRT071451"); script_xref(name:"TRA", value:"TRA-2007-12"); script_name(english:"HP-UX PHSS_36004 : HP-UX Running DCE, Remote Denial of Service (DoS) (HPSBUX02294 SSRT071451 rev.1)"); script_summary(english:"Checks for the patch in the swlist output"); script_set_attribute( attribute:"synopsis", value:"The remote HP-UX host is missing a security-related patch." ); script_set_attribute( attribute:"description", value: "s700_800 11.11 HP DCE/9000 1.8 DCE Client IPv6 patch : A potential security vulnerability has been identified with HP-UX applications running DCE such as Software Distributor (SD). The vulnerability could be exploited remotely to create a denial of service (DoS)." ); # http://www.zerodayinitiative.com/advisories/ZDI-07-079 script_set_attribute( attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-07-079" ); # http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01294212 script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?d99764ad" ); script_set_attribute( attribute:"see_also", value:"https://www.tenable.com/security/research/tra-2007-12" ); script_set_attribute( attribute:"solution", value:"Install patch PHSS_36004 or subsequent." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C"); script_cwe_id(119); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/o:hp:hp-ux"); script_set_attribute(attribute:"patch_publication_date", value:"2007/12/13"); script_set_attribute(attribute:"plugin_publication_date", value:"2007/10/03"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2007-2018 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"HP-UX Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/HP-UX/version", "Host/HP-UX/swlist"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("hpux.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/HP-UX/version")) audit(AUDIT_OS_NOT, "HP-UX"); if (!get_kb_item("Host/HP-UX/swlist")) audit(AUDIT_PACKAGE_LIST_MISSING); if (!hpux_check_ctx(ctx:"11.11")) { exit(0, "The host is not affected since PHSS_36004 applies to a different OS release."); } patches = make_list("PHSS_36004", "PHSS_38183", "PHSS_42852"); foreach patch (patches) { if (hpux_installed(app:patch)) { exit(0, "The host is not affected because patch "+patch+" is installed."); } } flag = 0; if (hpux_check_patch(app:"DCE-Core.DCE-COR-64SLIB", version:"B.11.11")) flag++; if (hpux_check_patch(app:"DCE-Core.DCE-CORE-DTS", version:"B.11.11")) flag++; if (hpux_check_patch(app:"DCE-Core.DCE-CORE-RUN", version:"B.11.11")) flag++; if (hpux_check_patch(app:"DCE-Core.DCE-CORE-SHLIB", version:"B.11.11")) flag++; if (hpux_check_patch(app:"DCE-Core.DCEC-ENG-A-MAN", version:"B.11.11")) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:hpux_report_get()); else security_hole(0); exit(0); } else audit(AUDIT_HOST_NOT, "affected");
NASL family HP-UX Local Security Checks NASL id HPUX_PHSS_36005.NASL description s700_800 11.23 HP DCE 1.9 client cumulative patch : A potential security vulnerability has been identified with HP-UX applications running DCE such as Software Distributor (SD). The vulnerability could be exploited remotely to create a denial of service (DoS). last seen 2020-06-01 modified 2020-06-02 plugin id 26887 published 2007-10-03 reporter This script is Copyright (C) 2007-2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/26887 title HP-UX PHSS_36005 : HP-UX Running DCE, Remote Denial of Service (DoS) (HPSBUX02294 SSRT071451 rev.1) code # # (C) Tenable Network Security, Inc. # # The descriptive text and patch checks in this plugin were # extracted from HP patch PHSS_36005. The text itself is # copyright (C) Hewlett-Packard Development Company, L.P. # include("compat.inc"); if (description) { script_id(26887); script_version("1.19"); script_cvs_date("Date: 2018/12/18 10:18:58"); script_cve_id("CVE-2007-6195"); script_xref(name:"HP", value:"emr_na-c01294212"); script_xref(name:"HP", value:"HPSBUX02294"); script_xref(name:"HP", value:"SSRT071451"); script_xref(name:"TRA", value:"TRA-2007-12"); script_name(english:"HP-UX PHSS_36005 : HP-UX Running DCE, Remote Denial of Service (DoS) (HPSBUX02294 SSRT071451 rev.1)"); script_summary(english:"Checks for the patch in the swlist output"); script_set_attribute( attribute:"synopsis", value:"The remote HP-UX host is missing a security-related patch." ); script_set_attribute( attribute:"description", value: "s700_800 11.23 HP DCE 1.9 client cumulative patch : A potential security vulnerability has been identified with HP-UX applications running DCE such as Software Distributor (SD). The vulnerability could be exploited remotely to create a denial of service (DoS)." ); # http://www.zerodayinitiative.com/advisories/ZDI-07-079 script_set_attribute( attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-07-079" ); # http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01294212 script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?d99764ad" ); script_set_attribute( attribute:"see_also", value:"https://www.tenable.com/security/research/tra-2007-12" ); script_set_attribute( attribute:"solution", value:"Install patch PHSS_36005 or subsequent." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C"); script_cwe_id(119); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/o:hp:hp-ux"); script_set_attribute(attribute:"patch_publication_date", value:"2007/12/13"); script_set_attribute(attribute:"plugin_publication_date", value:"2007/10/03"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2007-2018 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"HP-UX Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/HP-UX/version", "Host/HP-UX/swlist"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("hpux.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/HP-UX/version")) audit(AUDIT_OS_NOT, "HP-UX"); if (!get_kb_item("Host/HP-UX/swlist")) audit(AUDIT_PACKAGE_LIST_MISSING); if (!hpux_check_ctx(ctx:"11.23")) { exit(0, "The host is not affected since PHSS_36005 applies to a different OS release."); } patches = make_list("PHSS_36005", "PHSS_38258", "PHSS_42853"); foreach patch (patches) { if (hpux_installed(app:patch)) { exit(0, "The host is not affected because patch "+patch+" is installed."); } } flag = 0; if (hpux_check_patch(app:"DCE-Core.DCE-COR-64SLIB", version:"B.11.23")) flag++; if (hpux_check_patch(app:"DCE-Core.DCE-COR-IA-RUN", version:"B.11.23")) flag++; if (hpux_check_patch(app:"DCE-Core.DCE-COR-PA-RUN", version:"B.11.23")) flag++; if (hpux_check_patch(app:"DCE-Core.DCE-CORE-DTS", version:"B.11.23")) flag++; if (hpux_check_patch(app:"DCE-Core.DCE-CORE-RUN", version:"B.11.23")) flag++; if (hpux_check_patch(app:"DCE-Core.DCE-CORE-SHLIB", version:"B.11.23")) flag++; if (hpux_check_patch(app:"DCE-Core.DCE-IA64-SHLIB", version:"B.11.23")) flag++; if (hpux_check_patch(app:"DCE-Core.DCEC-ENG-A-MAN", version:"B.11.23")) flag++; if (hpux_check_patch(app:"DCE-CoreTools.DCE-BPRG", version:"B.11.23")) flag++; if (hpux_check_patch(app:"DCE-CoreTools.DCEP-ENG-A-MAN", version:"B.11.23")) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:hpux_report_get()); else security_hole(0); exit(0); } else audit(AUDIT_HOST_NOT, "affected");
Oval
accepted | 2014-03-24T04:01:45.511-04:00 | ||||||||||||
class | vulnerability | ||||||||||||
contributors |
| ||||||||||||
description | Buffer overflow in the sw_rpc_agent_init function in swagentd in Software Distributor (SD), and possibly other DCE applications, in HP HP-UX B.11.11 and B.11.23 allows remote attackers to execute arbitrary code or cause a denial of service via malformed arguments in an opcode 0x04 DCE RPC request. | ||||||||||||
family | unix | ||||||||||||
id | oval:org.mitre.oval:def:5710 | ||||||||||||
status | accepted | ||||||||||||
submitted | 2008-07-03T16:09:04.000-04:00 | ||||||||||||
title | HP-UX Running DCE, Remote Denial of Service (DoS) | ||||||||||||
version | 40 |
Seebug
bulletinFamily | exploit |
description | BUGTRAQ ID: 26855 CVE(CAN) ID: CVE-2007-6195 HP-UX是一款HP公司开发的UNIX操作系统。 HP-UX操作系统的swagentd中所定义的sw_rpc_agent_init函数(opcode 0x04)中存在缓冲区溢出漏洞,如果远程攻击者向该函数传送了畸形参数的话,就可以触发这个溢出,导致覆盖指针,因此可能会出现拒绝服务或执行任意指令。 HP HP-UX B.11.23 HP HP-UX B.11.11 HP已经为此发布了一个安全公告(HPSBUX02294)以及相应补丁: HPSBUX02294:SSRT071451 rev.1 - HP-UX Running DCE, Remote Denial of Service (DoS) 链接:<a href=http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01294212 target=_blank>http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01294212</a> |
id | SSV:2643 |
last seen | 2017-11-19 |
modified | 2007-12-20 |
published | 2007-12-20 |
reporter | Root |
title | HP-UX swagentd远程溢出漏洞 |
References
- http://secunia.com/advisories/28087
- http://secunia.com/advisories/28087
- http://www.securityfocus.com/archive/1/485260/100/0/threaded
- http://www.securityfocus.com/archive/1/485260/100/0/threaded
- http://www.securityfocus.com/bid/26855
- http://www.securityfocus.com/bid/26855
- http://www.securitytracker.com/id?1019098
- http://www.securitytracker.com/id?1019098
- http://www.vupen.com/english/advisories/2007/4220
- http://www.vupen.com/english/advisories/2007/4220
- http://www.zerodayinitiative.com/advisories/ZDI-07-079.html
- http://www.zerodayinitiative.com/advisories/ZDI-07-079.html
- http://www12.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c01294212-1
- http://www12.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c01294212-1
- http://www12.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c01294212-1
- http://www12.itrc.hp.com/service/cki/docDisplay.do?docId=emr_na-c01294212-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39018
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39018
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5710
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5710