QuestionQ73Verified/Enterprise System Penetration TestingCopy linkReport a problemAsk AstroTutorSave questionHow may web server logs be leveraged to carry out Cross-Site Scripting (XSSI?AWeb logs containing XSS may execute shell scripts when opened In a GUI textbrowserBXSS attacks cause web logs to become unreadable and therefore are an effective DOS attack.CIf web logs are viewed in a web-based console, log entries containing XSS mayexecute on the browser.DWhen web logs are viewed in a terminal. XSS can escape to the shell and executecommands.Show AnswerAnswerExplanationAttacker-controlled text recorded in web server logs can contain script payloads. A web-based log viewer that renders those entries without proper output encoding can execute the payload in the viewer’s browser.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion