Stirling-PDF's POST /api/v1/convert/url/pdf endpoint (ConvertWebsiteToPDF.java) was not updated...
概要
Stirling-PDF's POST /api/v1/convert/url/pdf endpoint (ConvertWebsiteToPDF.java) was not updated...
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Stirling-PDF's POST /api/v1/convert/url/pdf endpoint (ConvertWebsiteToPDF.java) was not updated with the CustomHtmlSanitizer/SsrfProtectionService SSRF protections that were added to three sibling conversion endpoints (html/pdf, file/pdf, markdown/pdf). The endpoint validates only that the initial requested URL resolves to a public IP, then fetches the page's HTML server-side and hands it, unsanitized, to a WeasyPrint subprocess. Embedded resource references in the fetched HTML (e.g. ``) are fetched by WeasyPrint with no per-resource SSRF filtering, allowing an attacker-controlled page to cause the server to retrieve cloud metadata endpoints or internal network resources and leak their contents back into the generated PDF.
出典: NIST National Vulnerability Database NVD GitHub Advisory
AI要約
外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Stirling-PDFのエンドポイントPOST /api/v1/convert/url/pdfにSSRF保護が適用されておらず、攻撃者がサーバー側でクラウドメタデータや内部ネットワークリソースにアクセスできる可能性があります。
Stirling-PDFのPOST /api/v1/convert/url/pdfエンドポイントがSSRF保護を欠いています。
Stirling-PDFのエンドポイント (ConvertWebsiteToPDF.java)
攻撃者がクラウドメタデータや内部ネットワークリソースにアクセスし、機密情報を漏洩させる可能性があるため重要です。
CustomHtmlSanitizerとSsrfProtectionServiceでエンドポイントを保護してください。
影響を受けるエンドポイントを一時的に無効化することで回避可能です。
SSRFフィルタリングが適用されていないことをログやコードレビューで確認します。
参照URL
- web github.com
- web nvd.nist.gov
- web github.com