GHSA-qm5v-pj64-852j: Passbolt/passbolt api Passbolt Api Tabnabbing When Opening Vulnerability
MODERATEGHSA-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
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).
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.
Upgrade passbolt/passbolt_api to 2.11.0
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
GHSA-qm5v-pj64-852j Affected Passbolt/passbolt api Versions
1 component(s)| 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?
Which Passbolt/passbolt api versions are affected?
What version fixes GHSA-qm5v-pj64-852j?
Is passbolt/passbolt_api affected?
What is the CVSS score of GHSA-qm5v-pj64-852j?
What CWE is associated with GHSA-qm5v-pj64-852j?
How can I check Packagist dependencies for GHSA-qm5v-pj64-852j?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}