GHSA-qm5v-pj64-852j: Passbolt Api Tabnabbing when opening URI with menu "Open URI in a new tab"
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…
Published May 20, 2024
Affected packages
passbolt/passbolt_api
- Ecosystem
- Composer (PHP)
- Affected
- < 2.11.0
- Fixed in
- 2.11.0
- Check
composer show passbolt/passbolt_api
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://github.com/passbolt/passbolt_api/commit/f568e113beb3134446eda9e66400d28d726ee20d
- https://github.com/FriendsOfPHP/security-advisories/blob/master/passbolt/passbolt_api/2019-08-07-3.yaml
- https://www.passbolt.com/incidents/20190807_multiple_vulnerabilities
- https://github.com/advisories/GHSA-qm5v-pj64-852j
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesGHSA-2f46-4xjm-73x5
Passbolt API Stored XSS on first/last name during setup
high7.2May 20, 2024GHSA-cv5c-2qv5-w2m2
Passbolt Api Remote code execution
high8.1May 20, 2024GHSA-f5pp-pmq8-gp46
Passbolt Api Retrieval of HTTP-only cookies
low3.7May 20, 2024GHSA-v86m-j5f7-ccwh
Passbolt Api E-mail HTML injection
medium4.4May 20, 2024CVE-2024-33670
Passbolt API allows HTML injection
medium4.3Apr 26, 2024
