Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
CVE-2026-79752 — CakePHP 5.2.13 में FunctionsBuilder::cast के माध्यम से SQL injection के लिए CVE-2026-79752 disclosure pack, जिसमें authorized reproduction के लिए एक Python PoC script और Docker lab शामिल है। | Kitploit
उपकरण/GitHubGitHub/abraxas/cve-2026-79752
भेद्यता स्कैनरभेद्यता विश्लेषणशोषणवेब एप्लिकेशन शोषणवेब सुरक्षापेनिट्रेशन टेस्टिंगलर्निंग और शिक्षाडेटाबेस सुरक्षालैब और अभ्यास
GitHubabraxas/cve-2026-79752

CVE-2026-79752

CakePHP 5.2.13 में FunctionsBuilder::cast के माध्यम से SQL injection के लिए CVE-2026-79752 disclosure pack, जिसमें authorized reproduction के लिए एक Python PoC script और Docker lab शामिल है।

1 दिन पहलेअभी तक समीक्षित नहीं
रिपॉजिटरी देखें

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें

Abraxas Labs — CVE-2026-79752

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

CVE-2026-79752

CakePHP 5.2.13 — cakephp

CakePHP, PHP के लिए एक तेज़ विकास फ्रेमवर्क है। 4.5.12, 4.6.5, 5.1.9, 5.2.14 और 5.3.7 से पहले, src/Database/FunctionsBuilder.php में FunctionsBuilder::cast, FunctionsBuilder::extract, FunctionsBuilder::datePart और FunctionsBuilder::dateAdd उपयोगकर्ता-नियंत्रित dataType, part या unit मान स्वीकार करते हैं और उन्हें बिना escape किए संरचनात्मक अंशों के रूप में उत्पन्न SQL में शामिल करते हैं। जो एप्लिकेशन इन पैरामीटरों को अविश्वसनीय इनपुट देता है, वह डेटाबेस कनेक्शन के विशेषाधिकारों के अनुसार गोपनीयता, अखंडता और उपलब्धता प्रभाव के साथ SQL इंजेक्शन की अनुमति दे सकता है। यह समस्या संस्करण 4.5.12, 4.6.5, 5.1.9, 5.2.14 और 5.3.7 में ठीक की गई है।

CVECVE-2026-79752 · 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:H/SC:N/SI:N/SA:N
ProductCakePHP
Affected5.2.x through 5.2.13 (also 4.5.x < 4.5.12, 4.6.x < 4.6.5, 5.1.x < 5.1.9, 5.3.x < 5.3.7)
Patched5.2.14, 5.3.7, 5.1.9, 4.6.5, 4.5.12
Authnone (see source map)
LicenseGNU Affero GPL v3.0
Lab127.0.0.1 only · vendor/client disclosure pack, not a scanner

Advisory (from the source map)

cast() $dataType ही sink है। HTTP लैब ऐप पर GET /?type= है, WP रूट नहीं।


Entry

  • Method: GET
  • Path: /?type=
  • Router: Lab GET /?type= -> Connection::func()->cast('body', $_GET['type']). FunctionsBuilder::cast setConjunction AS add literal dataType. CakePHP 5.2.13. Fixed 5.2.14.
  • Notes: CVE-2026-79752 CWE-89 CakePHP 5.2.13. Witness POCWitness79752. Not WordPress.

Call chain

  • GET /?type=&lt;injected SQL type&gt;
  • FunctionsBuilder::cast splices type as literal
  • SQLite executes CAST(body AS ...)
  • notes.body POCWitness79752 in HTTP body

Lab preconditions

  • CakePHP database 5.2.13
  • lab app passes GET type into cast()
  • sqlite notes.body = POCWitness79752

Witness

POCWitness79752 in the HTTP body AND sql= line shows the injected fragment (not only CAST(body AS TEXT)).

Not success

  • CAST AS TEXT only, no injection fragment in sql=
  • composer 500
  • reverse shell

Patch / remediation

Do this first: Update CakePHP to 5.2.14 (or 5.3.7 / 5.1.9 / 4.6.5 / 4.5.12). Advisory: GHSA-vjqc-q4mp-2rvf.

Verify after upgrade

  • Re-run CVE-2026-79752-Abraxas-Labs.py against the patched build: the mapped witness must not appear.
  • Confirm the vendor advisory / changeset in the deployed tree (see references).
  • A WAF signature is delay, not a patch.

