Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1325 CNY

100%

CWE-269 (特权管理不恰当) — Vulnerability Class 1058

1058 vulnerabilities classified as CWE-269 (特权管理不恰当). AI Chinese analysis included.

CWE-269 represents a critical access control weakness where software fails to properly assign, modify, track, or verify privileges for users or processes. This flaw allows actors to operate outside their intended security boundaries, effectively granting them an unintended sphere of control. Attackers typically exploit this vulnerability by manipulating session tokens, bypassing authentication checks, or leveraging insufficient authorization logic to escalate privileges from a standard user to an administrator. Such exploitation can lead to unauthorized data access, system modification, or complete compromise. To prevent this, developers must implement robust identity and access management frameworks that enforce strict least-privilege principles. Regularly auditing permission assignments, utilizing role-based access control, and rigorously validating user rights at every critical application checkpoint are essential strategies to ensure actors only possess the minimum necessary privileges for their specific tasks.

MITRE CWE Description
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
Common Consequences (1)
Access ControlGain Privileges or Assume Identity
Mitigations (3)
Architecture and Design, OperationVery carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Architecture and DesignFollow the principle of least privilege when assigning access rights to entities in a software system.
Architecture and DesignConsider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.
Examples (2)
This code temporarily raises the program's privileges to allow creation of a new user folder.
def makeNewUserDir(username): if invalidUsername(username): #avoid CWE-22 and CWE-78 print('Usernames cannot contain invalid characters') return False try: raisePrivileges() os.mkdir('/home/' + username) lowerPrivileges() except OSError: print('Unable to create new user directory for user:' + username) return False return True
Bad · Python
The following example demonstrates the weakness.
seteuid(0); /* do some stuff */ seteuid(getuid());
Bad · C
CVE IDTitleCVSSSeverityPublished
CVE-2018-8841 多款Advantech产品安全漏洞 — WebAccess 8.1 -2018-05-15
CVE-2017-0932 Ubiquiti Networks EdgeOS 安全漏洞 — EdgeRouter X 8.8 -2018-03-22
CVE-2017-0934 Ubiquiti Networks EdgeOS 安全漏洞 — EdgeRouter X 8.8 -2018-03-22
CVE-2017-0935 Ubiquiti Networks EdgeOS 安全漏洞 — EdgeRouter X 8.8 -2018-03-22
CVE-2017-12728 iniNet Solutions SpiderControl SCADA Web Server 安全漏洞 — SpiderControl SCADA Web Server 7.8 -2017-10-04
CVE-2017-9940 Siemens SiPass integrated 安全漏洞 — SiPass integrated All versions before V2.70 8.1 -2017-08-08
CVE-2017-7922 Cambium Networks ePMP 权限许可和访问控制问题漏洞 — Cambium Networks ePMP 7.6 -2017-06-21
CVE-2014-9193 Innominate mGuard Improper Privilege Management — mGuard 7.2 -2014-12-20

Vulnerabilities classified as CWE-269 (特权管理不恰当) represent 1058 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.