5 vulnerabilities classified as CWE-914 (动态识别变量的控制不恰当). AI Chinese analysis included.
CWE-914 represents a critical code quality weakness where software fails to properly restrict access to dynamically-identified variables. This vulnerability arises when developers utilize language features that allow arbitrary variable access based on input strings, such as PHP’s $$ syntax or Python’s eval functions. Attackers typically exploit this by manipulating input data to overwrite sensitive variables, leading to unauthorized data modification, privilege escalation, or remote code execution. To mitigate this risk, developers must rigorously validate and sanitize all user-supplied inputs before they are used to construct variable names. Implementing strict allowlists for permitted variable identifiers, avoiding dynamic variable resolution whenever possible, and employing secure coding practices that separate data from code structure are essential strategies. By enforcing these controls, organizations can prevent attackers from hijacking program logic through malicious variable manipulation.
//Log user in, and set $isAdmin to true if user is an administrator function login($user,$pass){ $query = buildQuery($user,$pass); mysql_query($query); if(getUserRole($user) == "Admin"){ $isAdmin = true; } } $isAdmin = false; extract($_POST); login(mysql_real_escape_string($user),mysql_real_escape_string($pass));| CVE ID | Title | CVSS | Severity | Published |
|---|---|---|---|---|
| CVE-2025-14085 | youlaitech youlai-mall orders improper control of dynamically-identified variables — youlai-mall | 6.3 | Medium | 2025-12-05 |
| CVE-2025-14051 | youlaitech youlai-mall addresses deleteAddress improper control of dynamically-identified variables — youlai-mall | 6.3 | Medium | 2025-12-04 |
| CVE-2024-54198 | Information Disclosure vulnerability through Remote Function Call (RFC) in SAP NetWeaver Application Server ABAP — SAP NetWeaver Application Server ABAP | 8.5 | High | 2024-12-10 |
| CVE-2024-24914 | Check Point Gaia Portal 安全漏洞 — ClusterXL, Multi-Domain Security Management, Quantum Appliances, Quantum Maestro, Quantum Scalable Chassis, Quantum Security Gateways, Quantum Security Management | 8.0 | High | 2024-11-07 |
| CVE-2023-33175 | ToUI allows user-specific variables to be shared between users — ToUI | 9.1 | Critical | 2023-05-30 |
Vulnerabilities classified as CWE-914 (动态识别变量的控制不恰当) represent 5 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.