Skip to content

MiniCMS install.php installation files lead to storage xss vulnerabilities #50

@czheisenberg

Description

@czheisenberg

Preparatory work:

Download the install.php file from Releases.

Image
Image

Download the CMS source code and install.php installation files.
Copy the edited install.php file to the source code root.

Contents of the original install.php file:
Ctrl + F search version
Image

Change 1.11 to the xss code:

<script>alert(7788)</script>

Image

Copy to the root directory after modification.

Image

Visit install.php

Image

Click the "开始升级" button

Image

Clicking the "开始体验" button and jumping to the background page will trigger the xss code
Any page in the background will trigger a vulnerability.
Image
The location where the xss code is stored is:

mc-admin/mc-conf.php
Image
As shown in the figure: our xss code is saved in version

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