The inode_init_owner function in fs/inode.c in the Linux kernel through 3.16 allows local users to create files with an unintended group ownership, in a scenario where a directory is SGID to a certain group and is writable by a user who is not a member of that group. Here, the non-member can trigger creation of a plain file whose group ownership is that group. The intended behavior was that the non-member can trigger creation of a directory (but not a plain file) whose group ownership is that group. The non-member can escalate privileges by making the plain file executable and SGID.
                
            References
                    Configurations
                    Configuration 1 (hide)
            
            
  | 
    
Configuration 2 (hide)
            
            
  | 
    
Configuration 3 (hide)
            
            
  | 
    
Configuration 4 (hide)
            
            
  | 
    
Configuration 5 (hide)
            
            
  | 
    
Configuration 6 (hide)
            
            
  | 
    
History
                    21 Nov 2024, 03:47
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7 - Patch, Vendor Advisory | |
| References | () http://openwall.com/lists/oss-security/2018/07/13/2 - Mailing List, Patch, Third Party Advisory | |
| References | () http://www.securityfocus.com/bid/106503 - Broken Link | |
| References | () https://access.redhat.com/errata/RHSA-2018:2948 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2018:3083 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2018:3096 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2019:0717 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2019:2476 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2019:2566 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2019:2696 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2019:2730 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2019:4159 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2019:4164 - Third Party Advisory | |
| References | () https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=0b3369840cd61c23e2b9241093737b4c395cb406 - Mailing List, Patch, Vendor Advisory | |
| References | () https://github.com/torvalds/linux/commit/0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7 - Patch, Third Party Advisory | |
| References | () https://lists.debian.org/debian-lts-announce/2018/08/msg00014.html - Third Party Advisory | |
| References | () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HRBNBX73SAFKQWBOX76SLMWPTKJPVGEJ/ - | |
| References | () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKKIAUMR5FAYLZ7HLEPOXMKAAE3BYBQ/ - | |
| References | () https://support.f5.com/csp/article/K00854051 - Third Party Advisory | |
| References | () https://twitter.com/grsecurity/status/1015082951204327425 - Third Party Advisory | |
| References | () https://usn.ubuntu.com/3752-1/ - Third Party Advisory | |
| References | () https://usn.ubuntu.com/3752-2/ - Third Party Advisory | |
| References | () https://usn.ubuntu.com/3752-3/ - Third Party Advisory | |
| References | () https://usn.ubuntu.com/3753-1/ - Third Party Advisory | |
| References | () https://usn.ubuntu.com/3753-2/ - Third Party Advisory | |
| References | () https://usn.ubuntu.com/3754-1/ - Third Party Advisory | |
| References | () https://www.debian.org/security/2018/dsa-4266 - Third Party Advisory | |
| References | () https://www.exploit-db.com/exploits/45033/ - Exploit, Third Party Advisory, VDB Entry | 
07 Nov 2023, 02:52
| Type | Values Removed | Values Added | 
|---|---|---|
| References | 
        
        
  | 
    
        
        
  | 
Information
                Published : 2018-07-06 14:29
Updated : 2024-11-21 03:47
NVD link : CVE-2018-13405
Mitre link : CVE-2018-13405
CVE.ORG link : CVE-2018-13405
JSON object : View
Products Affected
                redhat
- enterprise_linux_aus
 - enterprise_linux_eus
 - enterprise_linux_workstation
 - enterprise_linux_for_real_time
 - mrg_realtime
 - enterprise_linux_server_aus
 - enterprise_linux_server_tus
 - virtualization
 - enterprise_linux_desktop
 - enterprise_linux_server
 
f5
- big-ip_application_security_manager
 - big-ip_domain_name_system
 - big-ip_global_traffic_manager
 - big-ip_advanced_firewall_manager
 - big-ip_access_policy_manager
 - big-ip_edge_gateway
 - big-ip_application_acceleration_manager
 - big-ip_webaccelerator
 - big-ip_link_controller
 - big-ip_fraud_protection_service
 - big-ip_local_traffic_manager
 - big-ip_policy_enforcement_manager
 - big-ip_analytics
 
debian
- debian_linux
 
fedoraproject
- fedora
 
canonical
- ubuntu_linux
 
linux
- linux_kernel
 
CWE
                
                    
                        
                        CWE-269
                        
            Improper Privilege Management