If you cannot update immediately

  • Disable or isolate the affected component.
  • Hunt for the witness condition on production (new privileged users, unexpected files, injected rows — whatever this CVE's map names).

Reproduction (authorized lab)

Target only http://127.0.0.1:8088 (or the loopback you bound). Do not point this script at the internet.

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

Success is the witness above in the response body. Generic 200 HTML is not it.


Lab images

Loopback stack used to reproduce. Official images unless a Dockerfile in this folder builds from source.

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

Bind the vulnerable product tree next to Compose if the YAML mounts a local directory (plugin zip / source tag from the version table). Publish nothing except 127.0.0.1.


References

  • CVE-2026-79752 · NVD

  • CVE-2026-79752 · CVE.org

  • github.com/cakephp/cakephp/commit/3349584ca3a891afaff2dbc324d6b1c09fb880f0

  • github.com/cakephp/cakephp/commit/3f4d13ea4280067f3381ecf935a8bef5b7cdcc2e

  • github.com/cakephp/cakephp/commit/79e1d6bc6f3a50fa01805579076a02c77370c676

  • github.com/cakephp/cakephp/commit/8699d6f38e25fe46fcc24f2b698809948e71ad7d

  • github.com/cakephp/cakephp/commit/ab608711674ac662af7315c5cdf1e0fbe2000e45

  • github.com/cakephp/cakephp/pull/19520

  • github.com/cakephp/cakephp/pull/19528

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

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

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

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

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

  • github.com/cakephp/cakephp/security/advisories/GHSA-vjqc-q4mp-2rvf

  • github.com/CVEProject/cvelistV5/tree/main/cves/2026/79xxx/CVE-2026-79752.json

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

  • github.com/advisories/GHSA-vjqc-q4mp-2rvf

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

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


Records (structured)

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

- input: `https://nvd.nist.gov/vuln/detail/CVE-2026-79752`
- CWE: CWE-89
- published: 2026-09-17T15:16:51.673

## NVD description

CakePHP is a rapid development framework for PHP. Prior to 4.5.12, 4.6.5, 5.1.9, 5.2.14, and 5.3.7, FunctionsBuilder::cast, FunctionsBuilder::extract, FunctionsBuilder::datePart, and FunctionsBuilder::dateAdd in src/Database/FunctionsBuilder.php accept user-controlled dataType, part, or unit values and incorporate them into generated SQL as unescaped structural fragments. An application that passes untrusted input to these parameters can permit SQL injection with confidentiality, integrity, and availability impact according to the database connection's privileges. This issue is fixed in versions 4.5.12, 4.6.5, 5.1.9, 5.2.14, and 5.3.7.

## MITRE description

CakePHP is a rapid development framework for PHP. Prior to 4.5.12, 4.6.5, 5.1.9, 5.2.14, and 5.3.7, FunctionsBuilder::cast, FunctionsBuilder::extract, FunctionsBuilder::datePart, and FunctionsBuilder::dateAdd in src/Database/FunctionsBuilder.php accept user-controlled dataType, part, or unit values and incorporate them into generated SQL as unescaped structural fragments. An application that passes untrusted input to these parameters can permit SQL injection with confidentiality, integrity, and availability impact according to the database connection's privileges. This issue is fixed in versions 4.5.12, 4.6.5, 5.1.9, 5.2.14, and 5.3.7.

## Affected

- cakephp cakephp < 4.5.12 affected, >= 4.6.0, < 4.6.5 affected, >= 5.0.0, < 5.1.9 affected, >= 5.2.0, < 5.2.14 affected, >= 5.3.0, < 5.3.7 affected
- OSV: 

## References (JSON sources only)

- https://github.com/cakephp/cakephp/commit/3349584ca3a891afaff2dbc324d6b1c09fb880f0
- https://github.com/cakephp/cakephp/commit/3f4d13ea4280067f3381ecf935a8bef5b7cdcc2e
- https://github.com/cakephp/cakephp/commit/79e1d6bc6f3a50fa01805579076a02c77370c676
- https://github.com/cakephp/cakephp/commit/8699d6f38e25fe46fcc24f2b698809948e71ad7d
- https://github.com/cakephp/cakephp/commit/ab608711674ac662af7315c5cdf1e0fbe2000e45
- https://github.com/cakephp/cakephp/pull/19520
- https://github.com/cakephp/cakephp/pull/19528
- https://github.com/cakephp/cakephp/releases/tag/4.5.12
- https://github.com/cakephp/cakephp/releases/tag/4.6.5
- https://github.com/cakephp/cakephp/releases/tag/5.1.9
- https://github.com/cakephp/cakephp/releases/tag/5.2.14
- https://github.com/cakephp/cakephp/releases/tag/5.3.7
- https://github.com/cakephp/cakephp/security/advisories/GHSA-vjqc-q4mp-2rvf
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/79xxx/CVE-2026-79752.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-79752
- https://github.com/advisories/GHSA-vjqc-q4mp-2rvf
- https://github.com/cakephp/cakephp/releases/tag/5.1.8

## GitHub advisory

CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection

### Impact
The `FunctionsBuilder::cast($field, $dataType)`, `extract($part, $expr)`, `datePart($part, $expr)`, `dateAdd($expr, $value, $unit)` methods are vulnerable to SQL injection if user controlled data is supplied to the ($dataType / $part / $unit) parameters.

### Patches
5.3.7, 5.2.14, 5.1.9, 4.6.5, 4.5.12 contain fixes 

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

## OSV

CakePHP: Multiple methods in FunctionsBuilder vulnerable to SQL injection

CakePHP is a rapid development framework for PHP. Prior to 4.5.12, 4.6.5, 5.1.9, 5.2.14, and 5.3.7, FunctionsBuilder::cast, FunctionsBuilder::extract, FunctionsBuilder::datePart, and FunctionsBuilder::dateAdd in src/Database/FunctionsBuilder.php accept user-controlled dataType, part, or unit values and incorporate them into generated SQL as unescaped structural fragments. An application that passes untrusted input to these parameters can permit SQL injection with confidentiality, integrity, and availability impact according to the database connection's privileges. This issue is fixed i

License

This disclosure pack is licensed under the GNU Affero General Public License v3.0. See LICENSE.


Disclaimer

This pack is for the vendor, the site owner, and licensed labs. The script talks to 127.0.0.1. Using it against systems you do not own is not authorized by Abraxas Labs. No warranty.

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

टूल डाउनलोड करें