CWE-917Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')

PUBLISHEDweakness record
released 2013-02-21 · last modified 2025-12-11

Metadata

CWE ID:
CWE-917
摘要:
Base
结构:
Simple
状态:
Incomplete
发布日期:
2013-02-21
更新日期:
2025-12-11

名称

Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')

描述

The product constructs all or part of an expression language (EL) statement in a framework such as a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended EL statement before it is executed.

Frameworks such as Java Server Page (JSP) allow a developer to insert executable expressions within otherwise-static content. When the developer is not aware of the executable nature of these expressions and/or does not disable them, then if an attacker can inject expressions, this could lead to code execution or other unexpected behaviors.

常见后果

范围:
Confidentiality
影响:
Read Application Data
范围:
Integrity
影响:
Execute Unauthorized Code or Commands

相关 CWE

相关警报