Symfony: The Serializer Builds UploadedFile Objects From Request Data, Letting a Client Point an Upload at Any Server File
CVSS Skor
8.4
EPSS İhtimal
%0.6
Risk Skoru
0.0
Yayın
1 gün önce
Kanıt listesindeki ürün ve sürüm eşleşmesini kontrol edin; bazı varyantlar hâlâ etkileniyor olabilir.
Envanterimdeki Etkisi
Yalnızca hesabınıza eklediğiniz kişisel ürünler değerlendirilir; kurumsal envanter burada görünmez.
Oturum kontrol ediliyor…
Zafiyet Açıklaması
DayBreach AI Açıklaması
Kaynakla doğrulandıOkunan kaynak
1
Kaynak uyumu
Tam uyum
Kanıt güveni
%55
Kısa açıklama
Symfony Serializer bileşeni, ObjectNormalizer'ın saldırgan kontrollü verilerle UploadedFile nesneleri oluşturmasına izin vererek sunucudaki herhangi bir dosyanın yüklenen bir dosya olarak işlenmesine neden olur.
Kimliği doğrulanmamış tek bir istek, sunucuda okunabilen herhangi bir dosyanın ifşa edilmesine veya taşınmasına yol açabilir.
Ne yapılmalı?
- Symfony satıcısının yayınladığı güvenlik danışmanlığını takip ederek güncellemeleri uygulayın
- 5.4.56, 6.4.50, 7.4.23 veya 8.1.11 ve üzeri sürümlere yükseltme yapın
Kanıt zinciri ve kaynaklar
Symfony sürümleri 5.4.56, 6.4.50, 7.4.23 ve 8.1.11 öncesinde savunmasızdır.
ObjectNormalizer, saldırgan kontrollü verilerle UploadedFile nesneleri oluşturur.
Kaynaklardaki teknik metni göster
The Symfony Serializer component DataUriNormalizer handles only the exact types SplFileInfo, SplFileObject, and File, so for a property typed with a subclass such as UploadedFile, ObjectNormalizer instantiates the object through its constructor from attacker-controlled data, including the file path. This allows an arbitrary file on the server to be treated as an uploaded file in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. A request body such as {"image": {"path": "/path/to/project/.env.local", "originalName": "a.png", "test": true}} makes the application handle any file on the server as an upload, without the file being sent. With test: true, UploadedFile::isValid() skips is_uploaded_file() and move() falls back to rename(). Assert\File does not prevent this because it validates the file at the attacker-chosen path, which exists on the server. Any code that deserializes untrusted data into a type that holds such a property is affected. That includes #[MapRequestPayload] on a DTO with an UploadedFile property, which is how uploads are mapped in Symfony 8.1; a single unauthenticated request with a JSON or form body is enough. Depending on what the application does with the upload, this can expose any file readable by PHP (for instance, when uploads are stored and served back), move any such file when move() is called, and reveal whether a path exists. A serializer built without DataUriNormalizer ahead of the object normalizer is not protected by the fix; the serializer configured by FrameworkBundle is.
CVSS vektörü: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N
CWE: CWE-73
Açıklama kaynak kayıtlardan otomatik derlendi. Puanlar, aktif sömürü, yama ve exploit durumları doğrudan kaynaklardan gelir.
IMPACT — Etkilenen Ürünler ve Yazılımlar
Affected Products
The following products are affected by CVE-2026-118515 vulnerability. Even if our threat engine is aware of the exact versions of the products that are affected, the information is represented below.
| ID | VENDOR | PRODUCT | ACTION |
|---|---|---|---|
| 1 | sensiolabs | symfony | İncele |
| 2 | debian | symfony (sid) | İncele |
| 3 | debian | symfony (forky) | İncele |
| 4 | debian | symfony (trixie) | İncele |
| 5 | debian | symfony (bookworm) | İncele |
| 6 | Ubuntu | symfony (xenial) | İncele |
| 7 | Ubuntu | symfony (bionic) | İncele |
| 8 | Ubuntu | symfony (focal) | İncele |
| 9 | Ubuntu | symfony (jammy) | İncele |
| 10 | Ubuntu | symfony (noble) | İncele |
| 11 | Ubuntu | symfony (resolute) | İncele |
| 12 | Ubuntu | symfony (stonking) | İncele |
| 13 | Ubuntu | symfony (upstream) | İncele |
RED HAT CSAF/VEX — Ürün Etki Kontrolü
SCORING — CVSS Çoklu Kaynak Skoru
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from various sources for each CVE.
| SCORE | VERSION | SEVERITY | VECTOR | SOURCE |
|---|---|---|---|---|
| 8.4 | CVSS V40 | HIGH | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD |
| 8.4 | CVSS V4_0 | HIGH | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N | CVE CNA |
Yama ve İyileştirme Rehberi (Solution)
Solution & Remediation Advisory
6 düzeltme kanıtı bulundu; en az 10 ürün veya sürüm hâlâ etkileniyor ya da inceleniyor.
7.4.23+dfsg-1Ubuntu upstream: 7.4.23+dfsg-1
7.4.23+dfsg-1Debian sid: 7.4.23+dfsg-1
Public exploit ve aktif sömürü durumu
Doğrulanmış exploit istihbaratı
Bu CVE için henüz doğrulanmış public PoC, exploit repository’si veya Metasploit modülü bulunamadı.
Zafiyet Dağılımı ve Saldırı Kalıpları (CWE & CAPEC)
CWE - Common Weakness Enumeration
While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-118515 is associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-118515 weaknesses.
Saldırı Vektörü ve Erişilebilirlik Karakteristiği
Resmi Kaynaklar ve Danışma Bültenleri
CVSS Vektör Radar Grafiği
8.4 / 10Vulnerability Scoring Details
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:NKısmi yama
Zafiyet Türü (CWE & CAPEC)
İlgili Benzer Açıklar
Bu açığı API ile alın
Etkilenen ürünler, sürüm aralıkları, istismar durumu ve yama bilgisi tek istekte; ücretsiz anahtarla.
curl -H "x-api-key: $DAYBREACH_API_KEY" \ "https://api.daybreach.dev/api/v1/intel/cves/CVE-2026-118515"