gsd-2018-19789
Vulnerability from gsd
Modified
2023-12-13 01:22
Details
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.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2018-19789", "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\u0027s 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.", "id": "GSD-2018-19789", "references": [ "https://www.debian.org/security/2019/dsa-4441" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2018-19789" ], "details": "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\u0027s 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.", "id": "GSD-2018-19789", "modified": "2023-12-13T01:22:38.724611Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2018-19789", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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\u0027s 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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "FEDORA-2018-8c06b6defd", "refsource": "FEDORA", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OA4WVFN5FYPIXAPLWZI6N425JHHDSWAZ/" }, { "name": "FEDORA-2018-66547a8c14", "refsource": "FEDORA", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4TD3E7FZIXLVFG3SMFJPDEKPZ26TJOW7/" }, { "name": "106249", "refsource": "BID", "url": "http://www.securityfocus.com/bid/106249" }, { "name": "https://symfony.com/blog/cve-2018-19789-disclosure-of-uploaded-files-full-path", "refsource": "CONFIRM", "url": "https://symfony.com/blog/cve-2018-19789-disclosure-of-uploaded-files-full-path" }, { "name": "[debian-lts-announce] 20190310 [SECURITY] [DLA 1707-1] symfony security update", "refsource": "MLIST", "url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00009.html" }, { "name": "FEDORA-2018-6edf04d9d6", "refsource": "FEDORA", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JZMRJ7VTHCY5AZK24G4QGX36RLUDTDKE/" }, { "name": "DSA-4441", "refsource": "DEBIAN", "url": "https://www.debian.org/security/2019/dsa-4441" }, { "name": "20190510 [SECURITY] [DSA 4441-1] symfony security update", "refsource": "BUGTRAQ", "url": "https://seclists.org/bugtraq/2019/May/21" } ] } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003e=2.7.38,\u003c2.7.50||\u003e=2.8.0,\u003c2.8.49||\u003e=3.0.0,\u003c3.4.20 ||\u003e=4.0.0,\u003c4.0.15||\u003e=4.1.0,\u003c4.1.9||\u003e=4.2.0,\u003c4.2.1", "affected_versions": "All versions starting from 2.7.38 before 2.7.50, all versions starting from 2.8.0 before 2.8.49, all versions starting from 3.0.0 before 3.4.20, all versions starting from 4.0.0 before 4.0.15, all versions starting from 4.1.0 before 4.1.9, all versions starting from 4.2.0 before 4.2.1", "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:N/A:N", "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "cwe_ids": [ "CWE-1035", "CWE-434", "CWE-937" ], "date": "2019-05-10", "description": "When using the scalar type hint `string` in a setter method (e.g. `setName(string $name)`) of a class that\u0027s 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.", "fixed_versions": [ "2.7.50", "2.8.49", "3.4.20", "4.0.15", "4.1.9", "4.2.1" ], "identifier": "CVE-2018-19789", "identifiers": [ "CVE-2018-19789" ], "not_impacted": "All versions before 2.7.38, all versions starting from 2.7.50 before 2.8.0, all versions starting from 2.8.49 before 3.0.0, all versions starting from 3.4.20 before 4.0.0, all versions starting from 4.0.15 before 4.1.0, all versions starting from 4.1.9 before 4.2.0, all versions starting from 4.2.1", "package_slug": "packagist/symfony/form", "pubdate": "2018-12-18", "solution": "Upgrade to versions 2.7.50, 2.8.49, 3.4.20, 4.0.15, 4.1.9, 4.2.1 or above.", "title": "Unrestricted Upload of File with Dangerous Type", "urls": [ "https://symfony.com/cve-2018-19789" ], "uuid": "e255b2d0-3783-4843-8ee3-876d3aa0cb8b" }, { "affected_range": "\u003e=2.7.38,\u003c2.7.50||\u003e=2.8.0,\u003c2.8.49||\u003e=3.0.0,\u003c3.4.20 ||\u003e=4.0.0,\u003c4.0.15||\u003e=4.1.0,\u003c4.1.9||\u003e=4.2.0,\u003c4.2.1", "affected_versions": "All versions starting from 2.7.38 before 2.7.50, all versions starting from 2.8.0 before 2.8.49, all versions starting from 3.0.0 before 3.4.20, all versions starting from 4.0.0 before 4.0.15, all versions starting from 4.1.0 before 4.1.9, all versions starting from 4.2.0 before 4.2.1", "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:N/A:N", "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "cwe_ids": [ "CWE-1035", "CWE-434", "CWE-937" ], "date": "2019-05-10", "description": "When using the scalar type hint `string` in a setter method (e.g. `setName(string$name)`) of a class that\u0027s 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.", "fixed_versions": [ "2.7.50", "2.8.49", "3.4.20", "4.0.15", "4.1.9", "4.2.1" ], "identifier": "CVE-2018-19789", "identifiers": [ "CVE-2018-19789" ], "not_impacted": "All versions before 2.7.38, all versions starting from 2.7.50 before 2.8.0, all versions starting from 2.8.49 before 3.0.0, all versions starting from 3.4.20 before 4.0.0, all versions starting from 4.0.15 before 4.1.0, all versions starting from 4.1.9 before 4.2.0, all versions starting from 4.2.1", "package_slug": "packagist/symfony/symfony", "pubdate": "2018-12-18", "solution": "Upgrade to versions 2.7.50, 2.8.49, 3.4.20, 4.0.15, 4.1.9, 4.2.1 or above.", "title": "Unrestricted Upload of File with Dangerous Type", "urls": [ "https://symfony.com/cve-2018-19789" ], "uuid": "6124bbb6-707f-4428-bdd3-43f2c9dcb61b" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "2.7.50", "versionStartIncluding": "2.7.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "4.2.1", "versionStartIncluding": "4.2.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "4.1.9", "versionStartIncluding": "4.1.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "4.0.15", "versionStartIncluding": "4.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "3.4.20", "versionStartIncluding": "3.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "2.8.49", "versionStartIncluding": "2.8.0", "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2018-19789" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "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\u0027s 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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-434" } ] } ] }, "references": { "reference_data": [ { "name": "https://symfony.com/blog/cve-2018-19789-disclosure-of-uploaded-files-full-path", "refsource": "CONFIRM", "tags": [ "Patch", "Vendor Advisory" ], "url": "https://symfony.com/blog/cve-2018-19789-disclosure-of-uploaded-files-full-path" }, { "name": "FEDORA-2018-8c06b6defd", "refsource": "FEDORA", "tags": [ "Release Notes", "Third Party Advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OA4WVFN5FYPIXAPLWZI6N425JHHDSWAZ/" }, { "name": "FEDORA-2018-6edf04d9d6", "refsource": "FEDORA", "tags": [ "Release Notes", "Third Party Advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JZMRJ7VTHCY5AZK24G4QGX36RLUDTDKE/" }, { "name": "FEDORA-2018-66547a8c14", "refsource": "FEDORA", "tags": [ "Release Notes", "Third Party Advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4TD3E7FZIXLVFG3SMFJPDEKPZ26TJOW7/" }, { "name": "106249", "refsource": "BID", "tags": [ "Third Party Advisory", "VDB Entry" ], "url": "http://www.securityfocus.com/bid/106249" }, { "name": "[debian-lts-announce] 20190310 [SECURITY] [DLA 1707-1] symfony security update", "refsource": "MLIST", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00009.html" }, { "name": "DSA-4441", "refsource": "DEBIAN", "tags": [], "url": "https://www.debian.org/security/2019/dsa-4441" }, { "name": "20190510 [SECURITY] [DSA 4441-1] symfony security update", "refsource": "BUGTRAQ", "tags": [], "url": "https://seclists.org/bugtraq/2019/May/21" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "NONE", "baseScore": 5.0, "confidentialityImpact": "PARTIAL", "integrityImpact": "NONE", "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 2.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 5.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "version": "3.0" }, "exploitabilityScore": 3.9, "impactScore": 1.4 } }, "lastModifiedDate": "2019-05-10T16:29Z", "publishedDate": "2018-12-18T22:29Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…