-
-
Notifications
You must be signed in to change notification settings - Fork 977
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security: fix CVE-2024-42490 (#11022) CVE-2024-42490 Signed-off-by: Jens Langhammer <[email protected]> Co-authored-by: Jens L. <[email protected]>
- Loading branch information
1 parent
b727656
commit 359b343
Showing
7 changed files
with
101 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# CVE-2024-42490 | ||
|
||
_Reported by [@m2a2](https://github.com/m2a2)_ | ||
|
||
## Improper Authorization for Token modification | ||
|
||
### 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 2024.4.4, 2024.6.4 and 2024.8.0 fix this issue. | ||
|
||
### Workarounds | ||
|
||
Access to the API endpoints can be blocked at a Reverse-proxy/Load balancer level to prevent this issue from being exploited. | ||
|
||
### For more information | ||
|
||
If you have any questions or comments about this advisory: | ||
|
||
- Email us at [[email protected]](mailto:[email protected]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters