Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
POC_CVE-2026-42589 — POC_CVE-2026-42589 | Kitploit
ツール/GitHubGitHub/fineman999/poc_cve-2026-42589
脆弱性分析エクスプロイトウェブアプリケーション悪用ペネトレーションテスト学習と教育ラボと実践
GitHubfineman999/poc_cve-2026-42589

POC_CVE-2026-42589

POC_CVE-2026-42589

リポジトリを見る
133ヶ月前未レビュー

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

POC_CVE-2026-42589

CVE-2026-42589 に影響する Gotenberg のローカル再現ラボと nuclei テンプレート草案。

概要

CVE-2026-42589 は、Gotenberg における認証不要のリモートコード実行の問題であり、メタデータキーの改行インジェクションによって引き起こされます。

root@kitploit:~
POST /forms/pdfengines/metadata/write

影響を受ける Gotenberg は、ユーザー制御のメタデータキーを制御文字を拒否せずに ExifTool に転送します。JSON エスケープされた改行を含むメタデータキーは、追加の ExifTool 引数に分割される可能性があります。

このラボは以下を検証するために使用されました:

  • gotenberg/gotenberg:8.29.1 の脆弱な動作
  • gotenberg/gotenberg:8.31.0 の修正済み動作

nuclei テンプレートは、非破壊的な sleep 6 タイミングチェックのみを使用します。

参考文献

  • GitHub セキュリティ勧告: https://github.com/gotenberg/gotenberg/security/advisories/GHSA-rqgh-gxv4-6657
  • 修正リリース: https://github.com/gotenberg/gotenberg/releases/tag/v8.31.0
  • ExifTool ドキュメント: https://exiftool.org/exiftool_pod.html
ツールをダウンロード

ファイル

  • docker-compose.yml
  • docker-compose.latest.yml
  • CVE-2026-42589.yaml
  • manual_verify.py
  • sample.pdf
  • README.md

脆弱性テスト

Gotenberg 8.29.1 を起動:

root@kitploit:~
docker compose down -v
docker compose up -d
docker compose logs --tail=100 gotenberg

バージョンを確認:

root@kitploit:~
curl -s http://127.0.0.1:3000/version

手動の raw multipart タイミングチェック:

root@kitploit:~
python3 manual_verify.py http://127.0.0.1:3000

期待される脆弱性シグナル:

root@kitploit:~
HTTP/1.1 500 Internal Server Error
TOTAL_TIME=6.xs

観測された脆弱な結果:

root@kitploit:~
HTTP/1.1 500 Internal Server Error
TOTAL_TIME=6.300s
Internal Server Error

パッチ適用バージョンの確認

Gotenberg 8.31.0 を起動:

root@kitploit:~
docker compose -f docker-compose.latest.yml down -v
docker compose -f docker-compose.latest.yml up -d
docker compose -f docker-compose.latest.yml logs --tail=100 gotenberg

バージョンを確認:

root@kitploit:~
curl -s http://127.0.0.1:3000/version

同じ手動タイミングチェックを実行:

root@kitploit:~
python3 manual_verify.py http://127.0.0.1:3000

観測されたパッチ適用バージョンの結果:

root@kitploit:~
HTTP/1.1 400 Bad Request
TOTAL_TIME=0.145s
At least one PDF engine cannot process the requested metadata, while others may have failed to convert due to different issues

Nuclei

テンプレートを検証:

root@kitploit:~
nuclei -duc -validate -t CVE-2026-42589.yaml

脆弱なターゲットに対して実行:

root@kitploit:~
nuclei -duc -u http://127.0.0.1:3000 -t CVE-2026-42589.yaml

期待される動作:

  • 8.29.1: 遅延した 500 応答後に一致
  • 8.31.0: 一致なし

観測された脆弱な結果:

root@kitploit:~
[CVE-2026-42589] [http] [critical] http://127.0.0.1:3000/forms/pdfengines/metadata/write
[INF] Scan completed in 6.245907708s. 1 matches found.

観測されたパッチ適用バージョンの結果:

root@kitploit:~
[INF] Scan completed in 93.01425ms. No results found.

注意事項

  • このラボは意図的にファイル書き込み、リバースシェル、Out-of-Band コールバックを避けています。
  • テンプレートはバージョンバナーだけでなく動作を検出します。
  • 実際のターゲットは使用されていません。
  • 自分が所有する、または明示的にテストを許可されたシステムでのみ使用してください。