| tiêu đề | Pluck CMS 4.7.4 Stored XSS |
|---|
| Mô tả | From the admin interface select Pages -> Manage Images. Select any valid image and intercept the request after selecting Upload. The filename parameter isn’t properly sanitized a payload of filename="test.<img src=a onmouseover=alert(document.cookie)>" is enough to achieve stored XSS on that page.
Any user or admin visiting the "manage images" page is exploited by our stored XSS.
Hovering about the broken image give the alert as shown below. Coincidentally the following will work also filename="index.<body onload=alert(document.cookie)>". There was a way I was able to insert the image into the homepage and have XSS on there permanently also. I blew up that install and just started using your dev branch so not going to waste time trying to do that.
This function: preventXSS() in function.all.php only escapes backslashes and isn't robust enough.
Developer corrected issue and fixed - https://github.com/pluck-cms/pluck/issues/58 |
|---|
| Nguồn | ⚠️ https://github.com/pluck-cms |
|---|
| Người dùng | s7acktrac3 (UID 865) |
|---|
| Đệ trình | 25/05/2018 13:18 (cách đây 8 những năm) |
|---|
| Kiểm duyệt | 25/05/2018 17:31 (4 hours later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 118202 [Pluck 4.7.4 Manage Images function.all.php preventXSS Đã lưu trữ Tập lệnh chéo trang] |
|---|
| điểm | 17 |
|---|