GHSA-ggf6-638m-vqmg

Suggest an improvement
Source
https://github.com/advisories/GHSA-ggf6-638m-vqmg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-ggf6-638m-vqmg/GHSA-ggf6-638m-vqmg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-ggf6-638m-vqmg
Aliases
Published
2022-09-15T03:34:21Z
Modified
2024-08-21T16:28:50.880299Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Netmaker vulnerable to Insufficient Granularity of Access Control
Details

Impact

Improper Authorization functions leads to non-privileged users running privileged API calls. If you have added users to your Netmaker platform who whould not have admin privileges, they could use their auth token to run admin-level functions via the API.

In addition, differing response codes based on function calls allowed non-users to potentially brute force the determination of names of networks on the system.

Patches

This problem has been patched in v0.15.1. To apply:

  1. docker-compose down
  2. docker pull gravitl/netmaker:v0.15.1
  3. docker-compose up -d

For more information

If you have any questions or comments about this advisory:

Email us at info@netmaker.io This vulnerability was brought to our attention by @tweidinger

Database specific
{
    "nvd_published_at": "2022-09-09T20:15:00Z",
    "cwe_ids": [
        "CWE-1220",
        "CWE-285"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-09-15T03:34:21Z"
}
References

Affected packages

Go / github.com/gravitl/netmaker

Package

Name
github.com/gravitl/netmaker
View open source insights on deps.dev
Purl
pkg:golang/github.com/gravitl/netmaker

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.15.1