CWE-272: Least Privilege Violation, published in 2021
Filter
The elevated privilege level required to perform operations such as chroot() should be dropped immediately after the operation is performed.
What the weakness is: CWE-272 at MITRE. All weaknesses
Related attack patterns (CAPEC): 3
- CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
- CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
- CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to CWE-272, as MITRE names them. Credits.
Ask an AI about CWE-272
Show the prompt
Explain CWE-272: Least Privilege Violation and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/272.html and https://cve.bz/cve/cwe/272?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
No records match.