Vulnerability & Exploit Database

Back to search

ATutor 2.2.1 Directory Traversal / Remote Code Execution

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

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/linux/http/atutor_filemanager_traversal

Authors

  • mr_me <steventhomasseeley [at] gmail.com>

References

Targets

  • Automatic

Platforms

  • php

Architectures

  • php

Reliability

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/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