GHSA-qm5v-pj64-852j: Passbolt/passbolt api Passbolt Api Tabnabbing When Opening Vulnerability

MODERATE
CVSS 5.5
CWE-657
Published
Advisory Summary

GHSA-qm5v-pj64-852j is a MODERATE (CVSS 5.5) passbolt api tabnabbing when opening vulnerability (CWE-657: Violation of Secure Design Principles) affecting Passbolt/passbolt api libraries in the Packagist ecosystem. The issue involves passbolt api tabnabbing when opening uri with menu "open uri in a new tab". Remediation is available by upgrading affected packages to version 2.11.0.

GHSA-qm5v-pj64-852j at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-qm5v-pj64-852j
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-657: Violation of Secure Design Principles
Affected Product Passbolt/passbolt api
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix GHSA-qm5v-pj64-852j

To remediate this vulnerability, upgrade all affected Passbolt/passbolt api dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

passbolt/passbolt_api fixed: 2.11.0
Upgrade passbolt/passbolt_api to 2.11.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for passbolt/passbolt_api

How to Check if You Are Affected

To determine whether your application is affected by GHSA-qm5v-pj64-852j, inspect your project dependencies for Passbolt/passbolt api:

inspect dependencies for passbolt/passbolt_api

Analyze the terminal output to locate any version of Passbolt/passbolt api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.11.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-657: Violation of Secure Design Principles, where the product violates well-established principles for secure design. In Passbolt/passbolt api, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Description A user could create and share a resource with a malicious URI. When the victim opens with menu “Open URI in a new tab” function, the malicious page has access to the window.opener object. ### Impact of issue The newly opened malicious page can for example change the window.opener.location to redirect the user to a phishing page, or call a JavaScript function served by the AppJS on the user behalf for example to try to affect the integrity of the data. ### Fix The code that opens a new window via window.open(); now open the tab with the noopener attribute.

GHSA-qm5v-pj64-852j Affected Passbolt/passbolt api Versions

1 component(s)
Fixed Versions:
2.11.0
Product / Package Ecosystem Affected Versions Fixed Version
passbolt/passbolt_api
Packagist
< 2.11.0
2.11.0

References

Frequently Asked Questions

What is GHSA-qm5v-pj64-852j?
GHSA-qm5v-pj64-852j is a security vulnerability in Passbolt/passbolt api involving Passbolt Api Tabnabbing when opening URI with menu "Open URI in a new tab" under CWE-657: Violation of Secure Design Principles.
Which Passbolt/passbolt api versions are affected?
Affected versions include releases prior to 2.11.0 across affected packages: passbolt/passbolt_api.
What version fixes GHSA-qm5v-pj64-852j?
Upgrading to 2.11.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is passbolt/passbolt_api affected?
Yes, passbolt/passbolt_api is affected in releases prior to 2.11.0. Upgrade your dependency to 2.11.0 or later.
What is the CVSS score of GHSA-qm5v-pj64-852j?
GHSA-qm5v-pj64-852j has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L.
What CWE is associated with GHSA-qm5v-pj64-852j?
GHSA-qm5v-pj64-852j is classified under CWE-657: Violation of Secure Design Principles (The product violates well-established principles for secure design.).
How can I check Packagist dependencies for GHSA-qm5v-pj64-852j?
Run the dependency tree command: 'inspect dependencies for passbolt/passbolt_api'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qm5v-pj64-852j",
  "modified" : "2024-05-20T17:09:57Z",
  "published" : "2024-05-20T17:09:57Z",
  "aliases" : [ ],
  "summary" : "Passbolt Api Tabnabbing when opening URI with menu \"Open URI in a new tab\"",
  "details" : "### Description\nA user could create and share a resource with a malicious URI. When the victim opens with menu “Open URI in a new tab” function, the malicious page has access to the window.opener object.\n\n### Impact of issue\nThe newly opened malicious page can for example change the window.opener.location to redirect the user to a phishing page, or call a JavaScript function served by the AppJS on the user behalf for example to try to affect the integrity of the data.\n\n### Fix\nThe code that opens a new window via window.open(); now open the tab with the noopener attribute.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "passbolt/passbolt_api"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.11.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/passbolt/passbolt_api/commit/f568e113beb3134446eda9e66400d28d726ee20d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/passbolt/passbolt_api/2019-08-07-3.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/passbolt/passbolt_api"
  }, {
    "type" : "WEB",
    "url" : "https://www.passbolt.com/incidents/20190807_multiple_vulnerabilities"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-657" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-20T17:09:57Z",
    "nvd_published_at" : null
  }
}