🛡️ GHSA-2f46-4xjm-73x5 — passbolt-api
Description
Passbolt API Stored XSS on first/last name during setup
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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs administrative privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
GHSA-2f46-4xjm-73x5 is classified as CWE-79: Cross-site Scripting (XSS). User-supplied data is written into a page without escaping, so attacker script runs in the browser of anyone who views it.
Affected software
GHSA-2f46-4xjm-73x5 is recorded against 1 package.
- passbolt/passbolt-api (fixed in 2.11.0)
Timeline and source
Published on 20 May 2024 and last revised on 5 December 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
github.com (Web)
github.com (Web)
github.com (Package)
github.com (Web)
www.passbolt.com (Web)
Details
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| passbolt/passbolt-api | — | 2.11.0 |
References
Similar Threats
- High GHSA-cv5c-2qv5-w2m2
- Low GHSA-f5pp-pmq8-gp46
- Unknown GHSA-qm5v-pj64-852j
- Unknown GHSA-v86m-j5f7-ccwh
- Medium CVE-2024-33670
Site Security Check
Is passbolt-api part of your stack?
GHSA-2f46-4xjm-73x5 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.