Rapid7 Vulnerability & Exploit Database

Chamilo unauthenticated command injection in PowerPoint upload

Back to Search

Chamilo unauthenticated command injection in PowerPoint upload

Disclosed
06/01/2023
Created
08/24/2023

Description

Chamilo is an e-learning platform, also called Learning Management Systems (LMS). This module exploits an unauthenticated remote command execution vulnerability that affects Chamilo versions `1.11.18` and below (CVE-2023-34960). Due to a functionality called Chamilo Rapid to easily convert PowerPoint slides to courses on Chamilo, it is possible for an unauthenticated remote attacker to execute arbitrary commands at OS level using a malicious SOAP request at the vulnerable endpoint `/main/webservices/additional_webservices.php`.

Author(s)

  • h00die-gr3y <h00die.gr3y@gmail.com>
  • Randorisec

Platform

Linux,PHP,Unix

Architectures

php, cmd, x64, x86, aarch64

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_unauth_rce_cve_2023_34960
msf exploit(chamilo_unauth_rce_cve_2023_34960) > show targets
    ...targets...
msf exploit(chamilo_unauth_rce_cve_2023_34960) > set TARGET < target-id >
msf exploit(chamilo_unauth_rce_cve_2023_34960) > show options
    ...show and set options...
msf exploit(chamilo_unauth_rce_cve_2023_34960) > 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

;