Mage AI
Mage AI can expose an unauthenticated web UI with a built-in terminal. In the observed path, the terminal gave command execution as www-data.
Project:
https://github.com/mage-ai/mage-aiDiscovery
Useful indicators:
|_http-title: Apache2 Ubuntu Default Page: It works
6789/tcp open http Tornado httpd 6.3.3
|_http-title: Mage
|_http-server-header: TornadoServer/6.3.3WhatWeb may show:
http://TARGET:6789 [200 OK] HTML5, HTTPServer[TornadoServer/6.3.3], Script[application/json], Title[Mage]Add the discovered virtual hosts if the app references them:
TARGET mage.ai docs.mage.aiUseful paths:
http://mage.ai:6789/settings/workspace/preferences
http://mage.ai:6789/terminalThe workspace preferences page showed:
v0.9.75Terminal to www-data
Use the built-in terminal to stage and execute a reverse shell:
Start a listener and run the script:
Successful shell context:
Last updated