module

ATutor 2.2.1 Directory Traversal / Remote Code Execution

Disclosed
2016-03-01
Created
2018-05-30

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

mr_me steventhomasseeley@gmail.com

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
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.