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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2026-77635 — CVE-2026-77635の開示パックとPython PoC。PostgresDriver使用時のCakePHPのjsonValue()における未認証SQLインジェクションで、ループバックDockerラボを含みます。 | Kitploit
ツール/GitHubGitHub/abraxas/cve-2026-77635
脆弱性スキャナー脆弱性分析エクスプロイトウェブアプリケーション悪用ウェブセキュリティペネトレーションテストデータベースセキュリティラボと実践
GitHubabraxas/cve-2026-77635

CVE-2026-77635

CVE-2026-77635の開示パックとPython PoC。PostgresDriver使用時のCakePHPのjsonValue()における未認証SQLインジェクションで、ループバックDockerラボを含みます。

リポジトリを見る
11日前未レビュー

人気

すべて見る →

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

すべてのツールを探索

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

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

Abraxas Labs — CVE-2026-77635

abraxaslabs.tech  ·  github.com/abraxas  ·  @abraxas_null  ·  CVE-2026-77635

CVE-2026-77635

CakePHP 5.2.13 — cakephp

CakePHP は PHP 向けの高速開発フレームワークです。各リリースラインのバージョン 5.1.10、5.2.15、5.3.7 より前では、PostgresDriver を使用した FunctionsBuilder::jsonValue() において、ユーザー制御のデータが jsonPath パラメータに渡された場合に SQL インジェクションが発生する脆弱性があります。この問題はバージョン 5.1.10、5.2.15、5.3.7 で修正されています。

CVECVE-2026-77635 · CVE.org
CWECWE-89
CVSSCritical: 9.2 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
ProductCakePHP
Affected5.2.x 5.2.13 まで (また 5.1.x < 5.1.10、5.3.x < 5.3.7)
Patched5.2.15、5.1.10、5.3.7
Authなし (ソースマップを参照)
LicenseGNU Affero GPL v3.0
Lab127.0.0.1 のみ · ベンダー/クライアント開示パックであり、スキャナーではありません

アドバイザリ (ソースマップより)

jsonValue の $jsonPath がシンクです。HTTP はラボアプリの GET /?path= です。


エントリ

  • Method: GET
  • Path: /?path=
  • Router: FunctionsBuilder::jsonValue + PostgresDriver JSON_VALUE -> JSONB_PATH_QUERY。CakePHP 5.2.13。5.2.15 で修正。
  • Notes: CVE-2026-77635 CWE-89。Witness POCWitness77635。PostgreSQL が必要です。

コールチェーン

  • GET /?path=&lt;injected jsonPath&gt;
  • PostgresDriver quoteIdentifier into JSONB_PATH_QUERY
  • SELECT leaks notes.secret

ラボの前提条件

  • cakephp/database 5.2.13
  • PostgreSQL
  • notes.secret = POCWitness77635

Witness

HTTP ボディ内の POCWitness77635 および sql= にインジェクションされたフラグメントが含まれます。

成功しないケース

  • インジェクションなしの空の json path 結果
  • postgres への接続拒否
  • リバースシェル

パッチ / 修復

まずこれを実行: CakePHP を 5.2.15 (または 5.1.10 / 5.3.7) に更新してください。アドバイザリ: GHSA-fxf7-vhh8-7vpq。

アップグレード後の確認

  • パッチ適用済みビルドに対して CVE-2026-77635-Abraxas-Labs.py を再実行します。マッピングされた witness が出現しないことを確認してください。
  • デプロイされたツリー内のベンダーアドバイザリ / チェンジセットを確認します (参考資料を参照)。
  • WAF シグネチャは遅延であり、パッチではありません。

すぐに更新できない場合

  • 影響を受けるコンポーネントを無効化または隔離します。
  • 本番環境で witness 条件 (新たな特権ユーザー、予期しないファイル、インジェクションされた行など、この CVE のマップが示すもの) を探索します。

再現 (許可されたラボ)

必ず http://127.0.0.1:8088 (またはバインドしたループバック) のみを対象にしてください。このスクリプトをインターネットに向けないでください。

root@kitploit:~
python3 CVE-2026-77635-Abraxas-Labs.py

成功とは、レスポンスボディに上記の witness が含まれることです。一般的な 200 HTML は成功ではありません。


ラボイメージ

再現に使用したループバックスタック。このフォルダ内の Dockerfile がソースからビルドする場合を除き、公式イメージを使用します。

  • lab/docker-compose.yml
  • lab/Dockerfile
root@kitploit:~
cd lab
docker compose up --force-recreate

YAML がローカルディレクトリ (バージョン表のプラグイン zip / ソースタグ) をマウントする場合は、脆弱な製品ツリーを Compose の隣にバインドしてください。127.0.0.1 以外には何も公開しないでください。


