CVE-2018-19789
Summary
| CVE | CVE-2018-19789 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2018-12-18 22:29:00 UTC |
| Updated | 2023-11-07 02:55:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-434
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 8.0 | All | All | All |
| Operating System | Debian | Debian Linux | 8.0 | All | All | All |
| Application | Sensiolabs | Symfony | All | All | All | All |
| Application | Sensiolabs | Symfony | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [SECURITY] Fedora 28 Update: php-symfony-2.8.49-1.fc28 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| CVE-2018-19789: Disclosure of uploaded files full path (Symfony Blog) | CONFIRM | symfony.com | Patch, Vendor Advisory |
| Symfony Local File Include and Open Redirection Vulnerabilities | BID | www.securityfocus.com | Third Party Advisory, VDB Entry |
| [SECURITY] [DLA 1707-1] symfony security update | MLIST | lists.debian.org | Mailing List, Third Party Advisory |
| [SECURITY] Fedora 28 Update: php-symfony3-3.4.20-1.fc28 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | Release Notes, Third Party Advisory |
| [SECURITY] Fedora 28 Update: php-symfony4-4.0.15-1.fc28 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | Release Notes, Third Party Advisory |
| Bugtraq: [SECURITY] [DSA 4441-1] symfony security update | BUGTRAQ | seclists.org | |
| [SECURITY] Fedora 28 Update: php-symfony3-3.4.20-1.fc28 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| Debian -- Security Information -- DSA-4441-1 symfony | DEBIAN | www.debian.org | |
| [SECURITY] Fedora 28 Update: php-symfony-2.8.49-1.fc28 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | Release Notes, Third Party Advisory |
| [SECURITY] Fedora 28 Update: php-symfony4-4.0.15-1.fc28 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.