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
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
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