MODULE

Chamilo v1.11.24 Unrestricted File Upload PHP Webshell

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

Chamilo v1.11.24 Unrestricted File Upload PHP Webshell

Disclosed
11/28/2023
Created
12/04/2024

Description

Chamilo LMS is a free software e-learning and content management system. In versions prior to <= v1.11.24 a webshell can be uploaded via the bigload.php endpoint. If the GET request parameter `action` is set to `post-unsupported` file extension checks are skipped allowing for attacker controlled .php files to be uploaded to: `/main/inc/lib/javascript/bigupload/files/` if the `/files/` directory already exists - it does not exist by default.

Author(s)

  • Ngo Wei Lin
  • jheysel-r7

Platform

PHP

Architectures

php

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/linux/http/chamilo_bigupload_webshell
msf exploit(chamilo_bigupload_webshell) > show targets
    ...targets...
msf exploit(chamilo_bigupload_webshell) > set TARGET < target-id >
msf exploit(chamilo_bigupload_webshell) > show options
    ...show and set options...
msf exploit(chamilo_bigupload_webshell) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;