When a proxy server is configured with customUrl.enabled, the component accepts user-supplied input within forwarded HTTP headers without enforcing expected validation constraints. A malicious actor can manipulate these headers to influence the URL construction process, leading to an open redirect vulnerability. Additionally, unsanitized header values are written to application logs.
An attacker can exploit this to force redirection to arbitrary malicious domains, potentially enabling phishing attacks. Furthermore, they can inject forged entries into application logs, impacting the reliability of security logs and potentially hindering incident investigation.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Api_control_plane | Wso2 | 4.5.0 (including) | 4.5.0.50 (excluding) |
| Api_control_plane | Wso2 | 4.6.0 (including) | 4.6.0.14 (excluding) |
| Api_manager | Wso2 | 3.1.0 (including) | 3.1.0.357 (excluding) |
| Api_manager | Wso2 | 3.2.0 (including) | 3.2.0.465 (excluding) |
| Api_manager | Wso2 | 3.2.1 (including) | 3.2.1.84 (excluding) |
| Api_manager | Wso2 | 4.1.0 (including) | 4.1.0.249 (excluding) |
| Api_manager | Wso2 | 4.2.0 (including) | 4.2.0.189 (excluding) |
| Api_manager | Wso2 | 4.3.0 (including) | 4.3.0.100 (excluding) |
| Api_manager | Wso2 | 4.4.0 (including) | 4.4.0.64 (excluding) |
| Api_manager | Wso2 | 4.5.0 (including) | 4.5.0.49 (excluding) |
| Api_manager | Wso2 | 4.6.0 (including) | 4.6.0.13 (excluding) |
| Identity_server | Wso2 | 5.10.0 (including) | 5.10.0.386 (excluding) |
| Identity_server | Wso2 | 5.11.0 (including) | 5.11.0.433 (excluding) |
| Identity_server | Wso2 | 6.0.0 (including) | 6.0.0.260 (excluding) |
| Identity_server | Wso2 | 6.1.0 (including) | 6.1.0.261 (excluding) |
| Identity_server_as_key_manager | Wso2 | 5.10.0 (including) | 5.10.0.377 (excluding) |
| Open_banking_am | Wso2 | 2.0.0 (including) | 2.0.0.406 (excluding) |
| Open_banking_iam | Wso2 | 2.0.0 (including) | 2.0.0.426 (excluding) |
| Traffic_manager | Wso2 | 4.5.0 (including) | 4.5.0.48 (excluding) |
| Traffic_manager | Wso2 | 4.6.0 (including) | 4.6.0.13 (excluding) |
| Universal_gateway | Wso2 | 4.5.0 (including) | 4.5.0.49 (excluding) |
| Universal_gateway | Wso2 | 4.6.0 (including) | 4.6.0.13 (excluding) |
Input validation is a frequently-used technique for checking potentially dangerous inputs in order to ensure that the inputs are safe for processing within the code, or when communicating with other components. Input can consist of:
Data can be simple or structured. Structured data can be composed of many nested layers, composed of combinations of metadata and raw data, with other simple or structured data. Many properties of raw data or metadata may need to be validated upon entry into the code, such as:
Implied or derived properties of data must often be calculated or inferred by the code itself. Errors in deriving properties may be considered a contributing factor to improper input validation.