GHSA-f5pp-pmq8-gp46

Suggest an improvement
Source
https://github.com/advisories/GHSA-f5pp-pmq8-gp46
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-f5pp-pmq8-gp46/GHSA-f5pp-pmq8-gp46.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-f5pp-pmq8-gp46
Published
2024-05-20T16:51:24Z
Modified
2024-12-05T05:39:55.786822Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Passbolt Api Retrieval of HTTP-only cookies
Details

Passbolt uses three cookies: a session cookie, a CSRF protection cookie and a cookie to keep track of the multiple-factor authentication process.

Both the session cookie and the mfa cookie are properly set HTTP-only to prevent an attacker from retrieving the content of those cookies if they managed to exploit an XSS.

The /auth/verify.json endpoint returns a JSON that, among other things, contains the cookies sent in the request. (similar to the TRACE HTTP method)

An attacker who manages to leverage an XSS vulnerability could retrieve the session cookies of a legitimate user, effectively granting them the ability to retrieve information (such as encrypted password list or group list) without requiring user interaction.

This vulnerability has a low impact, but no immediate risk due to it requiring the exploitation of an XSS vulnerability that has yet to be found.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-209"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-20T16:51:24Z"
}
References

Affected packages

Packagist / passbolt/passbolt_api

Package

Name
passbolt/passbolt_api
Purl
pkg:composer/passbolt/passbolt_api

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.0

Affected versions

v1.*

v1.0.5
v1.0.6
v1.0.7
v1.0.8
v1.0.9
v1.0.10
v1.0.11
v1.0.12
v1.0.13
v1.0.14
v1.1.0
v1.2.0
v1.2.1
v1.3.0
v1.3.1
v1.3.2
v1.4.0
v1.5.1
v1.6.0
v1.6.1
v1.6.2
v1.6.3
v1.6.4
v1.6.5
v1.6.9
v1.6.10

v2.*

v2.0.0-rc1
v2.0.0-rc2
v2.0.0
v2.0.1
v2.0.2
v2.0.3
v2.0.4
v2.0.5
v2.0.7
v2.0.8
v2.1.0
v2.1.1
v2.2.0
v2.3.0
v2.4
v2.5.0
v2.5.1
v2.6.0
v2.6.1