cve.bz

CWE-272: Least Privilege Violation, published in 2022

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 promptExplain 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

  1. 8.8CVE-2021-26726valmet dnaEPSS 1.1%

    A remote code execution vulnerability affecting a Valmet DNA service listening on TCP port 1517, allows an attacker to execute commands with SYSTEM privileges This issue affects: Valmet DNA versions from Collection 2012 until Collection 20…