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

HongCMS 3.0 - Arbitrary Files Read and Edit in template/edit (Administrator Privilege) #14

Open
Anx1a opened this issue Nov 28, 2019 · 0 comments

Comments

@Anx1a
Copy link

Anx1a commented Nov 28, 2019

1.Login to the backstage as the administrator;

2.You need to access the page"http://10.12.11.184/hongcms-master/admin/index.php/template"
image

3.Change the file name you want to edit or read in the URL and access this page.
For example: "http://10.12.11.184/hongcms-master/admin/index.php/template/edit?dir=../../&file=index.php".
image

4.You can see that index.php has been read and edited.

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