Linux Kernel 3.3-3.8 sock_diag out-of-bounds

2013.02.24
Credit: Mathias
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-20


CVSS Base Score: 7.2/10
Impact Subscore: 10/10
Exploitability Subscore: 3.9/10
Exploit range: Local
Attack complexity: Low
Authentication: No required
Confidentiality impact: Complete
Integrity impact: Complete
Availability impact: Complete

An unprivileged user can send a netlink message resulting in an out-of-bounds access of the sock_diag_handlers[] array which, in turn, allows userland to take over control while in kernel mode. Patch (already in net/master): http://thread.gmane.org/gmane.linux.network/260061 Affected versions: v3.3 - v3.8 PoC is not attached this time but can be requested on demand. Hint: Works well on Fedora 18, bypassing all mmap_min_addr checks. ;) Thanks, Mathias

References:

http://thread.gmane.org/gmane.linux.network/260061


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top