- What is CAPEC-63?
- An adversary embeds malicious scripts in content that will be served to web browsers. The goal of the attack is for the target software, the client-side browser, to execute the script with the users' privilege level. An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute code and scripts. Web browsers, for example, have some simple security controls in place, but if a remote attacker is allowed to execute scripts (through injecting them in to user-generated content like bulletin boards) then these controls may be bypassed. Further, these attacks are very difficult for an end user to detect.
- How does a Cross-Site Scripting (XSS) attack work?
- It typically unfolds over 5 phases. It begins with: [Survey the application for user-controllable inputs] Using a browser or an automated tool, an attacker follows all public links and actions on a web site. They record all the links, the forms, the resources accessed and all other potential entry-points for the web application.
- How do you prevent CAPEC-63?
- Design: Use browser technologies that do not allow client side scripting.
- What weaknesses does CAPEC-63 target?
- CAPEC-63 exploits 2 CWE weaknesses, including CWE-20 (Improper Input Validation), CWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')).
- How severe is CAPEC-63?
- MITRE rates CAPEC-63 as Very High severity with high likelihood of attack.