Bug 848949 (CVE-2012-6689)

Summary: CVE-2012-6689 libmnl: incorrect validation of netlink message origin allows attackers to spoof netlink messages
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, bhu, bmasney, brdeoliv, dhoward, dvlasenk, fhrbata, fweimer, hkrzesin, jshortt, jstancek, kernel-mgr, nmurray, ptalbert, rvrbovsk, security-response-team, twoerner
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: 2015-02-08 09:16:49 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: 851148    
Bug Blocks: 848952    

Description Vincent Danen 2012-08-16 22:26:29 UTC
Florian Weimer of the Red Hat Product Security Team discovere that the mnl_nlmsg_portid_ok() function in libmnl 1.0.3 and earlier did not correctly validate the origin of a Netlink message, allowing local attackers to spoof Netlink messages, with context-dependent consequences.

Comment 1 Vincent Danen 2012-08-20 22:52:06 UTC
This is currently being discussed here:

http://marc.info/?l=linux-netdev&m=134522422125983

but in the capacity of the kernel, not libmnl.

Comment 3 Florian Weimer 2015-02-08 09:16:49 UTC
This was fixed in the kernel, see bug 851968.