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
Vulnerability ScannersVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingDatabase SecurityLabs & Practice
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 through 5.2.13 (also 5.1.x < 5.1.10, 5.3.x < 5.3.7)
Patched5.2.15, 5.1.10, 5.3.7
Authnone (see source map)
LicenseGNU Affero GPL v3.0
Lab127.0.0.1 only · vendor/client disclosure pack, not a scanner

권고 (소스 맵 기준)

jsonValue $jsonPath가 싱크입니다. HTTP는 랩 앱의 GET /?path= 입니다.


진입점

  • Method: GET
  • Path: /?path=
  • Router: FunctionsBuilder::jsonValue + PostgresDriver JSON_VALUE -> JSONB_PATH_QUERY. CakePHP 5.2.13. Fixed 5.2.15.
  • Notes: CVE-2026-77635 CWE-89. Witness POCWitness77635. Requires 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

도구 다운로드