Skip to main content
Public proof of conceptFix available

CVE-2018-13405

A public proof of concept exists; no exploitation attested.

  • Published2018-07-06
  • Fixed in15.0.1.4 · 14.1.3.1 · 13.1.3.5
  • WeaknessCWE-269

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2018-07-16Exploit-DB entryExploit-DB

Versions per branch

NVD
F5 big-ip access policy manager
BranchAffectedFixed in
15.0≥ 15.0.0, < 15.0.1.415.0.1.4
14.x≥ 14.0.0, < 14.1.3.114.1.3.1
13.x≥ 13.0.0, < 13.1.3.513.1.3.5
15.1= 15.1.0no fix published
16.0= 16.0.0no fix published
F5 big-ip advanced firewall manager
BranchAffectedFixed in
15.0≥ 15.0.0, < 15.0.1.415.0.1.4
14.x≥ 14.0.0, < 14.1.3.114.1.3.1
13.x≥ 13.0.0, < 13.1.3.513.1.3.5
15.1= 15.1.0no fix published
16.0= 16.0.0no fix published
F5 big-ip analytics
BranchAffectedFixed in
15.0≥ 15.0.0, < 15.0.1.415.0.1.4
14.x≥ 14.0.0, < 14.1.3.114.1.3.1
13.x≥ 13.0.0, < 13.1.3.513.1.3.5
15.1= 15.1.0no fix published
16.0= 16.0.0no fix published

24 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • kernelRed Hat:rhel_tus:7.3::serverall versions · fixed in 0:3.10.0-514.71.1.el7and 17 other packages
  • kernelRed Hat:rhel_tus:7.2::serverall versions · fixed in 0:3.10.0-327.83.1.el7and 17 other packages
  • kernelRed Hat:rhel_eus:7.5::serverall versions · fixed in 0:3.10.0-862.41.1.el7and 24 other packages
  • kernelRed Hat:rhel_eus:7.5::computenodeall versions · fixed in 0:3.10.0-862.41.1.el7and 17 other packages
  • kernelRed Hat:rhel_eus:7.4::serverall versions · fixed in 0:3.10.0-693.58.1.el7and 23 other packages
  • kernelRed Hat:rhel_eus:7.4::computenodeall versions · fixed in 0:3.10.0-693.58.1.el7and 16 other packages
  • kernelRed Hat:rhel_e4s:7.3::serverall versions · fixed in 0:3.10.0-514.71.1.el7and 19 other packages
  • kernelRed Hat:rhel_e4s:7.2::serverall versions · fixed in 0:3.10.0-327.83.1.el7and 17 other packages

141 more package ranges on OSV.dev

Vendor advisories

  • CVE-2018-13405 Red Hat Product Security854 products fixed · 13 known affected

    kernel: Missing check in fs/inode.c:inode_init_owner() does not clear SGID bit on non-directories for non-members

    kernel.src as a component of Red Hat Enterprise Linux 5 · kernel-rt as a component of Red Hat Enterprise MRG 2 · kernel-rt-debug as a component of Red Hat Enterprise MRG 2 · +10 more

  • RHSA-2019:4159 Red Hat Product Security98 products fixed

    Red Hat Security Advisory: kernel security and bug fix update

  • RHSA-2019:4164 Red Hat Product Security75 products fixed

    Red Hat Security Advisory: kernel security and bug fix update

  • RHSA-2019:2696 Red Hat Product Security106 products fixed

    Red Hat Security Advisory: kernel security and bug fix update

  • RHSA-2019:2730 Red Hat Product Security16 products fixed

    Red Hat Security Advisory: kernel-rt security and bug fix update

  • RHSA-2019:2566 Red Hat Product Security111 products fixed

    Red Hat Security Advisory: kernel security, bug fix, and enhancement update

5 more advisories

Full record on NVD

Fix

  1. Update F5 big-ip access policy manager to 15.0.1.4 · 14.1.3.1 · 13.1.3.5
  2. Vendor fix Red Hat Product Security RHSA-2019:4159 · 98 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect.
  3. Vendor fix Red Hat Product Security RHSA-2018:3096 · 26 productsFor more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section. Additional Changes: For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.6 Release Notes l…

Advisories and patches

Detection

read 2026-11-19 10:48 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-45033
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2018-07-06
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-5p56-pcgw-42mf

Frequently asked questions

What is CVE-2018-13405?

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.

Is CVE-2018-13405 actively exploited?

Active exploitation of CVE-2018-13405 has not been confirmed. Its EPSS score was 1.0% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-13405?

CVE-2018-13405 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record