![gcp-cherry-pick-bot[bot]](/assets/img/avatar_default.png) dd8f809161
			
		
	
	dd8f809161
	
	
	
		
			
			security: fix CVE-2024-47070 (#11536) * security: fix CVE-2024-47070 * Update website/docs/security/CVE-2024-47070.md --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io> Signed-off-by: Jens L. <jens@beryju.org> Co-authored-by: Jens L. <jens@goauthentik.io> Co-authored-by: Tana M Berry <tanamarieberry@yahoo.com>
		
			
				
	
	
		
			32 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # CVE-2024-42490
 | |
| 
 | |
| _Reported by [@m2a2](https://github.com/m2a2)_
 | |
| 
 | |
| ## Insufficient Authorization for several API endpoints
 | |
| 
 | |
| ### 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 [security@goauthentik.io](mailto:security@goauthentik.io)
 |