hMailServerでドメイン制限を回避され他テナントのメール経路を書き換えられる
Summary
hMailServer 6.0.0から6.3.6の管理API(REST・COM)に認可の不備があり、認証済みの利用者が割り当てられたドメインの外まで、メールの経路やドメイン設定を変更できます。マルチテナント環境では他のテナント宛てのメールが迷惑を受けるおそれがあります。最新の情報を確認してください。
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.0.0から6.3.6の管理API(REST・COM)に認可の不備があり、認証済みの利用者が割り当てられたドメインの外まで、メールの経路やドメイン設定を変更できます。マルチテナント環境では他のテナント宛てのメールが迷惑を受けるおそれがあります。最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Progressive Robot LtdhMailServer |
6.0.0 – 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.
Missing authorization in the REST and COM administration APIs of Progressive Robot hMailServer 6.0.0 through 6.3.6 allows a remote authenticated user whose credential is confined to named domains to change mail routing and domain configuration beyond those domains on a multi-tenant server. A domain administrator, an account or API key given another role that manages accounts in named domains, or a full-scope API key issued for named domains could create a domain alias for any name (so that other tenants' mail for that name is diverted to an address the attacker controls, or denied), rename a domain to any name the server does not host, set a rule's bind-to-address, send-using-route or script-function action to reach one of the server's own addresses, a configured route's stored credentials or a function of the server's event script, and set the domain's relay host - which delivery then connects to with no address rule - to an address on the server's own network; and over the COM API any account could set the three rule actions on its own rules, where the script-function action runs at delivery. The authorization gate did not refuse these routes to a confined credential and the handlers were not given the caller; over COM the domain-alias save performed no authorization check at all, the domain rename required only a domain administrator, and a rule save required at most that the caller could change the rule's owner.
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