CVE-2018-19789
CVSS V2 Medium 5
CVSS V3 Medium 5.3
Description
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.
Overview
- CVE ID
- CVE-2018-19789
- Assigner
- cve@mitre.org
- Vulnerability Status
- Modified
- Published Version
- 2018-12-18T22:29:04
- Last Modified Date
- 2019-05-10T16:29:00
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* | 1 | OR | 2.7.0 | 2.7.50 |
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* | 1 | OR | 2.8.0 | 2.8.49 |
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* | 1 | OR | 3.0.0 | 3.4.20 |
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* | 1 | OR | 4.0.0 | 4.0.15 |
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* | 1 | OR | 4.1.0 | 4.1.9 |
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* | 1 | OR | 4.2.0 | 4.2.1 |
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:N/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 5.3
- Base Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 1.4
References
Reference URL | Reference Tags |
---|---|
https://symfony.com/blog/cve-2018-19789-disclosure-of-uploaded-files-full-path | Patch Vendor Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OA4WVFN5FYPIXAPLWZI6N425JHHDSWAZ/ | Release Notes Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JZMRJ7VTHCY5AZK24G4QGX36RLUDTDKE/ | Release Notes Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4TD3E7FZIXLVFG3SMFJPDEKPZ26TJOW7/ | Release Notes Third Party Advisory |
http://www.securityfocus.com/bid/106249 | Third Party Advisory VDB Entry |
https://lists.debian.org/debian-lts-announce/2019/03/msg00009.html | Mailing List Third Party Advisory |
https://www.debian.org/security/2019/dsa-4441 | |
https://seclists.org/bugtraq/2019/May/21 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2018-19789 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19789 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:53:09 | Added to TrackCVE | |||
2022-12-03 15:28:47 | 2018-12-18T22:29Z | 2018-12-18T22:29:04 | CVE Published Date | updated |
2022-12-03 15:28:47 | 2019-05-10T16:29:00 | CVE Modified Date | updated | |
2022-12-03 15:28:47 | Modified | Vulnerability Status | updated |