hMailServerで権限を制限した管理者が全ドメインを管理できてしまう脆弱性
Summary
hMailServer 6.3.4から6.3.6のCOM管理APIには認可の不備があり、ドメインを限定して付与された serveradmin 権限のアカウントでサーバー全体の管理者として振る舞えます。全ドメインのアカウントやメールの閲覧・変更、サーバー設定の書き換えなどが可能になります。修正版の情報は、最新の情報を確認してください。
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のCOM管理APIには認可の不備があり、ドメインを限定して付与された serveradmin 権限のアカウントでサーバー全体の管理者として振る舞えます。全ドメインのアカウントやメールの閲覧・変更、サーバー設定の書き換えなどが可能になります。修正版の情報は、最新の情報を確認してください。
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 COM administration API of Progressive Robot hMailServer 6.3.4 through 6.3.6 allows an account assigned the serveradmin role with a list of domains - a credential an administrator may create meaning to confine it to those domains - to act as the whole-server administrator over COM. Administrator roles are meant to confine such a credential to the domains its list names, and the REST API did not take it for the server administrator, but the COM API's server-administrator check read the administer_server permission as the whole server whatever list the grant carried. So the credential signed in through the Control Panel, or through a script run on the server, as the server administrator of every domain: it could read and change every domain's accounts and mail, rename any domain, map a domain alias onto any, write the server's settings and secrets, and create further server-administrator accounts. The COM API's domain-administrator check, asked with no domain, likewise let an account assigned the domainadmin role with a list of domains that leaves out the account's own domain administer that domain's ordinary accounts over COM. An account holding serveradmin with no list is the server administrator by design and is unaffected, as are the help desk, auditor and custom roles.
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