AnsibleFormsに認証回避の脆弱性、6.2.1で修正
Summary
AnsibleForms 6.2.0以前では、ACCESS_TOKEN_SECRETを設定していないと、認証なしで管理者として操作できる脆弱性があります。6.2.1へ更新し、この環境変数に独自の値を設定してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
AnsibleForms 6.2.0以前では、ACCESS_TOKEN_SECRETを設定していないと、認証なしで管理者として操作できる脆弱性があります。6.2.1へ更新し、この環境変数に独自の値を設定してください。
Original description The description as published by the source.
AnsibleForms is a self-hosted web application that turns automation into self-service forms. Prior to 6.2.1, AnsibleForms uses a public hard-coded fallback JWT signing secret from server/config/auth.config.js when ACCESS_TOKEN_SECRET is unset. An unauthenticated attacker can sign a self-contained token with privileged claims because server/src/auth/auth_jwt.js verifies the signature without reloading the user from the database, and server/src/lib/middleware.js trusts the token's roles and options for authorization. A forged token can therefore be accepted as an administrator session, resulting in authentication bypass and full privileged API access. This issue is fixed in version 6.2.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com