CWE-917 - Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
CWE-917
- Abstraction:
- Base
- Structure:
- Simple
- Status:
- Incomplete
- Weakness Name
Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
- Description
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.
- Common Consequences
Scope: Confidentiality
Impact: Read Application Data
Scope: Integrity
Impact: Execute Unauthorized Code or Commands
- Related Weaknesses
- Related Alerts
- Release Date:
- 2013-02-21
- Latest Modification Date:
- 2023-06-29
Free security scan for your website