[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

248268

 
 

909

 
 

195051

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CVE
view JSON

CVE-2018-19789Date: (C)2019-05-30   (M)2023-12-22


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 Score and Metrics +CVSS Score and Metrics -

CVSS V3 Severity:CVSS V2 Severity:
CVSS Score : 5.3CVSS Score : 5.0
Exploit Score: 3.9Exploit Score: 10.0
Impact Score: 1.4Impact Score: 2.9
 
CVSS V3 Metrics:CVSS V2 Metrics:
Attack Vector: NETWORKAccess Vector: NETWORK
Attack Complexity: LOWAccess Complexity: LOW
Privileges Required: NONEAuthentication: NONE
User Interaction: NONEConfidentiality: PARTIAL
Scope: UNCHANGEDIntegrity: NONE
Confidentiality: LOWAvailability: NONE
Integrity: NONE 
Availability: NONE 
  
Reference:
BID-106249
https://seclists.org/bugtraq/2019/May/21
DSA-4441
FEDORA-2018-66547a8c14
FEDORA-2018-6edf04d9d6
FEDORA-2018-8c06b6defd
https://lists.debian.org/debian-lts-announce/2019/03/msg00009.html
https://symfony.com/blog/cve-2018-19789-disclosure-of-uploaded-files-full-path

CPE    1
cpe:/o:debian:debian_linux:8.0
CWE    1
CWE-434
OVAL    9
oval:org.secpod.oval:def:55029
oval:org.secpod.oval:def:115647
oval:org.secpod.oval:def:115646
oval:org.secpod.oval:def:115645
...

© SecPod Technologies