security: cure53 fix (#6039)
* ATH-01-001: resolve path and check start before loading blueprints
This is even less of an issue since 411ef239f6, since with that commit we only allow files that the listing returns
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* ATH-01-010: fix missing user filter for webauthn device
This prevents an attack that is only possible when an attacker can intercept HTTP traffic and in the case of HTTPS decrypt it.
* ATH-01-008: fix web forms not submitting correctly when pressing enter
When submitting some forms with the Enter key instead of clicking "Confirm"/etc, the form would not get submitted correctly
This would in the worst case is when setting a user's password, where the new password can end up in the URL, but the password was not actually saved to the user.
* ATH-01-004: remove env from admin system endpoint
this endpoint already required admin access, but for debugging the env variables are used very little
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* ATH-01-003 / ATH-01-012: disable htmlLabels in mermaid
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* ATH-01-005: use hmac.compare_digest for secret_key authentication
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* ATH-01-009: migrate impersonation to use API
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* ATH-01-010: rework
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* ATH-01-014: save authenticator validation state in flow context
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
bugfixes
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* ATH-01-012: escape quotation marks
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* add website
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* update release ntoes
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* update with all notes
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix format
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
			
			
This commit is contained in:
		@ -1,5 +1,4 @@
 | 
			
		||||
"""authentik administration overview"""
 | 
			
		||||
import os
 | 
			
		||||
import platform
 | 
			
		||||
from datetime import datetime
 | 
			
		||||
from sys import version as python_version
 | 
			
		||||
@ -34,7 +33,6 @@ class RuntimeDict(TypedDict):
 | 
			
		||||
class SystemSerializer(PassiveSerializer):
 | 
			
		||||
    """Get system information."""
 | 
			
		||||
 | 
			
		||||
    env = SerializerMethodField()
 | 
			
		||||
    http_headers = SerializerMethodField()
 | 
			
		||||
    http_host = SerializerMethodField()
 | 
			
		||||
    http_is_secure = SerializerMethodField()
 | 
			
		||||
@ -43,10 +41,6 @@ class SystemSerializer(PassiveSerializer):
 | 
			
		||||
    server_time = SerializerMethodField()
 | 
			
		||||
    embedded_outpost_host = SerializerMethodField()
 | 
			
		||||
 | 
			
		||||
    def get_env(self, request: Request) -> dict[str, str]:
 | 
			
		||||
        """Get Environment"""
 | 
			
		||||
        return os.environ.copy()
 | 
			
		||||
 | 
			
		||||
    def get_http_headers(self, request: Request) -> dict[str, str]:
 | 
			
		||||
        """Get HTTP Request headers"""
 | 
			
		||||
        headers = {}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user