GHSA-q5vh-6whw-x745

Suggest an improvement
Source
https://github.com/advisories/GHSA-q5vh-6whw-x745
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-q5vh-6whw-x745/GHSA-q5vh-6whw-x745.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-q5vh-6whw-x745
Aliases
Published
2021-08-13T20:16:32Z
Modified
2024-10-07T17:02:03.554459Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L CVSS Calculator
  • 9.5 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L CVSS Calculator
Summary
Improper Authorization and Origin Validation Error in OneFuzz
Details

Impact

Starting with OneFuzz 2.12.0 or greater, an incomplete authorization check allows an authenticated user from any Azure Active Directory tenant to make authorized API calls to a vulnerable OneFuzz instance.

To be vulnerable, a OneFuzz deployment must be: * Version 2.12.0 or greater * Deployed with the non-default --multi_tenant_domain option

This can result in read/write access to private data such as: * Software vulnerability and crash information * Security testing tools * Proprietary code and symbols

Via authorized API calls, this also enables tampering with existing data and unauthorized code execution on Azure compute resources.

Patches

This issue is resolved starting in release 2.31.0, via the addition of application-level check of the bearer token's issuer against an administrator-configured allowlist.

Workarounds

Users can restrict access to the tenant of a deployed OneFuzz instance < 2.31.0 by redeploying in the default configuration, which omits the --multi_tenant_domain option.

References

You can find an overview of the Microsoft Identity Platform here. This vulnerability applies to the multi-tenant application pattern, as described here.

For more information

If you have any questions or comments about this advisory: * Open an issue in OneFuzz * Email us at fuzzing@microsoft.com

Database specific
{
    "nvd_published_at": "2021-08-13T21:15:00Z",
    "cwe_ids": [
        "CWE-285",
        "CWE-346",
        "CWE-863"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-13T20:16:08Z"
}
References

Affected packages

PyPI / onefuzz

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.12.0
Fixed
2.31.0

Affected versions

2.*

2.12.0
2.13.0
2.14.0
2.15.0
2.16.0
2.17.0
2.18.0
2.19.0
2.20.0
2.21.0
2.22.0
2.23.0
2.23.1
2.24.0
2.25.0
2.25.1
2.26.0
2.26.1
2.27.0
2.28.0
2.29.0
2.29.1
2.30.0