Skip to content
KitploitKITPLOIT
أدواتالمدونة
إرسال
أدواتالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

··الخلاصات·اتصال·الخصوصية·© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
CVE-2026-77635 — حزمة إفصاح وإثبات مفهوم بلغة Python للثغرة CVE-2026-77635، وهي حقن SQL غير مُصادَق عليه في jsonValue() الخاصة بـ CakePHP مع PostgresDriver، وتتضمن مختبر Docker للاسترجاع المحلي. | Kitploit
أدوات/GitHubGitHub/abraxas/cve-2026-77635
ماسحات الثغرات الأمنيةتحليل الثغرات الأمنيةالاستغلالاستغلال تطبيقات الويبأمن الويباختبار الاختراقأمن قواعد البياناتمختبرات وتدريب عملي
GitHubabraxas/cve-2026-77635

CVE-2026-77635

حزمة إفصاح وإثبات مفهوم بلغة Python للثغرة CVE-2026-77635، وهي حقن SQL غير مُصادَق عليه في jsonValue() الخاصة بـ CakePHP مع PostgresDriver، وتتضمن مختبر Docker للاسترجاع المحلي.

عرض المستودع
1منذ يوم واحدلم تتم المراجعة بعد

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →
مشاركة

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 على خطوط الإصدارات الخاصة بها، تُعد الدالة FunctionsBuilder::jsonValue() مع PostgresDriver عرضة لحقن SQL عندما يتم تمرير بيانات يتحكم بها المستخدم إلى المعامل jsonPath. تم إصلاح هذه المشكلة في الإصدارات 5.1.10 و5.2.15 و5.3.7.

CVECVE-2026-77635 · CVE.org
CWECWE-89
CVSSحرج: 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
المنتجCakePHP
المتأثر5.2.x حتى 5.2.13 (أيضًا 5.1.x < 5.1.10، 5.3.x < 5.3.7)
المُرقَّع5.2.15، 5.1.10، 5.3.7
المصادقةلا شيء (انظر خريطة المصدر)
الترخيصGNU Affero GPL v3.0
المختبر127.0.0.1 فقط · حزمة إفصاح للمورّد/العميل، وليست ماسحًا ضوئيًا

الإشعار (من خريطة المصدر)

jsonValue $jsonPath هو نقطة الحقن. HTTP هو GET /?path= على تطبيق المختبر.


المدخل

  • الطريقة: GET
  • المسار: /?path=
  • الموجّه: FunctionsBuilder::jsonValue + PostgresDriver JSON_VALUE -> JSONB_PATH_QUERY. CakePHP 5.2.13. تم الإصلاح في 5.2.15.
  • ملاحظات: CVE-2026-77635 CWE-89. الشاهد 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

الشاهد

POCWitness77635 في جسم HTTP و sql= يحتوي على الجزء المحقون.

ليس نجاحًا

  • نتيجة مسار json فارغة بدون حقن
  • رفض الاتصال بـ postgres
  • reverse shell

الترقيع / المعالجة

افعل هذا أولًا: حدّث CakePHP إلى 5.2.15 (أو 5.1.10 / 5.3.7). الإشعار: GHSA-fxf7-vhh8-7vpq.

تحقق بعد الترقية

  • أعد تشغيل CVE-2026-77635-Abraxas-Labs.py مقابل البناء المُرقَّع: يجب ألا يظهر الشاهد المُعيَّن.
  • أكّد إشعار المورّد / مجموعة التغييرات في الشجرة المنشورة (انظر المراجع).
  • توقيع WAF هو تأخير، وليس ترقيعًا.

إذا لم تتمكن من التحديث فورًا

  • عطّل أو اعزل المكوّن المتأثر.
  • ابحث عن حالة الشاهد في بيئة الإنتاج (مستخدمون مميزون جدد، ملفات غير متوقعة، صفوف محقونة — كل ما تسميه خريطة هذا CVE).

إعادة الإنتاج (مختبر مصرّح به)

استهدف فقط http://127.0.0.1:8088 (أو عنوان loopback الذي ربطته). لا توجّه هذا السكربت إلى الإنترنت.

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

النجاح هو الشاهد المذكور أعلاه في جسم الاستجابة. استجابة HTML عامة بحالة 200 ليست هي.


صور المختبر

حزمة loopback المستخدمة لإعادة الإنتاج. صور رسمية ما لم يكن هناك Dockerfile في هذا المجلد يبني من المصدر.

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

اربط شجرة المنتج المتأثرة بجانب Compose إذا كان ملف YAML يربط دليلًا محليًا (ملف plugin مضغوط / وسم المصدر من جدول الإصدارات). لا تنشر شيئًا باستثناء 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

تنزيل الأداة