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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
ツール/GitHubGitHub/s3v3n-jg/cve-2026-76460
防御ツール脆弱性分析ウェブセキュリティペネトレーションテスト認証学習と教育APIセキュリティラボと実践
GitHubs3v3n-jg/cve-2026-76460

CVE-2026-76460

CVE-2026-76460の認証バイパスをシミュレートする教育用Flaskラボ。脆弱、セキュア、厳格の各モードに加え、PoCエクスプロイトスクリプトとペネトレーションテストハーネスを備えています。

リポジトリを見る
14時間38分前未レビュー

人気

すべて見る →

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

すべてのツールを探索

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

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

CVE-2026-76460

CI License: MIT

このプロジェクトは、CVE-2026-76460 に着想を得た、模擬的な認証バイパスシナリオを実演するものです。このラボは意図的に教育的かつ安全に設計されています。実際のシステムを対象とすることなく、脆弱な挙動と修正済みの挙動をシミュレートするローカルの Flask API です。

目的

このアプリケーションは、特権管理 API が認証制御なしで公開される可能性があること、そして安全な実装が未認証アクセスをどのようにブロックするかを示します。

プロジェクト構成

root@kitploit:~
flowchart LR
	Client[Local client or test harness] --> Entry[app.py]
	Entry --> Factory[security_lab.factory]
	Factory --> Mode{Lab mode}
	Mode -->|vulnerable| Open[Management users endpoint\nallows anonymous access]
	Mode -->|secure| Bearer[Bearer token validation]
	Mode -->|secure-strict| Admin[Bearer token + admin role]
	Bearer --> Result[200 or 401 response]
	Admin --> Result2[200, 401, or 403 response]
	Open --> Result3[200 response with warning]
	Factory --> Audit[Audit logger]
	Audit --> Log[audit.log]
root@kitploit:~
.
├── app.py                    # entry point for the local lab
├── build.sh                  # creates the venv, installs dependencies, and runs checks
├── run.sh                    # starts the vulnerable app locally
├── pyproject.toml            # project metadata and tool configuration
├── gunicorn.conf.py          # deployment configuration for a production-style server
├── src/
│   └── security_lab/
│       ├── __init__.py
│       ├── config.py         # lab settings and valid tokens
│       ├── audit.py          # file-based audit logger
│       └── factory.py        # Flask routes and auth logic
├── tests/
│   └── test_api.py           # regression tests for vulnerable and secure modes
├── exploit.py                # proof-of-concept route attack script
├── pentest_harness.py        # CLI verification helper
├── BUILD_GUIDE.md            # build and OS details
├── WALKTHROUGH.md            # step-by-step lab walkthrough
├── SECURITY_REPORT.md        # summary of the mock vulnerability and fix
├── CONTRIBUTING.md           # contribution workflow
├── LICENSE                   # MIT license
├── requirements.txt          # pinned dependencies
├── .env.example              # sample environment configuration
└── .github/workflows/
		└── python-tests.yml     # CI validation for push and pull requests

ローカルセットアップ

root@kitploit:~
chmod +x build.sh run.sh
./build.sh

脆弱なアプリの実行

root@kitploit:~
./run.sh

次に、以下のコマンドでテストします:

root@kitploit:~
curl -i http://127.0.0.1:5000/api/management/users

出力例

root@kitploit:~
$ curl -i http://127.0.0.1:5000/api/management/users
HTTP/1.1 200 OK
Content-Type: application/json

{
	"users": [
		{"id": 1, "username": "admin", "role": "super-admin"},
		{"id": 2, "username": "operator", "role": "operator"}
	],
	"warning": "unauthenticated access allowed"
}

エクスプロイトの概念実証

root@kitploit:~
source .venv/bin/activate
python exploit.py --host 127.0.0.1 --port 5000

CLI ペネトレーションテストハーネス

root@kitploit:~
source .venv/bin/activate
python pentest_harness.py --mode vulnerable
python pentest_harness.py --mode secure
python pentest_harness.py --mode secure-strict

期待される挙動

  • 脆弱モード: 未認証のリクエストが /api/management/users にアクセスできます。
  • セキュアモード: 同じエンドポイントは有効なベアラートークンを要求し、匿名アクセスを拒否します。
  • セキュア厳格モード: 有効な管理者トークンのみが特権エンドポイントにアクセスでき、オペレータトークンは 403 で拒否されます。

検証とリンティング

root@kitploit:~
make lint
make test

リリースとチェック

main を対象とするすべてのプッシュとプルリクエストでは、サポートされている Python バージョンで Ruff と pytest スイートが実行されます。これらのチェックが通過した後にバージョンタグをプッシュすることでリリースが作成されます:

root@kitploit:~
git tag v0.1.0
git push origin v0.1.0

タグワークフローは、生成されたリリースノートを含む GitHub Release を作成します。リリースは教育用ラボのソースとドキュメントを対象としています。実際の対象システム向けのエクスプロイト素材をパッケージ化しないでください。

重要な注意事項

これは、テスト、学習、および防御的研究のみを目的とした管理されたラボ環境です。許可なく実際のシステムに対して使用してはなりません。

ツールをダウンロード