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/fetchmailrc_creds.md
Views: 11789
Vulnerable Application
Post module to obtain credentials saved for IMAP, POP and other mail retrieval protocols in fetchmail's .fetchmailrc
.
This file is kept in user's home directories to configure fetchmail, but contains cleartext credentials.
Example fetchmailrc file
Example documentation can be found in the fetchmail handbook: https://docs.freebsd.org/doc/6.0-RELEASE/usr/share/doc/handbook/mail-fetchmail.html#:~:text=fetchmailrc serves as an example,user on the local system.
Verification Steps
Start msfconsole
Get a shell on a system
Do:
use post/multi/gather/fetchmailrc_creds
Do:
set session [session]
Do:
run
If any
.fetchmailrc
files exist with credentials, they will be read and stored into a loot file.