| Vulnerability Name: | CVE-2018-19789 (CCN-154485) | ||||||||||||||||||||||||||||||||
| Assigned: | 2018-12-06 | ||||||||||||||||||||||||||||||||
| Published: | 2018-12-06 | ||||||||||||||||||||||||||||||||
| Updated: | 2019-05-10 | ||||||||||||||||||||||||||||||||
| Summary: | An issue was discovered in Symfony 2.7.x before 2.7.50, 2.8.x before 2.8.49, 3.x before 3.4.20, 4.0.x before 4.0.15, 4.1.x before 4.1.9, and 4.2.x before 4.2.1. When using the scalar type hint `string` in a setter method (e.g. `setName(string $name)`) of a class that's the `data_class` of a form, and when a file upload is submitted to the corresponding field instead of a normal text input, then `UploadedFile::__toString()` is called which will then return and disclose the path of the uploaded file. If combined with a local file inclusion issue in certain circumstances this could escalate it to a Remote Code Execution. | ||||||||||||||||||||||||||||||||
| CVSS v3 Severity: | 5.3 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) 4.6 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C)
5.2 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C)
| ||||||||||||||||||||||||||||||||
| CVSS v2 Severity: | 5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N)
| ||||||||||||||||||||||||||||||||
| Vulnerability Type: | CWE-434 | ||||||||||||||||||||||||||||||||
| Vulnerability Consequences: | Obtain Information | ||||||||||||||||||||||||||||||||
| References: | Source: MITRE Type: CNA CVE-2018-19789 Source: BID Type: Third Party Advisory, VDB Entry 106249 Source: XF Type: UNKNOWN symfony-cve201819789-info-disc(154485) Source: MLIST Type: Mailing List, Third Party Advisory [debian-lts-announce] 20190310 [SECURITY] [DLA 1707-1] symfony security update Source: FEDORA Type: Release Notes, Third Party Advisory FEDORA-2018-66547a8c14 Source: FEDORA Type: Release Notes, Third Party Advisory FEDORA-2018-6edf04d9d6 Source: FEDORA Type: Release Notes, Third Party Advisory FEDORA-2018-8c06b6defd Source: BUGTRAQ Type: UNKNOWN 20190510 [SECURITY] [DSA 4441-1] symfony security update Source: CCN Type: Symfony blog, December 6, 2018 CVE-2018-19789: Disclosure of uploaded files full path Source: CONFIRM Type: Patch, Vendor Advisory https://symfony.com/blog/cve-2018-19789-disclosure-of-uploaded-files-full-path Source: DEBIAN Type: UNKNOWN DSA-4441 | ||||||||||||||||||||||||||||||||
| Vulnerable Configuration: | Configuration 1: Configuration 2: Denotes that component is vulnerable | ||||||||||||||||||||||||||||||||
| Oval Definitions | |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
| BACK | |||||||||||||||||||||||||||||||||