Skip to main content

Reverse tabnabbing

Description

The system allows the introduction of a link to an external site controlled by a malicious actor. This site can then redirect the user to a different site in the original tab, making it look like a legitimate redirect performed by the system.

Impact

Redirect to the user to an external site controlled by a malicious actor in the tab where original site was, leading to a phishing attack.

Recommendation

Set the attribute rel with the noopener value in each external link.

Threat

Anonymous attacker from local network.

Expected Remediation Time

⌚ 15 minutes.

Score

Default score using CVSS 3.1. It may change depending on the context of the vulnerability.

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: X
  • Remediation level: O
  • Report confidence: X

Result

  • Vector string: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:X/RL:O/RC:X
  • Score:
    • Base: 4.3
    • Temporal: 4.1
  • Severity:
    • Base: Medium
    • Temporal: Medium

Code Examples

Compliant code

The rel:noopener attribute is set in all external links of the application

<a href="uncontrolledUrl" rel="noopener">Link to external web</a>

Non compliant code

Some external links are not securely set on the application

<a href="uncontrolledUrl">Link to external web</a>

Requirements