hMailServerで認可不備、管理者権限を奪取される恐れ
Summary
hMailServer 6.3.4から6.3.6では、REST管理APIの認可の不備により、一部ドメインの管理権限を持つ認証済みユーザーがサーバー管理者の権限を取得できる問題が見つかっています。影響を受ける版をお使いの場合は、最新の情報を確認してください。
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.
hMailServer 6.3.4から6.3.6では、REST管理APIの認可の不備により、一部ドメインの管理権限を持つ認証済みユーザーがサーバー管理者の権限を取得できる問題が見つかっています。影響を受ける版をお使いの場合は、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Progressive Robot LtdhMailServer |
6.3.4 – 6.3.6→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Incorrect authorization in the REST administration API of Progressive Robot hMailServer 6.3.4 through 6.3.6 allows a remote authenticated user whose credential holds the manage_roles permission in named domains - a full-scope API key issued for those domains, or an account assigned the serveradmin role with a list of domains - to obtain the server administrator's authority. An account's admin level gives it authority, and a role assigned to it replaces that authority, which is how an administrator narrows an account whose admin level is the server administrator's. The route that takes a role away (DELETE /api/v1/role-assignments/{address}) checked only that the credential takes in what the account held at the time, not what it would hold afterwards, so such a credential could take a narrowing role away from an account in its domains whose admin level is the server administrator's, returning it to the server administrator's authority, and, having set that account's password while it held the narrower role, sign in as the server administrator.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package gitlab.com
- web gitlab.com
- web gitlab.com
- web github.com