Rapid7

module

ATutor 2.2.1 Directory Traversal / Remote Code Execution

Disclosed
Mar 1, 2016
Created
May 30, 2018

Description

This module exploits a directory traversal vulnerability in ATutor on an Apache/PHP
setup with display_errors set to On, which can be used to allow us to upload a malicious
ZIP file. On the web application, a blacklist verification is performed before extraction,
however it is not sufficient to prevent exploitation.

You are required to login to the target to reach the vulnerability, however this can be
done as a student account and remote registration is enabled by default.

Just in case remote registration isn't enabled, this module uses 2 vulnerabilities
in order to bypass the authentication:

1. confirm.php Authentication Bypass Type Juggling vulnerability
2. password_reminder.php Remote Password Reset TOCTOU vulnerability

Author

Platform

PHP

Architectures

php

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.