CWE-434
Unrestricted file upload vulnerability in the CSV file upload functionality of the Ocsreports admin_info endpoint. The application validates files solely based on the name provided by the client, without properly checking their content or securely restricting the permitted file types. This allows a user with administrator privileges to upload PHP files to a directory accessible via the web interface. If the file is subsequently processed by the server, an attacker could execute arbitrary code with the privileges of the account used by the web service.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-76174
CVSS 0/10 · BELİRSİZ · 03.09.2026
CWE: CWE-434
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 AÇIK NEDİR?
Unrestricted File Upload
Açıklama: Unrestricted file upload vulnerability in the CSV file upload functionality of the Ocsreports admin_info endpoint. The application validates files solely based on the name provided by the client, without properly checking their content or securely restricting the permitted file types. This allows a user with administrator privileges to upload PHP files to a directory accessible via the web inte…
⚡ 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İ
🛡️ ÇÖ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
📌 Düşük öncelik — rutin güncelleme yeterli.
────────────────────────────────────────
[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ı]