Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/documentation/modules/post/multi/gather/maven_creds.md
Views: 11789
Vulnerable Application
Maven a software project management. This module seeks all settings.xml (Maven configuration file) on the target file system to extract credentials from them. Credentials are store in the [removed] tag ; the module also tries to cross the identifier found with the [removed] or [removed] tag in order to find the full realm the credentials belong to.
This module was successfully tested against:
Ubuntu 14.04 and Maven 3.0.5 with shell and meterpreter as session type
Debian 9 and Maven 3.0.5 with shell and meterpreter as session type
Verification Steps
Get a
shell
ormeterpreter
session on some host.Do:
use post/multi/gather/maven_creds
Do:
set SESSION [SESSION_ID]
Do:
run
If the system has readable configuration files (settings.xml) containing username and passwords, they will be printed out.