NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

GHSA-2f46-4xjm-73x5: Passbolt API Stored XSS on first/last name during setup

highCVSS 3.1 7.2

Description An administrator can craft a user with a malicious first name and last name, using a payload such as The user will then receive the invitation email and click on the setup link. The setup start page served by the server will fire the XSS. Impact of issue An administrator could use this exploit to edit the setup start page for a given user, for example, trick the user into installing another extension.

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

An administrator can craft a user with a malicious first name and last name, using a payload such as

<svg onload="confirm(document.domain)">'); ?></svg>

The user will then receive the invitation email and click on the setup link. The setup start page served by the server will fire the XSS.

Impact of issue

An administrator could use this exploit to edit the setup start page for a given user, for example, trick the user into installing another extension. Even though the severity of this issue in itself is high, the likelihood is low because the exploit will be visible in clear by the user in the email notification, and also requires an action from a malicious administrator.

Fix

Sanitize the firstname and lastname in the page that is used to trigger the extension setup process.

Additionally since v2.11 some default CSP are inserted in the server response headers to prevent inline-scripts or 3rd party domain scripts on pages served by the passbolt API. This is to cater for the case where the administrator has not set them up as part of the web server configuration.

References

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) entries