GIAC Penetration Tester (GPEN) — Question 75

How can web server logs be leveraged to perform Cross-Site Scripting (XSSI?

Answer options

Correct answer: C

Explanation

The correct answer is C because viewing web logs in a web-based console can lead to the execution of XSS payloads directly in the browser. Option A is incorrect because GUI text browsers do not execute scripts. Option B is not valid, as XSS does not necessarily make logs unreadable, and while option D mentions terminal access, it does not accurately reflect how XSS operates in a web context.