参考資料

  • CVE-2026-77635 · NVD

  • CVE-2026-77635 · CVE.org

  • github.com/cakephp/cakephp/commit/138f2f61486532c29ee4d106da2a9848c1ff1ab3

  • github.com/cakephp/cakephp/commit/489a40fb7c6e597af33fe0f7264047afccb90d55

  • github.com/cakephp/cakephp/commit/9f1ad970a3b72293d4a37e694276645f804e819f

  • github.com/cakephp/cakephp/releases/tag/5.1.10

  • github.com/cakephp/cakephp/releases/tag/5.2.15

  • github.com/cakephp/cakephp/releases/tag/5.3.7

  • github.com/cakephp/cakephp/security/advisories/GHSA-fxf7-vhh8-7vpq

  • github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77635.json

  • nvd.nist.gov/vuln/detail/CVE-2026-77635

  • github.com/advisories/GHSA-fxf7-vhh8-7vpq

  • Abraxas Labs: abraxaslabs.tech · github.com/abraxas · @abraxas_null


レコード (構造化)

root@kitploit:~
# CVE-2026-77635  (structured records)

- input: `https://nvd.nist.gov/vuln/detail/CVE-2026-77635`
- CWE: CWE-89
- published: 2026-08-24T21:17:48.457

## NVD description

CakePHP is a rapid development framework for PHP. Prior to versions 5.1.10, 5.2.15, and 5.3.7 on their respective release lines, FunctionsBuilder::jsonValue() with PostgresDriver is vulnerable to SQL injection when user-controlled data is supplied to the jsonPath parameter. This issue is fixed in versions 5.1.10, 5.2.15, and 5.3.7.

## MITRE description

CakePHP is a rapid development framework for PHP. Prior to versions 5.1.10, 5.2.15, and 5.3.7 on their respective release lines, FunctionsBuilder::jsonValue() with PostgresDriver is vulnerable to SQL injection when user-controlled data is supplied to the jsonPath parameter. This issue is fixed in versions 5.1.10, 5.2.15, and 5.3.7.

## Affected

- cakephp cakephp >= 5.1.0, < 5.1.10 affected, >= 5.2.0, < 5.2.15 affected, >= 5.3.0, < 5.3.7 affected
- cakephp cakephp/database >= 5.1.0, < 5.1.10 affected, >= 5.2.0, < 5.2.15 affected, >= 5.3.0, < 5.3.7 affected
- OSV: 

## References (JSON sources only)

- https://github.com/cakephp/cakephp/commit/138f2f61486532c29ee4d106da2a9848c1ff1ab3
- https://github.com/cakephp/cakephp/commit/489a40fb7c6e597af33fe0f7264047afccb90d55
- https://github.com/cakephp/cakephp/commit/9f1ad970a3b72293d4a37e694276645f804e819f
- https://github.com/cakephp/cakephp/releases/tag/5.1.10
- https://github.com/cakephp/cakephp/releases/tag/5.2.15
- https://github.com/cakephp/cakephp/releases/tag/5.3.7
- https://github.com/cakephp/cakephp/security/advisories/GHSA-fxf7-vhh8-7vpq
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77635.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-77635
- https://github.com/advisories/GHSA-fxf7-vhh8-7vpq

## GitHub advisory

CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver

### Impact
The `FunctionsBuilder::jsonValue($field, $jsonPath)` methods with the Postgres driver is vulnerable to SQL injection if user controlled data is supplied to the `$jsonPath` parameter.

### Patches
5.1.10, 5.2.15, 5.3.7 

### Workarounds
Don't provide user controlled data to these functions/parameters.

## OSV

CakePHP: FunctionsBuilder::jsonValue() vulerable to SQL injection with PostgresDriver

CakePHP is a rapid development framework for PHP. Prior to versions 5.1.10, 5.2.15, and 5.3.7 on their respective release lines, FunctionsBuilder::jsonValue() with PostgresDriver is vulnerable to SQL injection when user-controlled data is supplied to the jsonPath parameter. This issue is fixed in versions 5.1.10, 5.2.15, and 5.3.7.

ライセンス

この開示パックは GNU Affero General Public License v3.0 の下でライセンスされています。LICENSE を参照してください。


免責事項

このパックはベンダー、サイト所有者、および許可されたラボ向けです。スクリプトは 127.0.0.1 と通信します。所有していないシステムに対して使用することは Abraxas Labs によって許可されていません。保証はありません。

abraxaslabs.tech · github.com/abraxas · @abraxas_null

ツールをダウンロード