Vulnerabilities > CVE-2011-1344 - Resource Management Errors vulnerability in Apple Safari
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Use-after-free vulnerability in WebKit, as used in Apple Safari before 5.0.5; iOS before 4.3.2 for iPhone, iPod, and iPad; iOS before 4.2.7 for iPhone 4 (CDMA); and possibly other products allows remote attackers to execute arbitrary code by adding children to a WBR tag and then removing the tag, related to text nodes, as demonstrated by Chaouki Bekrar during a Pwn2Own competition at CanSecWest 2011.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Nessus
NASL family Windows NASL id SAFARI_5_0_5.NASL description The version of Safari installed on the remote Windows host is earlier than 5.0.5. It therefore is potentially affected by several issues : - An integer overflow issue in the handling of nodesets could lead to a crash or arbitrary code execution. (CVE-2011-1290) - A use-after-free issue in the handling of text nodes could lead to a crash or arbitrary code execution. (CVE-2011-1344) last seen 2020-06-01 modified 2020-06-02 plugin id 53411 published 2011-04-14 reporter This script is Copyright (C) 2011-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/53411 title Safari < 5.0.5 Multiple Vulnerabilities code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(53411); script_version("1.7"); script_cvs_date("Date: 2018/07/27 18:38:15"); script_cve_id("CVE-2011-1290", "CVE-2011-1344"); script_bugtraq_id(46822, 46849); script_name(english:"Safari < 5.0.5 Multiple Vulnerabilities"); script_summary(english:"Checks Safari's version number"); script_set_attribute( attribute:"synopsis", value: "The remote host contains a web browser that is affected by several vulnerabilities." ); script_set_attribute( attribute:"description", value: "The version of Safari installed on the remote Windows host is earlier than 5.0.5. It therefore is potentially affected by several issues : - An integer overflow issue in the handling of nodesets could lead to a crash or arbitrary code execution. (CVE-2011-1290) - A use-after-free issue in the handling of text nodes could lead to a crash or arbitrary code execution. (CVE-2011-1344)" ); script_set_attribute(attribute:"see_also", value:"http://support.apple.com/kb/HT4596"); script_set_attribute(attribute:"see_also", value:"http://lists.apple.com/archives/security-announce/2011/Apr/msg00002.html"); script_set_attribute(attribute:"solution", value:"Upgrade to Safari 5.0.5 or later."); 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/03/11"); script_set_attribute(attribute:"patch_publication_date", value:"2011/04/14"); script_set_attribute(attribute:"plugin_publication_date", value:"2011/04/14"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:apple:safari"); 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("safari_installed.nasl"); script_require_keys("SMB/Safari/FileVersion"); exit(0); } include("global_settings.inc"); include("misc_func.inc"); version = get_kb_item_or_exit("SMB/Safari/FileVersion"); version_ui = get_kb_item("SMB/Safari/ProductVersion"); if (isnull(version_ui)) version_ui = version; if (ver_compare(ver:version, fix:"5.33.21.1") == -1) { if (report_verbosity > 0) { path = get_kb_item("SMB/Safari/Path"); if (isnull(path)) path = "n/a"; report = '\n Path : ' + path + '\n Installed version : ' + version_ui + '\n Fixed version : 5.0.5 (7533.21.1)\n'; security_hole(port:get_kb_item("SMB/transport"), extra:report); } else security_hole(get_kb_item("SMB/transport")); } else exit(0, "The remote host is not affected since Safari " + version_ui + " is installed.");
NASL family Peer-To-Peer File Sharing NASL id ITUNES_10_2_2_BANNER.NASL description The version of Apple iTunes on the remote host is prior to version 10.2.2. It is, therefore, affected by multiple vulnerabilities in the WebKit component : - An integer overflow vulnerability exists in the handling of nodesets that can be exploited by a remote attacker to execute arbitrary code. (CVE-2011-1290) - A use-after-free vulnerability exists in the handling of text nodes that can be exploited by a remote attacker to execute arbitrary code. (CVE-2011-1344) Note that these only affect WebKit for Windows. last seen 2020-06-01 modified 2020-06-02 plugin id 53489 published 2011-04-19 reporter This script is Copyright (C) 2011-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/53489 title Apple iTunes < 10.2.2 Multiple Vulnerabilities (uncredentialed check) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(53489); script_version("1.11"); script_cvs_date("Date: 2018/11/15 20:50:24"); script_cve_id("CVE-2011-1290", "CVE-2011-1344"); script_bugtraq_id(46849, 46822); script_name(english:"Apple iTunes < 10.2.2 Multiple Vulnerabilities (uncredentialed check)"); script_summary(english:"Checks the version of iTunes."); script_set_attribute(attribute:"synopsis", value: "The remote host contains a multimedia application that has multiple vulnerabilities."); script_set_attribute(attribute:"description", value: "The version of Apple iTunes on the remote host is prior to version 10.2.2. It is, therefore, affected by multiple vulnerabilities in the WebKit component : - An integer overflow vulnerability exists in the handling of nodesets that can be exploited by a remote attacker to execute arbitrary code. (CVE-2011-1290) - A use-after-free vulnerability exists in the handling of text nodes that can be exploited by a remote attacker to execute arbitrary code. (CVE-2011-1344) Note that these only affect WebKit for Windows."); script_set_attribute(attribute:"see_also", value:"https://support.apple.com/en-us/HT202219"); script_set_attribute(attribute:"see_also", value:"https://lists.apple.com/archives/security-announce/2011/Apr/msg00004.html"); script_set_attribute(attribute:"solution", value:"Upgrade to Apple iTunes 10.2.2 or later."); 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/04/18"); script_set_attribute(attribute:"patch_publication_date", value:"2011/04/18"); script_set_attribute(attribute:"plugin_publication_date", value:"2011/04/19"); script_set_attribute(attribute:"plugin_type", value:"remote"); script_set_attribute(attribute:"cpe", value:"cpe:/a:apple:itunes"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Peer-To-Peer File Sharing"); script_copyright(english:"This script is Copyright (C) 2011-2018 Tenable Network Security, Inc."); script_dependencies("itunes_sharing.nasl"); script_require_keys("iTunes/sharing"); script_require_ports("Services/www", 3689); exit(0); } include("audit.inc"); include("global_settings.inc"); include("misc_func.inc"); include("http.inc"); port = get_http_port(default:3689, embedded:TRUE, ignore_broken:TRUE); get_kb_item_or_exit("iTunes/" + port + "/enabled"); type = get_kb_item_or_exit("iTunes/" + port + "/type"); source = get_kb_item_or_exit("iTunes/" + port + "/source"); version = get_kb_item_or_exit("iTunes/" + port + "/version"); if (type != 'Windows') audit(AUDIT_OS_NOT, "Windows"); fixed_version = "10.2.2"; if (ver_compare(ver:version, fix:fixed_version, strict:FALSE) == -1) { if (report_verbosity > 0) { report = '\n Version source : ' + source + '\n Installed version : ' + version + '\n Fixed version : ' + fixed_version + '\n'; security_hole(port:port, extra:report); } else security_hole(port); } else audit(AUDIT_LISTEN_NOT_VULN, "iTunes", port, version);
NASL family Windows NASL id ITUNES_10_2_2.NASL description The version of Apple iTunes installed on the remote Windows host is older than 10.2.2. As such, it is potentially affected by several issues : - An integer overflow issue in the handling of nodesets could lead to a crash or arbitrary code execution. (CVE-2011-1290) - A use after free issue in the handling of text nodes could lead to a crash or arbitrary code execution. (CVE-2011-1344) last seen 2020-06-01 modified 2020-06-02 plugin id 53488 published 2011-04-19 reporter This script is Copyright (C) 2011-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/53488 title Apple iTunes < 10.2.2 Multiple (credentialed check) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(53488); script_version("1.9"); script_cvs_date("Date: 2018/11/15 20:50:27"); script_cve_id("CVE-2011-1290", "CVE-2011-1344"); script_bugtraq_id(46849, 46822); script_name(english:"Apple iTunes < 10.2.2 Multiple (credentialed check)"); script_summary(english:"Checks version of iTunes on Windows"); script_set_attribute( attribute:"synopsis", value: "The remote host contains an application that has multiple vulnerabilities." ); script_set_attribute( attribute:"description", value: "The version of Apple iTunes installed on the remote Windows host is older than 10.2.2. As such, it is potentially affected by several issues : - An integer overflow issue in the handling of nodesets could lead to a crash or arbitrary code execution. (CVE-2011-1290) - A use after free issue in the handling of text nodes could lead to a crash or arbitrary code execution. (CVE-2011-1344)"); script_set_attribute(attribute:"see_also", value:"https://support.apple.com/en-us/HT202219"); script_set_attribute(attribute:"see_also", value:"https://lists.apple.com/archives/security-announce/2011/Apr/msg00004.html"); script_set_attribute(attribute:"solution", value:"Upgrade to Apple iTunes 10.2.2 or later."); 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/04/18"); script_set_attribute(attribute:"patch_publication_date", value:"2011/04/18"); script_set_attribute(attribute:"plugin_publication_date", value:"2011/04/19"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"cpe:/a:apple:itunes"); 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("itunes_detect.nasl"); script_require_keys("SMB/iTunes/Version"); exit(0); } include("global_settings.inc"); include("misc_func.inc"); version = get_kb_item_or_exit("SMB/iTunes/Version"); fixed_version = "10.2.2.12"; if (ver_compare(ver:version, fix:fixed_version) == -1) { if (report_verbosity > 0) { path = get_kb_item("SMB/iTunes/Path"); if (isnull(path)) path = 'n/a'; report = '\n Path : '+path+ '\n Installed version : '+version+ '\n Fixed version : '+fixed_version+'\n'; security_hole(port:get_kb_item("SMB/transport"), extra:report); } else security_hole(get_kb_item("SMB/transport")); } else exit(0, "The host is not affected since iTunes "+version+" is installed.");
NASL family MacOS X Local Security Checks NASL id MACOSX_SAFARI5_0_5.NASL description The version of Apple Safari installed on the remote Mac OS X host is earlier than 5.0.5. As such, it is potentially affected by several issues : - An integer overflow issue in the handling of nodesets could lead to a crash or arbitrary code execution. (CVE-2011-1290) - A use-after-free issue in the handling of text nodes could lead to a crash or arbitrary code execution. (CVE-2011-1344) last seen 2020-06-01 modified 2020-06-02 plugin id 53410 published 2011-04-14 reporter This script is Copyright (C) 2011-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/53410 title Mac OS X : Apple Safari < 5.0.5 code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(53410); script_version("1.10"); script_cvs_date("Date: 2018/07/14 1:59:35"); script_cve_id("CVE-2011-1290", "CVE-2011-1344"); script_bugtraq_id(46822, 46849); script_name(english:"Mac OS X : Apple Safari < 5.0.5"); script_summary(english:"Check the Safari SourceVersion"); script_set_attribute( attribute:"synopsis", value: "The remote host contains a web browser that is affected by several vulnerabilities." ); script_set_attribute( attribute:"description", value: "The version of Apple Safari installed on the remote Mac OS X host is earlier than 5.0.5. As such, it is potentially affected by several issues : - An integer overflow issue in the handling of nodesets could lead to a crash or arbitrary code execution. (CVE-2011-1290) - A use-after-free issue in the handling of text nodes could lead to a crash or arbitrary code execution. (CVE-2011-1344)" ); script_set_attribute(attribute:"see_also", value:"http://support.apple.com/kb/HT4596"); script_set_attribute(attribute:"see_also", value:"http://lists.apple.com/archives/security-announce/2011/Apr/msg00002.html"); script_set_attribute(attribute:"solution", value:"Upgrade to Apple Safari 5.0.5 or later."); 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/03/09"); script_set_attribute(attribute:"patch_publication_date", value:"2011/04/14"); script_set_attribute(attribute:"plugin_publication_date", value:"2011/04/14"); script_set_attribute(attribute:"cpe", value:"cpe:/a:apple:safari"); script_set_attribute(attribute:"plugin_type", value:"local"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"MacOS X Local Security Checks"); script_copyright(english:"This script is Copyright (C) 2011-2018 Tenable Network Security, Inc."); script_dependencies("macosx_Safari31.nasl"); script_require_keys("Host/local_checks_enabled", "Host/uname", "Host/MacOSX/Version", "MacOSX/Safari/Installed"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("misc_func.inc"); if (!get_kb_item("Host/local_checks_enabled")) exit(0, "Local checks are not enabled."); os = get_kb_item("Host/MacOSX/Version"); if (!os) audit(AUDIT_OS_NOT, "Mac OS X"); uname = get_kb_item_or_exit("Host/uname"); if (!egrep(pattern:"Darwin.* (9\.[0-8]\.|10\.)", string:uname)) audit(AUDIT_OS_NOT, "Mac OS X 10.5 / 10.6"); get_kb_item_or_exit("MacOSX/Safari/Installed"); path = get_kb_item_or_exit("MacOSX/Safari/Path", exit_code:1); version = get_kb_item_or_exit("MacOSX/Safari/Version", exit_code:1); fixed_version = "5.0.5"; if (ver_compare(ver:version, fix:fixed_version, strict:FALSE) == -1) { if (report_verbosity > 0) { report = '\n Installed version : ' + version + '\n Fixed version : ' + fixed_version + '\n'; security_hole(port:0, extra:report); } else security_hole(0); } else audit(AUDIT_INST_VER_NOT_VULN, "Safari", version);
NASL family SuSE Local Security Checks NASL id SUSE_11_LIBWEBKIT-121201.NASL description Two issues in libwebkit have been fixed : - Webkit CSS Text Element Count remote code execution was fixed. (CVE-2011-1290) - WebKit WBR Tag Removal remote code execution was fixed. (CVE-2011-1344) last seen 2020-06-05 modified 2013-01-25 plugin id 64202 published 2013-01-25 reporter This script is Copyright (C) 2013-2020 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/64202 title SuSE 11.2 Security Update : libwebkit (SAT Patch Number 7114) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from SuSE 11 update information. The text itself is # copyright (C) Novell, Inc. # include("compat.inc"); if (description) { script_id(64202); script_version("1.3"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04"); script_cve_id("CVE-2011-1290", "CVE-2011-1344"); script_name(english:"SuSE 11.2 Security Update : libwebkit (SAT Patch Number 7114)"); script_summary(english:"Checks rpm output for the updated packages"); script_set_attribute( attribute:"synopsis", value:"The remote SuSE 11 host is missing one or more security updates." ); script_set_attribute( attribute:"description", value: "Two issues in libwebkit have been fixed : - Webkit CSS Text Element Count remote code execution was fixed. (CVE-2011-1290) - WebKit WBR Tag Removal remote code execution was fixed. (CVE-2011-1344)" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.novell.com/show_bug.cgi?id=688701" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.novell.com/show_bug.cgi?id=688702" ); script_set_attribute( attribute:"see_also", value:"http://support.novell.com/security/cve/CVE-2011-1290.html" ); script_set_attribute( attribute:"see_also", value:"http://support.novell.com/security/cve/CVE-2011-1344.html" ); script_set_attribute(attribute:"solution", value:"Apply SAT patch number 7114."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:libwebkit-1_0-2"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:11:libwebkit-lang"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:11"); script_set_attribute(attribute:"patch_publication_date", value:"2012/12/01"); script_set_attribute(attribute:"plugin_publication_date", value:"2013/01/25"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2013-2020 Tenable Network Security, Inc."); script_family(english:"SuSE Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/SuSE/release"); if (isnull(release) || release !~ "^(SLED|SLES)11") audit(AUDIT_OS_NOT, "SuSE 11"); if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SuSE 11", cpu); pl = get_kb_item("Host/SuSE/patchlevel"); if (isnull(pl) || int(pl) != 2) audit(AUDIT_OS_NOT, "SuSE 11.2"); flag = 0; if (rpm_check(release:"SLED11", sp:2, cpu:"i586", reference:"libwebkit-1_0-2-1.2.7-0.15.2")) flag++; if (rpm_check(release:"SLED11", sp:2, cpu:"i586", reference:"libwebkit-lang-1.2.7-0.15.2")) flag++; if (rpm_check(release:"SLED11", sp:2, cpu:"x86_64", reference:"libwebkit-1_0-2-1.2.7-0.15.2")) flag++; if (rpm_check(release:"SLED11", sp:2, cpu:"x86_64", reference:"libwebkit-lang-1.2.7-0.15.2")) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get()); else security_hole(0); exit(0); } else audit(AUDIT_HOST_NOT, "affected");
References
- http://dvlabs.tippingpoint.com/blog/2011/02/02/pwn2own-2011
- http://lists.apple.com/archives/security-announce/2011//Apr/msg00000.html
- http://lists.apple.com/archives/security-announce/2011//Apr/msg00001.html
- http://lists.apple.com/archives/security-announce/2011//Apr/msg00002.html
- http://secunia.com/advisories/44151
- http://secunia.com/advisories/44154
- http://support.apple.com/kb/HT4596
- http://support.apple.com/kb/HT4607
- http://twitter.com/aaronportnoy/statuses/45632544967901187
- http://www.computerworld.com/s/article/9214002/Safari_IE_hacked_first_at_Pwn2Own
- http://www.securityfocus.com/archive/1/517505/100/0/threaded
- http://www.securityfocus.com/archive/1/517517/100/0/threaded
- http://www.securityfocus.com/bid/46822
- http://www.securitytracker.com/id?1025363
- http://www.vupen.com/english/advisories/2011/0984
- http://www.zdnet.com/blog/security/safarimacbook-first-to-fall-at-pwn2own-2011/8358
- http://www.zerodayinitiative.com/advisories/ZDI-11-135
- https://exchange.xforce.ibmcloud.com/vulnerabilities/66061
- http://dvlabs.tippingpoint.com/blog/2011/02/02/pwn2own-2011
- https://exchange.xforce.ibmcloud.com/vulnerabilities/66061
- http://www.zerodayinitiative.com/advisories/ZDI-11-135
- http://www.zdnet.com/blog/security/safarimacbook-first-to-fall-at-pwn2own-2011/8358
- http://www.vupen.com/english/advisories/2011/0984
- http://www.securitytracker.com/id?1025363
- http://www.securityfocus.com/bid/46822
- http://www.securityfocus.com/archive/1/517517/100/0/threaded
- http://www.securityfocus.com/archive/1/517505/100/0/threaded
- http://www.computerworld.com/s/article/9214002/Safari_IE_hacked_first_at_Pwn2Own
- http://twitter.com/aaronportnoy/statuses/45632544967901187
- http://support.apple.com/kb/HT4607
- http://support.apple.com/kb/HT4596
- http://secunia.com/advisories/44154
- http://secunia.com/advisories/44151
- http://lists.apple.com/archives/security-announce/2011//Apr/msg00002.html
- http://lists.apple.com/archives/security-announce/2011//Apr/msg00001.html
- http://lists.apple.com/archives/security-announce/2011//Apr/msg00000.html