Vulnerabilities > CVE-2011-0548 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Symantec products
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Buffer overflow in the Lotus Freelance Graphics PRZ file viewer in Autonomy KeyView, as used in Symantec Mail Security (SMS) 6.x through 8.x, Symantec Brightmail and Messaging Gateway before 9.5.1, and Symantec Data Loss Prevention (DLP) before 10.5.3 and 11.x before 11.1, allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted .prz file. NOTE: this may overlap CVE-2011-1217.
Vulnerable Configurations
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 Windows NASL id SMS_KEYVIEW_OVERFLOW.NASL description The file attachment filter component included with the instance of Symantec Mail Security installed on the remote Windows host is reportedly affected by a buffer overflow vulnerability that can be triggered when handling attachments of various types. By sending an email with a specially crafted attachment through a vulnerable server, an attacker may be able to execute arbitrary code subject to the privileges under which the affected daemon runs. last seen 2020-06-01 modified 2020-06-02 plugin id 55047 published 2011-06-10 reporter This script is Copyright (C) 2011-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/55047 title Symantec Mail Security KeyView PRZ Processing Buffer Overflow code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(55047); script_version("1.9"); script_cvs_date("Date: 2018/11/15 20:50:28"); script_cve_id("CVE-2011-0548"); script_bugtraq_id(48013); script_xref(name:"Secunia", value:"44779"); script_xref(name:"CERT", value:"126159"); script_name(english:"Symantec Mail Security KeyView PRZ Processing Buffer Overflow"); script_summary(english:"Checks file version of kpprzrdr.dll"); script_set_attribute(attribute:"synopsis", value: "The remote Windows host has an application that is affected by a buffer overflow vulnerability."); script_set_attribute(attribute:"description", value: "The file attachment filter component included with the instance of Symantec Mail Security installed on the remote Windows host is reportedly affected by a buffer overflow vulnerability that can be triggered when handling attachments of various types. By sending an email with a specially crafted attachment through a vulnerable server, an attacker may be able to execute arbitrary code subject to the privileges under which the affected daemon runs."); script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?96ae0a73"); script_set_attribute(attribute:"solution", value: "If using Symantec Mail Security for Domino, upgrade to version 7.5.11 / 8.0.8. If using Symantec Mail Security for Microsoft Exchange, upgrade to version 6.0.12 / 6.5.5."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C"); script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"exploit_available", value:"false"); script_set_attribute(attribute:"vuln_publication_date", value:"2011/05/24"); script_set_attribute(attribute:"patch_publication_date", value:"2011/05/31"); script_set_attribute(attribute:"plugin_publication_date", value:"2011/06/10"); script_set_attribute(attribute:"cpe", value:"cpe:/a:symantec:mail_security"); script_set_attribute(attribute:"plugin_type", value:"local"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Windows"); script_copyright(english:"This script is Copyright (C) 2011-2018 Tenable Network Security, Inc."); script_dependencies("sms_for_domino.nasl", "sms_for_msexchange.nasl"); script_require_keys("SMB/Registry/Enumerated"); script_require_ports(139, 445); exit(0); } include("global_settings.inc"); include("misc_func.inc"); include("smb_func.inc"); include("audit.inc"); dirs = make_array( "Domino", "\Verity\Bin\", "Exchange", "\SMSMSE\*\Server\Verity\bin\" ); # Ensure that the affected software is installed. backend = NULL; foreach type (keys(dirs)) { if (get_kb_item("SMB/SMS_" + type + "/Installed")) { backend = type; break; } } if (isnull(backend)) exit(0, "Neither Symantec Mail Security for Domino or Exchange is installed on the remote host."); # Connect to the appropriate share. name = kb_smb_name(); port = kb_smb_transport(); login = kb_smb_login(); pass = kb_smb_password(); domain = kb_smb_domain(); # Try to connect to server. if(! smb_session_init()) audit(AUDIT_FN_FAIL, 'smb_session_init'); # Split the software's location into components. base = get_kb_item_or_exit("SMB/SMS_" + backend + "/Path"); share = ereg_replace(string:base, pattern:"^([A-Za-z]):.*", replace:"\1$"); path = ereg_replace(string:base, pattern:"^[A-Za-z]:(.*)", replace:"\1"); dir = dirs[backend]; file = "kpprzrdr.dll"; # Connect to the share software is installed on. rc = NetUseAdd(login:login, password:pass, domain:domain, share:share); if (rc != 1) { NetUseDel(); exit(1, "Failed to connect to " + share + " share."); } # Try and read one of the affected files. fh = FindFile( file:path + dir + file, desired_access:GENERIC_READ, file_attributes:FILE_ATTRIBUTE_NORMAL, share_mode:FILE_SHARE_READ, create_disposition:OPEN_EXISTING ); if (isnull(fh)) { NetUseDel(); exit(0, "Failed to open '" + base + dir + file + "'."); } version = GetFileVersion(handle:fh); CloseFile(handle:fh); NetUseDel(); if (isnull(version)) exit(1, "Failed to extract the file version from '" + base + dir + file + "'."); # Check if the DLL file is vulnerable. fix = 10.9.1.0; ver = join(version, sep:"."); if (ver_compare(ver:ver, fix:fix) >= 0) exit(0, "The Symantec Mail Security for "+backend+" install includes '"+file+"' "+ver+" and thus is not affected."); # Report our findings. if (report_verbosity > 0) { report = '\n Product : Symantec Mail Security for ' + backend + '\n File : ' + base + dir + file + '\n Installed version : ' + ver + '\n Fixed version : ' + fix + '\n'; security_hole(port:port, extra:report); } else security_hole(port);
NASL family Windows NASL id NOTES_KEYVIEW_OVERFLOWS2.NASL description The file attachment viewer component included with the instance of Lotus Notes installed on the remote Windows host is reportedly affected by several buffer overflow vulnerabilities that can be triggered when handling attachments of various types. By sending a specially crafted attachment to users of the affected application and getting them to double-click and view the attachment, an attacker may be able to execute arbitrary code subject to the privileges under which the affected application runs. last seen 2020-06-01 modified 2020-06-02 plugin id 54922 published 2011-05-31 reporter This script is Copyright (C) 2011-2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/54922 title IBM Lotus Notes Attachment Handling Multiple Buffer Overflows code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(54922); script_version("1.25"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/12"); script_cve_id( "CVE-2011-0548", "CVE-2011-1213", "CVE-2011-1214", "CVE-2011-1215", "CVE-2011-1216", "CVE-2011-1217", "CVE-2011-1218", "CVE-2011-1512" ); script_bugtraq_id( 47962, 48013, 48016, 48017, 48018, 48019, 48020, 48021 ); script_xref(name:"CERT", value:"126159"); script_xref(name:"EDB-ID", value:"17448"); script_xref(name:"Secunia", value:"44624"); script_name(english:"IBM Lotus Notes Attachment Handling Multiple Buffer Overflows"); script_summary(english:"Checks file version of kvgraph.dll"); script_set_attribute(attribute:"synopsis", value: "The remote Windows host has an application that is affected by multiple buffer overflow vulnerabilities."); script_set_attribute(attribute:"description", value: "The file attachment viewer component included with the instance of Lotus Notes installed on the remote Windows host is reportedly affected by several buffer overflow vulnerabilities that can be triggered when handling attachments of various types. By sending a specially crafted attachment to users of the affected application and getting them to double-click and view the attachment, an attacker may be able to execute arbitrary code subject to the privileges under which the affected application runs."); script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/518139"); script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/518131"); script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/518138"); script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/518137"); # https://www.secureauth.com/labs/advisories/LotusNotes-XLS-viewer-heap-overflow script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c85aef3a"); script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2011/May/178"); script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2011/May/179"); script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2011/May/181"); script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2011/May/182"); script_set_attribute(attribute:"see_also", value:"https://www.securityfocus.com/archive/1/archive/1/518120/100/0/threaded"); script_set_attribute(attribute:"see_also", value:"https://www-304.ibm.com/support/docview.wss?uid=swg21500034"); script_set_attribute(attribute:"solution", value: "Either Install Interim Fix 1 for Notes 8.5.2 Fix Pack 2 / 8.5.2 Fix Pack 3 or upgrade to 8.5.3. Alternatively, disable attachment viewers."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C"); script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C"); script_set_attribute(attribute:"cvss_score_source", value:"CVE-2011-0548"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"); script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC: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:'Lotus Notes 8.0.x - 8.5.2 FP2 - Autonomy Keyview (.lzh Attachment)'); script_set_attribute(attribute:"exploit_framework_metasploit", value:"true"); script_set_attribute(attribute:"vuln_publication_date", value:"2011/05/24"); script_set_attribute(attribute:"patch_publication_date", value:"2011/05/24"); script_set_attribute(attribute:"plugin_publication_date", value:"2011/05/31"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:ibm:lotus_notes"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Windows"); script_copyright(english:"This script is Copyright (C) 2011-2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("smb_hotfixes.nasl","lotus_notes_installed.nasl"); script_require_keys("SMB/Registry/Enumerated","SMB/Lotus_Notes/Installed"); script_require_ports(139, 445); exit(0); } include("global_settings.inc"); include("misc_func.inc"); include("smb_func.inc"); include("audit.inc"); include("smb_hotfixes_fcheck.inc"); include("smb_reg_query.inc"); kb_base = "SMB/Lotus_Notes/"; version = get_kb_item_or_exit(kb_base + 'Version'); path = get_kb_item_or_exit(kb_base + 'Path'); get_kb_item_or_exit("SMB/Registry/Enumerated"); # Retrieve the appropriate share. port = kb_smb_transport(); login = kb_smb_login(); pass = kb_smb_password(); domain = kb_smb_domain(); # Get a list of user data dirs on the system registry_init(); hku = registry_hive_connect(hive:HKEY_USERS, exit_on_fail:TRUE); if (empty_or_null(hku)) { RegCloseKey(handle:hku); close_registry(); audit(AUDIT_REG_FAIL); } key_h = RegOpenKey(handle:hku, mode:MAXIMUM_ALLOWED); if (!empty_or_null(key_h)) { reginfo = RegQueryInfoKey(handle:key_h); } if (!empty_or_null(reginfo)) { datadirs = []; registry_init(); for (i = 0; i < reginfo[1]; i++) { subkey = RegEnumKey(handle:key_h, index:i); key = subkey + "\Software\IBM\Notes\Installer\DATADIR"; datadir = get_registry_value(handle:hku, item:key); if (empty_or_null(datadir)) { key = subkey + "\Software\Lotus\Notes\Installer\DATADIR"; datadir = get_registry_value(handle:hku, item:key); } if (!empty_or_null(datadir) && subkey =~ '^S-1-5-21-[0-9\\-]+$') { datadirs[max_index(datadirs)] = datadir; } } RegCloseKey(handle:key_h); RegCloseKey(handle:hku); close_registry(); } if(! smb_session_init()) audit(AUDIT_FN_FAIL, 'smb_session_init'); # Split the software's location into components. base = preg_replace(string:path, pattern:"^(.+)\\$", replace:"\1"); share = preg_replace(string:base, pattern:"^([A-Za-z]):.*", replace:"\1$"); path = preg_replace(string:base, pattern:"^[A-Za-z]:(.*)", replace:"\1"); found = FALSE; # Connect to the share software is installed on. rc = NetUseAdd(login:login, password:pass, domain:domain, share:share); if (rc != 1) { NetUseDel(); audit(AUDIT_SHARE_FAIL, share); } if (!empty_or_null(datadirs)) { foreach datadir (datadirs) { file = preg_replace(string:datadir, pattern:"^[A-Za-z]:(.*)", replace:"\1") + "\KeyView.ini"; file_h = CreateFile( file:file, desired_access:GENERIC_READ, file_attributes:FILE_ATTRIBUTE_NORMAL, share_mode:FILE_SHARE_READ, create_disposition:OPEN_EXISTING ); if (!empty_or_null(file_h)) { found = TRUE; } } file = preg_replace(string:base, pattern:"^[A-Za-z]:(.*)", replace:"\1") + "\KeyView.ini"; file_h = CreateFile( file:file, desired_access:GENERIC_READ, file_attributes:FILE_ATTRIBUTE_NORMAL, share_mode:FILE_SHARE_READ, create_disposition:OPEN_EXISTING ); if (!empty_or_null(file_h)) { found = TRUE; } CloseFile(handle:file_h); if (!found) { NetUseDel(); audit(AUDIT_INST_VER_NOT_VULN, "IBM Notes"); } } # Try and read one of the vulnerable files. file_h = CreateFile( file:path + "\xlssr.dll", desired_access:GENERIC_READ, file_attributes:FILE_ATTRIBUTE_NORMAL, share_mode:FILE_SHARE_READ, create_disposition:OPEN_EXISTING ); if (isnull(file_h)) { NetUseDel(); audit(AUDIT_INST_VER_NOT_VULN, "IBM Notes"); } version = GetFileVersion(handle:file_h); CloseFile(handle:file_h); NetUseDel(); if (isnull(version)) exit(1, "Failed to extract the file version from '" + base + "\xlssr.dll'."); # Check if the DLL file is vulnerable. fix = "8.5.23.11191"; ver = join(version, sep:"."); if (ver_compare(ver:ver, fix:fix) >= 0) audit(AUDIT_INST_VER_NOT_VULN, "IBM Notes"); # Report our findings. report = '\n File : ' + base + "\xlssr.dll" + '\n Installed version : ' + ver + '\n Fixed version : ' + fix + '\n'; security_report_v4(port:445, severity:SECURITY_HOLE, extra:report);
References
- http://secunia.com/advisories/44779
- http://securitytracker.com/id?1025594
- http://securitytracker.com/id?1025595
- http://securitytracker.com/id?1025596
- http://www.symantec.com/security_response/securityupdates/detail.jsp?fid=security_advisory&pvid=security_advisory&year=2011&suid=20110531_00
- http://secunia.com/advisories/44779
- http://www.symantec.com/security_response/securityupdates/detail.jsp?fid=security_advisory&pvid=security_advisory&year=2011&suid=20110531_00
- http://securitytracker.com/id?1025596
- http://securitytracker.com/id?1025595
- http://securitytracker.com/id?1025594