Skip to content

Missing Anti-clickjacking Header #13

Description

@MDDAIEXPOSER

Bug Type

Security

Reproduction steps

  1. Kali Linux
  2. ProxyZap
  3. The response does not include either Content-Security-Policy with 'frame-ancestors' directive or X-Frame-Options to protect against 'ClickJacking' attacks.
  4. Open Burp
  5. Proxy
  6. Burp is testing CLICKJAKE
  7. Success...
    2022-09-19
    2022-09-20 (1)
    2022-09-20

Actual result

CWE 2021
The web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain, which can lead to user confusion about which interface the user is interacting with.

Expected result

The use of frames-ancestors of the Content Security Policy, a kind of successor to the X-Frame-Options header, which prohibits the use of frames in other dangerous viruses. Another way to protect against clickjacking is to simply have code that uses the highest level UI frame.

Suggested Severity

Medium

Device

Desktop (please complete the following information):

  • Windows/Kali Linux
  • Edge/Chrome

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions