Bug 865831 (CVE-2012-4515)

Summary: CVE-2012-4515 kdelibs: Use-after-free when context menu being used whilst the document DOM is being changed from within JavaScript
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: dvratil, jgrulich, mprpic, security-response-team, than
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-16 15:49:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 871541    
Bug Blocks: 867301    

Description Jan Lieskovsky 2012-10-12 14:37:03 UTC
An use-after-free flaw was found in the way DOM implementation of KDE libraries performed widget rendering for context menus for a given iframe when the iframe was simultaneously being updated by the parent via JavaScript. A remote attacker could provide a specially-crafted web page that, when opened in an application linked against KDE libraries (such as konqueror), would lead to that application crash or, potentially, arbitrary code execution (depending on the state of the process at the moment the no-longer existing process was accessed) with the privileges of the user running the application.

References:
[1] http://www.openwall.com/lists/oss-security/2012/10/10/11
[2] http://www.openwall.com/lists/oss-security/2012/10/11/11

Comment 1 Jan Lieskovsky 2012-10-12 14:38:30 UTC
This issue did NOT affect the version of the kdelibs package, as shipped with Red Hat Enterprise Linux 5 and 6.

Comment 13 Jan Lieskovsky 2012-10-18 11:22:11 UTC
This issue affects the versions of the kdelibs package, as shipped with Fedora release of 16 and 17.

Comment 15 Jan Lieskovsky 2012-10-29 18:30:55 UTC
Statement:

Not vulnerable. This issue did not affect the versions of kdelibs as shipped with Red Hat Enterprise Linux 5 and 6.

Comment 17 Vincent Danen 2012-10-30 16:29:56 UTC
This is now public:

http://seclists.org/oss-sec/2012/q4/171

Comment 18 Vincent Danen 2012-10-30 16:32:05 UTC
Created kdelibs tracking bugs for this issue

Affects: fedora-all [bug 871541]

Comment 19 Fedora Update System 2012-11-16 07:34:45 UTC
kdelibs-4.8.5-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2012-11-16 07:37:15 UTC
kdelibs-4.9.2-11.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.