| 标题 | pagekit v1.0.18 Server-Side Request Forgery |
|---|
| 描述 | ## 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 |
|---|
| 来源 | ⚠️ https://github.com/d0ctorsec/CVE-Reports/tree/main/CVE-Pagekit%E2%80%94v1.0.18-SSRF |
|---|
| 用户 | dactar (UID 73087) |
|---|
| 提交 | 2026-07-12 19時17分 (3 月前) |
|---|
| 管理 | 2026-09-02 21時35分 (2 months later) |
|---|
| 状态 | 重复 |
|---|
| VulDB条目 | 238216 [Pagekit 1.0.18 UpdateController.php thedownloadAction/updateAction 权限提升] |
|---|
| 积分 | 0 |
|---|