Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2023-46249: security: fix oobe-flow reuse when akadmin is deleted (#7361) · goauthentik/authentik@ea75741

authentik is an open-source Identity Provider. Prior to versions 2023.8.4 and 2023.10.2, when the default admin user has been deleted, it is potentially possible for an attacker to set the password of the default admin user without any authentication. authentik uses a blueprint to create the default admin user, which can also optionally set the default admin users’ password from an environment variable. When the user is deleted, the initial-setup flow used to configure authentik after the first installation becomes available again. authentik 2023.8.4 and 2023.10.2 fix this issue. As a workaround, ensure the default admin user (Username akadmin) exists and has a password set. It is recommended to use a very strong password for this user, and store it in a secure location like a password manager. It is also possible to deactivate the user to prevent any logins as akadmin.

CVE
#oauth#auth

Expand Up

@@ -85,6 +85,19 @@ entries:

identifiers:

name: default-oobe-password-usable

model: authentik_policies_expression.expressionpolicy

- attrs:

expression: |

# This policy ensures that the setup flow can only be

# used one time

from authentik.flows.models import Flow, FlowAuthenticationRequirement

Flow.objects.filter(slug="initial-setup").update(

authentication=FlowAuthenticationRequirement.REQUIRE_SUPERUSER,

)

return True

id: policy-default-oobe-flow-set-authentication

identifiers:

name: default-oobe-flow-set-authentication

model: authentik_policies_expression.expressionpolicy

- attrs:

fields:

- !KeyOf prompt-field-header

Expand Down Expand Up

@@ -129,6 +142,7 @@ entries:

evaluate_on_plan: true

invalid_response_action: retry

re_evaluate_policies: false

id: binding-login

identifiers:

order: 100

stage: !KeyOf stage-default-authentication-login

Expand All

@@ -144,3 +158,8 @@ entries:

policy: !KeyOf policy-default-oobe-prefill-user

target: !KeyOf binding-password-write

model: authentik_policies.policybinding

- identifiers:

order: 0

policy: !KeyOf policy-default-oobe-flow-set-authentication

target: !KeyOf binding-login

model: authentik_policies.policybinding

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907