Submit #887154: pagekit v1.0.18 Server-Side Request Forgery
| Title | pagekit v1.0.18 Server-Side Request Forgery |
|---|---|
| Description | ## Overview PageKit CMS v1.0.18 has an SSRF vulnerability in `UpdateController::downloadAction()`. The `$url` parameter is passed to `fopen()` without any filtering, so an authenticated admin can make the server request arbitrary internal URLs. ## Root Cause File: `app/installer/src/Controller/UpdateController.php` Line 32-42 ```php public function downloadAction($url) { $file = tempnam(App::get('path.temp'), 'update_'); App::session()->set('system.update', $file); if (!file_put_contents($file, @fopen($url, 'r'))) { App::abort(500, 'Download failed or path not writable.'); } return []; } ``` ## Fix No patch available. Mitigations: - Stop using PageKit (it's dead) - Block `/admin/system/update/download` at WAF level - Network-segment the web server away from sensitive internal services |
| Source | ⚠️ https:/ |
| User | dactar (UID 73087) |
| Submission | 07/12/2026 19:17 (2 months ago) |
| Moderation | 09/02/2026 21:35 (2 months later) |
| Status | Duplicate |
| VulDB entry | 238216 [Pagekit 1.0.18 UpdateController.php thedownloadAction/updateAction privilege escalation] |
| Points | 0 |