Skip to content

HongCMS 3.0 - Getshell by template/edit (Administrator Privilege) #19

@Rixo1043

Description

@Rixo1043

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions