nerdexam
GIAC

GCIH · Question #83

Which of the following is a type of computer security vulnerability typically found in Web applications that allow code injection by malicious Web users into the Web pages viewed by other users?

The correct answer is C. Cross-site scripting. Cross-site scripting (XSS) is the web application vulnerability that allows attackers to inject malicious client-side scripts into pages viewed by other users.

Web Application Attacks & Post-Exploitation

Question

Which of the following is a type of computer security vulnerability typically found in Web applications that allow code injection by malicious Web users into the Web pages viewed by other users?

Options

  • ASID filtering
  • BCookie poisoning
  • CCross-site scripting
  • DPrivilege Escalation

How the community answered

(21 responses)
  • B
    5% (1)
  • C
    90% (19)
  • D
    5% (1)

Why each option

Cross-site scripting (XSS) is the web application vulnerability that allows attackers to inject malicious client-side scripts into pages viewed by other users.

ASID filtering

SID filtering is a Windows Active Directory security feature that strips SID history attributes on cross-domain trust boundaries, unrelated to web application code injection.

BCookie poisoning

Cookie poisoning involves modifying cookie values to manipulate application behavior, but it does not inject executable code into pages viewed by other users.

CCross-site scriptingCorrect

Cross-site scripting (XSS) occurs when an application includes untrusted data in a web page without proper validation or encoding, allowing attackers to inject scripts that execute in other users' browsers. This can be used to steal session cookies, redirect users, or perform actions on behalf of the victim. XSS is classified as an injection vulnerability and consistently appears in the OWASP Top 10.

DPrivilege Escalation

Privilege escalation is the act of gaining higher access rights than originally granted, which is a different category of attack and does not involve injecting code into web pages.

Concept tested: Cross-site scripting XSS vulnerability definition

Source: https://owasp.org/www-community/attacks/xss/

Topics

#cross-site scripting#XSS#code injection#web vulnerabilities

Community Discussion

No community discussion yet for this question.

Full GCIH Practice