Skip to content
OpenAdvisories

Package · Hex

ash_authentication

24 known vulnerabilities.

24 results · Feed

  • Medium 6.3

    AshAuthentication log_out_everywhere leaves sessions valid after a password reset or non-atomic password change

    Improper Session Invalidation after Authentication Credential Change vulnerability in team-alembic ash_authentication allows an attacker holding a victim's session token to stay signed in after the victim resets or changes their password. With apply_on_passwo…

  • Medium 6.3

    AshAuthentication brute_force_strategy does not limit sign-in and request actions defined on the resource

    Improper Restriction of Excessive Authentication Attempts vulnerability in team-alembic ash_authentication allows an unauthenticated attacker to guess passwords and one-time passwords without limit. The password, magic link and OTP strategies enforce brute_fo…

  • High 7.6

    AshAuthentication TOTP setup lets a user install their own authenticator secret on another user's account

    Authorization Bypass Through User-Controlled Key vulnerability in team-alembic ash_authentication allows a user with an account to install a TOTP secret they control on another user's account, and then sign in as that user or hold their second factor. AshAuth…

  • High 7.4

    Session id is not renewed on authentication in ash_authentication, allowing session fixation

    Session Fixation vulnerability in team-alembic ash_authentication allows an attacker who can plant a session identifier in a victim's browser to hold an authenticated session once that victim signs in. AshAuthentication.Plug.Helpers.store_in_session/2 writes …

  • Critical 9.1

    Remember-me sign-in guard reads a session key that is never written in ash_authentication, allowing session replacement

    Authentication Bypass by Spoofing vulnerability in team-alembic ash_authentication allows an attacker who can plant a remember-me cookie in a victim's browser to replace that victim's authenticated session with one for the attacker's own account. AshAuthentic…

  • Critical 9.1

    dynamic_oidc identities are not namespaced by connection in ash_authentication, allowing cross-connection account takeover

    Authentication Bypass by Spoofing vulnerability in team-alembic ash_authentication allows an attacker who operates one identity-provider connection of a dynamic_oidc strategy to be signed in as a local user established through a different connection. The stra…

  • Critical 9.1

    OAuth2 sign-in attached to an existing account without an email comparison in AshAuthentication

    Improper Authentication vulnerability in team-alembic AshAuthentication allows an attacker to be signed in as another user by linking an OAuth2 identity to an account that is not theirs. AshAuthentication.Strategy.OAuth2.UserResolver.resolve/3 matches an exis…

  • Critical 9.1

    `require_confirmed_with` is not enforced on the action and fails open on an unreadable attribute in AshAuthentication

    Authentication Bypass by Primary Weakness vulnerability in team-alembic AshAuthentication allows an unconfirmed user to obtain a session, defeating a mandatory email confirmation requirement. AshAuthentication.Strategy.Password.Actions.check_user/2 decides wh…

  • Critical 9.1

    Revoked session accepted because the session jti is never checked in AshAuthentication and AshAuthentication Phoenix

    Insufficient Session Expiration vulnerability in team-alembic AshAuthentication and AshAuthentication Phoenix allows a revoked session to remain fully authenticated. A resource configured with session_identifier :jti and require_token_presence_for_authenticat…

  • High 7.2

    Single-use sign-in token placed in a redirect query string in AshAuthenticationPhoenix

    Use of HTTP Request With Sensitive Query String vulnerability in team-alembic AshAuthenticationPhoenix allows someone able to read access logs, proxy logs or browser history to recover a single-use sign-in token and authenticate as its owner. After a successf…

  • High 7.6

    Sign-in token minted for one resource accepted by another in AshAuthentication

    Improper Authentication vulnerability in team-alembic AshAuthentication allows an attacker holding a sign-in token for one authenticated resource to be signed in as a user of a different resource. AshAuthentication.Strategy.Password.SignInWithTokenPreparation…

  • Medium 6.9

    Token revocation record built from unverified JWT claims in AshAuthentication

    Improper Verification of Cryptographic Signature vulnerability in team-alembic AshAuthentication allows a caller of the token revocation action to neutralise a revocation or write arbitrary rows into the token resource. AshAuthentication.TokenResource.RevokeT…

  • Medium 6.3

    Log injection via an unescaped password reset identity in AshAuthentication

    Improper Output Neutralization for Logs vulnerability in team-alembic AshAuthentication allows an unauthenticated attacker to forge application log entries by submitting a password reset identity containing newlines or control characters. AshAuthentication.St…

  • Low 2.3

    Replayable OAuth2 CSRF state retained after a failed callback in AshAuthentication

    Insufficient Session Expiration vulnerability in team-alembic AshAuthentication allows an attacker who obtains a victim's OAuth2 state value to replay the callback and sign that victim into an attacker-controlled account. AshAuthentication.Strategy.OAuth2.Plu…

  • Critical 9.1

    Magic link single-use tokens replayable via TOCTOU race in AshAuthentication

    Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in team-alembic AshAuthentication allows an attacker holding a leaked magic link to replay its single-use token and authenticate as the target subject. A magic link configured with single_use_tok…

  • High 7.6

    Confirmation token accepted on any record in AshAuthentication

    Authorization Bypass Through User-Controlled Key vulnerability in team-alembic AshAuthentication allows an authenticated attacker to overwrite and confirm another user's email address, and so take over that account. A confirmation token issued to one user is …

  • High 8.2

    Superlinear base62 decoding exhausts CPU and memory in AshAuthentication API key sign-in

    Inefficient Algorithmic Complexity vulnerability in team-alembic AshAuthentication allows an unauthenticated attacker to exhaust CPU and memory via an oversized base62 segment in a submitted API key. AshAuthentication.Base.decode62/1 in lib/ash_authentication…

  • Low 1.8

    Reversible IP address pseudonymisation in AshAuthentication audit log hash mode

    Use of a One-Way Hash with a Predictable Salt vulnerability in team-alembic AshAuthentication allows readers of the audit store to recover the client IP addresses that the audit log add-on's :hash privacy mode is meant to pseudonymise. AshAuthentication.AddOn…

  • Low 1.8

    Actor record with password digest stored in AshAuthentication audit log entries

    Insertion of Sensitive Information into Log File vulnerability in team-alembic AshAuthentication allows disclosure of user password digests to readers of the audit store. The audit_log add-on builds each entry's extra_data in AshAuthentication.AddOn.AuditLog.…

  • High 7.6

    Purpose-limited JWT accepted as full bearer authentication in AshAuthentication

    Improper Authentication vulnerability in team-alembic AshAuthentication allows purpose-limited JWTs to be replayed as full bearer API credentials when a resource uses stateless bearer-token verification. The bearer-token authentication helper AshAuthenticatio…

  • Low 2.1

    Reflected XSS in AshAuthentication confirmation and magic link interaction forms

    Improper Neutralization of Input During Web Page Generation (XSS) vulnerability in team-alembic AshAuthentication allows reflected cross-site scripting via the confirmation and magic link interaction forms. When a strategy is configured with require_interacti…

  • Critical 9.2

    OAuth2/OIDC account takeover in AshAuthentication via email-based user matching

    Authentication Bypass by Spoofing vulnerability in team-alembic AshAuthentication allows account takeover of local users via OAuth2/OIDC sign-in. AshAuthentication's OAuth2 and OIDC family strategies matched the local user by email address (an upsert on the e…

  • Medium 5.3

    Ash Authentication email link auto-click account confirmation vulnerability

    Ash Authentication provides authentication for the Ash framework. The confirmation flow for account creation currently uses a GET request triggered by clicking a link sent via email. Some email clients and security tools (e.g., Outlook, virus scanners, and em…

  • Medium 6.3

    Ash Authentication has flawed token revocation checking logic in actions generated by `mix ash_authentication.install`

    Ash Authentication is an authentication framework for Elixir applications. Applications which have been bootstrapped by the igniter installer present since AshAuthentication v4.1.0 and who have used the magic link strategy _or_ are manually revoking tokens ar…