Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in goauthentik.io: GHSA-qxqc-27pr-wgc8 #3085

Closed
GoVulnBot opened this issue Aug 22, 2024 · 1 comment
Closed
Labels

Comments

@GoVulnBot
Copy link

Advisory GHSA-qxqc-27pr-wgc8 references a vulnerability in the following Go modules:

Module
goauthentik.io

Description:

Summary

Several API endpoints can be accessed by users without correct authentication/authorization.

The main API endpoints affected by this:

  • /api/v3/crypto/certificatekeypairs/<uuid>/view_certificate/
  • /api/v3/crypto/certificatekeypairs/<uuid>/view_private_key/
  • /api/v3/.../used_by/

Note that all of the affected API endpoints require the knowledge of the ID of an object, which especially for certificates is not accessible to an unprivileged user. Additionally the IDs for most objects are UUIDv4, meaning they are not easily guessable/enumerable.

Patches

authentik ...

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: goauthentik.io
      non_go_versions:
        - fixed: 2024.4.4
        - introduced: 2024.6.0-rc1
        - fixed: 2024.6.4
      vulnerable_at: 0.0.0-20240822152809-b301048a272a
summary: GoAuthentik vulnerable to Insufficient Authorization for several API endpoints in goauthentik.io
cves:
    - CVE-2024-42490
ghsas:
    - GHSA-qxqc-27pr-wgc8
references:
    - advisory: https://github.com/advisories/GHSA-qxqc-27pr-wgc8
    - advisory: https://github.com/goauthentik/authentik/security/advisories/GHSA-qxqc-27pr-wgc8
    - fix: https://github.com/goauthentik/authentik/commit/19318d4c00bb02c4ec3c4f8f15ac2e1dbe8d846c
    - fix: https://github.com/goauthentik/authentik/commit/359b343f51524342a5ca03828e7c975a1d654b11
source:
    id: GHSA-qxqc-27pr-wgc8
    created: 2024-08-22T17:01:29.657638198Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/609141 mentions this issue: data/reports: add 21 unreviewed reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants