Skip to content

BlueCMS 1.6 allows Arbitrary File Deletion via the file_name parameter in an /admin/database.php?act=del request. #1

@yihanjinchangtai

Description

@yihanjinchangtai

1 Cause of vulnerability : The parameter file_name on line 210 of admin/database.php are unfiltered,so an attacker can use the input of this variable to achieve path traversal, resulting in the deletion of any file

2 Vulnerability condition:rights of administrator

3 Vulnerability recurrence:
① Operation environment construction:mysql+windows+php+apache OR phpstudy
② Access /admin login in to administrator privileges
③ Access /admin/database.php?act=del&file_name=../../robots.txt ;Successfully deleted file.

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