Publish GHSA-qxqc-27pr-wgc8

This commit is contained in:
advisory-database[bot]
2024-08-22 16:40:58 +00:00
parent 29580f5fe5
commit 0001d9ebaa
@@ -0,0 +1,88 @@
{
"schema_version": "1.4.0",
"id": "GHSA-qxqc-27pr-wgc8",
"modified": "2024-08-22T16:39:25Z",
"published": "2024-08-22T16:39:25Z",
"aliases": [
"CVE-2024-42490"
],
"summary": "GoAuthentik vulnerable to Insufficient Authorization for several API endpoints",
"details": "### Summary\n\nSeveral API endpoints can be accessed by users without correct authentication/authorization.\n\nThe main API endpoints affected by this:\n\n- `/api/v3/crypto/certificatekeypairs/<uuid>/view_certificate/`\n- `/api/v3/crypto/certificatekeypairs/<uuid>/view_private_key/`\n- `/api/v3/.../used_by/`\n\nNote 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.\n\n### Patches\n\nauthentik 2024.4.4, 2024.6.4 and 2024.8.0 fix this issue.\n\n### Workarounds\n\nAccess to the API endpoints can be blocked at a Reverse-proxy/Load balancer level to prevent this issue from being exploited.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Email us at [security@goauthentik.io](mailto:security@goauthentik.io)\n",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:H/SC:H/SI:N/SA:H"
}
],
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "goauthentik.io"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2024.6.0-rc1"
},
{
"fixed": "2024.6.4"
}
]
}
]
},
{
"package": {
"ecosystem": "Go",
"name": "goauthentik.io"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2024.4.4"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/goauthentik/authentik/security/advisories/GHSA-qxqc-27pr-wgc8"
},
{
"type": "WEB",
"url": "https://github.com/goauthentik/authentik/commit/19318d4c00bb02c4ec3c4f8f15ac2e1dbe8d846c"
},
{
"type": "WEB",
"url": "https://github.com/goauthentik/authentik/commit/359b343f51524342a5ca03828e7c975a1d654b11"
},
{
"type": "PACKAGE",
"url": "https://github.com/goauthentik/authentik"
}
],
"database_specific": {
"cwe_ids": [
"CWE-863"
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2024-08-22T16:39:25Z",
"nvd_published_at": null
}
}