Clickjacking
Description
The application can be embedded in malicious iframes allowing an attacker to hijack the user clicks to perform actions without the user consent.
Impact
Hijack the user clicks to execute unintended actions.
Recommendation
Set the frame-ancestors policy in the Content Security Policy using a secure configuration.
Threat
Anonymous attacker from Internet.
Expected Remediation Time
⌚ 30 minutes.
Score
Default score using CVSS 3.1. It may change depending on the context of the src.
Base
- Attack vector: N
- Attack complexity: L
- Privileges required: N
- User interaction: R
- Scope: U
- Confidentiality: N
- Integrity: L
- Availability: N
Temporal
- Exploit code madurity: H
- Remediation level: O
- Report confidence: C
Result
- Vector string: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:H/RL:O/RC:C
- Score:
- Base: 4.3
- Temporal: 4.1
- Severity:
- Base: Medium
- Temporal: Medium
Compliant code
The Content security Policy is securely configured
HTTP/1.1 200 OK
Content-Security-Policy: frame-ancestors 'none';
Non compliant code
The Content Security Policy header has an insecure configuration
HTTP/1.1 200 OK
"No CSP or X-Frame-Options directive"
Requirements
Fixes
Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.