Clickjacking
Jump to:
Summary
Clickjacking is a malicious technique where an attacker tricks a user into clicking on hidden or disguised elements within a web page, leading to unintended actions such as revealing confidential information, changing settings, or executing unauthorized commands.
Key Characteristics
- Uses transparent or disguised layers to conceal malicious clickable elements.
- Exploits user interface vulnerabilities in web applications.
- Often involves framing or embedding legitimate content within malicious pages.
- Targets user interactions to perform unauthorized actions without user consent.
- Can lead to data theft, privilege escalation, or unauthorized transactions.
Defensive Controls
- Implement frame-busting techniques such as X-Frame-Options or Content Security Policy (CSP) frame-ancestors directives.
- Use user interface design best practices to prevent hidden or misleading clickable elements.
- Employ multi-factor authentication to mitigate unauthorized actions.
- Regularly update and patch web applications and browsers.
- Educate users about the risks of clicking unknown or suspicious links.
Related Security Solutions
Web Application Firewalls (WAFs) can help detect and block suspicious framing attempts. Browser security features and extensions that prevent clickjacking attacks provide additional protection. Content Security Policy (CSP) implementations and secure coding practices are essential to mitigate clickjacking risks.
More in Application Attacks