NVD Vulnerability Detail
Search Exploit, PoC
CVE-2018-19789
Summary

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.

Publication Date Dec. 19, 2018, 7:29 a.m.
Registration Date March 1, 2021, 7:14 p.m.
Last Update Nov. 21, 2024, 12:58 p.m.
CVSS3.0 : MEDIUM
スコア 5.3
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I) なし
可用性への影響(A) なし
CVSS2.0 : MEDIUM
Score 5.0
Vector AV:N/AC:L/Au:N/C:P/I:N/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I) なし
可用性への影響(A) なし
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* 4.2.0 4.2.1
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* 4.1.0 4.1.9
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* 4.0.0 4.0.15
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* 3.0.0 3.4.20
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* 2.8.0 2.8.49
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* 2.7.0 2.7.50
Configuration2 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Symfony における危険なタイプのファイルの無制限アップロードに関する脆弱性
Title Symfony における危険なタイプのファイルの無制限アップロードに関する脆弱性
Summary

Symfony には、危険なタイプのファイルの無制限アップロードに関する脆弱性が存在します。

Possible impacts 情報を取得される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Nov. 21, 2018, midnight
Registration Date Feb. 14, 2019, 4:38 p.m.
Last Update Feb. 14, 2019, 4:38 p.m.
Affected System
Sensio Labs
Symfony 2.7.50 未満の 2.7.x
Symfony 2.8.49 未満の 2.8.x
Symfony 3.4.20 未満の 3.x
Symfony 4.0.15 未満の 4.0.x
Symfony 4.1.9 未満の 4.1.x
Symfony 4.2.1 未満の 4.2.x
Symfony 2.7.50 未満の 2.7.x
Symfony 2.8.49 未満の 2.8.x
Symfony 3.4.20 未満の 3.x
Symfony 4.0.15 未満の 4.0.x
Symfony 4.1.9 未満の 4.1.x
Symfony 4.2.1 未満の 4.2.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
Change Log
No Changed Details Date of change
1 [2019年02月14日]
  掲載
Feb. 14, 2019, 4:38 p.m.
1 [2019年02月14日]
  掲載
Feb. 14, 2019, 4:38 p.m.