脆弱性の一覧へ戻る
編集部の見出し:hMailServer:外部 DB 構成の SQL インジェクション(不達通知を経由して認証なしでも届く)
NVD の情報
SQL injection in the database layer of Progressive Robot hMailServer 6.0.0-B1 through 6.2.18, when the server uses MySQL/MariaDB or PostgreSQL, allows a remote attacker to alter SQL statements the server runs. On those two engines parameters are not bound: SQLStatement::GenerateFromCommand wrote each value into the statement's text as a quoted literal with a separate string replacement over the whole text per parameter, so a value holding the name of a parameter substituted after it had that name replaced, inside the value, by the later value with its own quotes, which ended the literal early and placed the later value in the statement as SQL. The row the server writes for each recipient of a queued message carries the recipient's address twice, so in the default configuration an authenticated user who may send mail reaches it by sending to an address of their choosing. A remote unauthenticated sender reaches the same statement through a message the server sends to the envelope sender, such as a delivery failure notice or an automatic reply, and, when greylisting or message indexing is enabled (both are off by default), through the greylisting record's envelope addresses or through the message metadata the server stores for IMAP SORT, which carries four header fields of a received message. An altered statement runs with the privileges of the server's database account; on PostgreSQL, whose client call runs every statement in the text it is given, further statements can follow it, while on MySQL/MariaDB, where one statement is run per call, the change is confined to the statement it is in. SQL Server and SQL Server Compact, where parameters are bound, are not affected.
- 公開日
- 2026-11-11
- 最終更新(NVD)
- 2026-11-17
- NVD の状態
- Deferred
- 脆弱性の種類
- CWE-89
深刻度(CVSS)
- 8.8 HighCVSS 3.1/副/評価:cve@gitlab.com
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
悪用の状況
CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。
EPSS:今後30日に悪用される推定確率 0.41%(全体の上位 64.0%、評価日 2026-11-18)
解消方法
- 解消方法の情報なし
「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。
編集部の記載(レポート掲載時)
レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。
2026-11-11 のレポートhMailServer:外部 DB 構成の SQL インジェクション(不達通知を経由して認証なしでも届く)
MySQL・MariaDB・PostgreSQL を使う構成で、値を束縛せず文字列置換で SQL を組み立てており、宛先アドレスなどの値で SQL を書き換えられる。ログインした利用者が細工した宛先へ送るだけで届き、NVD の説明では不達通知や自動応答を経由して認証なしの送信者からも届く。NVD の参照先のリリースは 6.2.19(リリースノート本文は未読)。
参照(NVD)
NVD から取得:2026-11-18T15:35:26.660Z/EPSS 評価日:2026-11-18
This product uses the NVD API but is not endorsed or certified by the NVD.
悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。