Description
JBoss Seam 2 (jboss-seam2), as used in JBoss Enterprise Application Platform 4.3.0 for Red Hat Linux, does not properly sanitize inputs for JBoss Expression Language (EL) expressions, which allows remote attackers to execute arbitrary code via a crafted URL. NOTE: this is only a vulnerability when the Java Security Manager is not properly configured.
Vulnerability type
CWE-917
Improper Neutralization of Special Elements used in an Expression Language Statement
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.
Impact on systems
| Scope | Impact |
| Confidentiality |
Read Application Data An attacker could insert an expression that references private data, which is then included in the output. |
| Integrity |
Execute Unauthorized Code or Commands An attacker could execute arbitrary expressions. |
How to prevent it
Architecture and Design
Avoid adding user-controlled data into an expression interpreter when possible.
Implementation
If user-controlled data must be added to an expression interpreter, one or more of the following should be performed: Validate that the user input will not evaluate as an expression Encode the user input in a way that ensures it is not evaluated as an expression
System Configuration · Operation
The framework or tooling might allow the developer to disable or deactivate the processing of EL expressions, such as setting the isELIgnored attribute for a JSP page to true.
All 204 CWE-917 CVEs, with trend and prevention