AnsibleFormsに保存型クロスサイトスクリプティングの脆弱性、アカウントを乗っ取られるおそれ
Summary
AnsibleFormsの6.2.1より前のバージョンには、ジョブの出力とフォームの項目がHTMLとしてエスケープされずに表示される脆弱性があります。認証済みのユーザーが細工した入力を送ると、ほかのユーザーがジョブを開いた際にスクリプトが実行され、トークンを盗まれて管理者アカウントを含むアカウントを乗っ取られるおそれがあります。修正版の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.1より前のバージョンには、ジョブの出力とフォームの項目がHTMLとしてエスケープされずに表示される脆弱性があります。認証済みのユーザーが細工した入力を送ると、ほかのユーザーがジョブを開いた際にスクリプトが実行され、トークンを盗まれて管理者アカウントを含むアカウントを乗っ取られるおそれがあります。修正版の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 stores attacker-influenceable job output that server/src/lib/common.js processes through formatOutput without HTML escaping and client/src/components/AppAnsibleOutput.vue renders through v-html. An authenticated user can submit job input that is echoed into persistent output, causing script execution when another user views the job. Additional designer-controlled HTML and expression values reach v-html in client/src/components/AppForm.vue and client/src/components/BsInputForForm.vue without sanitization. Because Content Security Policy is disabled and the JWT is stored in localStorage, script execution can steal a victim's token and take over the account, including an administrator account. This issue is fixed in version 6.2.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com