CWE-434
Kalmia through 0.2.0 contains a stored cross-site scripting vulnerability that allows read-only authenticated users to upload HTML or SVG files via the upload-file endpoint without type restrictions. Attackers can share links to files served unauthenticated through the file get route, executing JavaScript in the admin origin to steal administrator JWTs from localStorage.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-129548
CVSS 5.4/10 · ORTA · 16.11.2026
CWE: CWE-434
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 AÇIK NEDİR?
Unrestricted File Upload
Açıklama: Kalmia through 0.2.0 contains a stored cross-site scripting vulnerability that allows read-only authenticated users to upload HTML or SVG files via the upload-file endpoint without type restrictions. Attackers can share links to files served unauthenticated through the file get route, executing JavaScript in the admin origin to steal administrator JWTs from localStorage.
⚡ SALDIRI ZİNCİRİ
Saldırı adımları:
1. Upload endpoint tespit edilir.
2. PHP web shell yüklenir: shell.php
3. MIME bypass: Content-Type: image/png ile PHP dosyası gönderilir.
4. Dosya uzantısı bypass: .php.jpg, .phtml, .php5
5. Shell URL'si tespit edilip RCE sağlanır: /uploads/shell.php?cmd=id
🔧 Araçlar: Burp Suite, weevely, msfvenom (webshell generation)
🗺️ MITRE ATT&CK: T1105 (Ingress Tool Transfer), T1059
🌍 GERÇEK DÜNYA ETKİSİ
Diğer sistemlere pivot mümkün.
🛡️ ÇÖZÜM VE MİTİGASYON
→ Üretici tarafından yayınlanan yamayı uygula.
→ Yüklenen dosyaları web root dışına kaydet.
→ WAF kuralı ekle, anormal trafik için IDS alert oluştur.
⚠️ ACİLİYET
📋 Rutin güncelleme (30 gün)
────────────────────────────────────────
[Kural Tabanlı Analiz] [💡 config.json dosyasına ai_key (Claude: sk-ant-... veya Groq: gsk_...) ekleyerek gerçek AI analizi kullanabilirsiniz]
[⚠️ AI key mevcut ancak istek başarısız — kural tabanlı analiz kullanıldı]