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 - Getshell by template/edit (Administrator Privilege) #19

Open
Rixo1043 opened this issue Jun 2, 2022 · 0 comments
Open

Comments

@Rixo1043
Copy link

Rixo1043 commented Jun 2, 2022

1.Login to the backstage as the administrator.

2.You need to edit the tpl file
image

  1. Because the default safe mode configuration is off,so you can edit tpl file to getshell。
    The vulnerability code is as follows:

image

  1. Add you webshell code in tpl file.

image

  1. Then you can getshell in index file.

image

Repair suggestion:
1、Set safe mode true by default.

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