Description
The product assigns an owner to a resource, but the owner is outside of the intended control sphere.
This may allow the resource to be manipulated by actors outside of the intended control sphere.
Potential Impact
Confidentiality, Integrity
Read Application Data, Modify Application Data
Mitigations & Prevention
Periodically review the privileges and their owners.
Detection Methods
- Automated Analysis — Use automated tools to check for privilege settings.
Real-World CVE Examples
| CVE ID | Description |
|---|---|
| CVE-2024-43199 | product installs binaries with potentially insecure user/group ownership |
| CVE-2007-5101 | File system sets wrong ownership and group when creating a new file. |
| CVE-2007-4238 | OS installs program with bin owner/group, allowing modification. |
| CVE-2007-1716 | Manager does not properly restore ownership of a reusable resource when a user logs out, allowing privilege escalation. |
| CVE-2005-3148 | Backup software restores symbolic links with incorrect uid/gid. |
| CVE-2005-1064 | Product changes the ownership of files that a symlink points to, instead of the symlink itself. |
| CVE-2011-1551 | Component assigns ownership of sensitive directory tree to a user account, which can be leveraged to perform privileged operations. |
Related Weaknesses
Frequently Asked Questions
What is CWE-708?
CWE-708 (Incorrect Ownership Assignment) is a software weakness identified by MITRE's Common Weakness Enumeration. It is classified as a Base-level weakness. The product assigns an owner to a resource, but the owner is outside of the intended control sphere.
How can CWE-708 be exploited?
Attackers can exploit CWE-708 (Incorrect Ownership Assignment) to read application data, modify application data. This weakness is typically introduced during the Architecture and Design, Implementation, Operation phase of software development.
How do I prevent CWE-708?
Key mitigations include: Periodically review the privileges and their owners.
What is the severity of CWE-708?
CWE-708 is classified as a Base-level weakness (Medium abstraction). It has been observed in 7 real-world CVEs.