CVE-2018-19789

Published: Dic 18, 2018 Last Modified: Nov 21, 2024 EU-VD ID: EUVD-2022-5696 Aliases: GHSA-x3cf-w64x-4cp2
ExploitDB:
Other exploit source:
Google Dorks:
MEDIUM 5,3
Attack Vector: network
Attack Complexity: low
Privileges Required: none
User Interaction: none
Scope: unchanged
Confidentiality: low
Integrity: none
Availability: none
MEDIUM 5,0
Access Vector: network
Access Complexity: low
Authentication: none
Confidentiality: partial
Integrity: none
Availability: none

Description

AI Translation Available

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.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,0087
Percentile
0,7th
Updated

EPSS Score Trend (Last 90 Days)

434

Unrestricted Upload of File with Dangerous Type

Draft
Common Consequences
Security Scopes Affected:
Integrity Confidentiality Availability
Potential Impacts:
Execute Unauthorized Code Or Commands
Applicable Platforms
Languages: ASP.NET, Not Language-Specific, PHP
Technologies: Web Server
View CWE Details
Application

Symfony by Sensiolabs

Version Range Affected
From 4.0.0 (inclusive)
To 4.0.15 (exclusive)
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Symfony by Sensiolabs

Version Range Affected
From 2.8.0 (inclusive)
To 2.8.49 (exclusive)
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Symfony by Sensiolabs

Version Range Affected
From 3.0.0 (inclusive)
To 3.4.20 (exclusive)
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Symfony by Sensiolabs

Version Range Affected
From 4.1.0 (inclusive)
To 4.1.9 (exclusive)
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Operating System

Debian Linux by Debian

cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Symfony by Sensiolabs

Version Range Affected
From 2.7.0 (inclusive)
To 2.7.50 (exclusive)
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Symfony by Sensiolabs

Version Range Affected
From 4.2.0 (inclusive)
To 4.2.1 (exclusive)
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
https://lists.debian.org/debian-lts-announce/2019/03/msg00009.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
https://seclists.org/bugtraq/2019/May/21
https://symfony.com/blog/cve-2018-19789-disclosure-of-uploaded-files-full-path
https://www.debian.org/security/2019/dsa-4441
http://www.securityfocus.com/bid/106249
Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/106249
https://lists.debian.org/debian-lts-announce/2019/03/msg00009.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
https://seclists.org/bugtraq/2019/May/21
https://symfony.com/blog/cve-2018-19789-disclosure-of-uploaded-files-full-path
https://www.debian.org/security/2019/dsa-4441
http://www.securityfocus.com/bid/106249
Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/106249