News for hackers. Stuff that matters.
Re:Mailit: A Tiny Drop-In REST API to Send Emails by sleepychu on Tuesday August 01, 2017 @04:02AM (#14898655)
Is this authless? You just send mail as the account configured and anyone can send mail?
Re:Mailit: A Tiny Drop-In REST API to Send Emails by fidbit on Tuesday August 01, 2017 @04:21AM (#14898734)
A service like this might only be exposed internally to trusted servers. Depends on the setup.
Re:Mailit: A Tiny Drop-In REST API to Send Emails by carl_dr on Tuesday August 01, 2017 @04:16AM (#14898713)
> This service defaults to no authentication.
Re:Mailit: A Tiny Drop-In REST API to Send Emails by beefhash on Tuesday August 01, 2017 @04:30AM (#14898772)
That default really did not work out well for MongoDB[1]. Why are we perpetuating this mistake?

[1] https://www.bleepingcomputer.com/news/security/mongodb-apoca...

Re:Mailit: A Tiny Drop-In REST API to Send Emails by e12e on Tuesday August 01, 2017 @06:26AM (#14899262)
Perhaps, more importantly, that didn't work out very well for smtp either ; aka "open relay".
Re:Mailit: A Tiny Drop-In REST API to Send Emails by bjpbakker on Tuesday August 01, 2017 @04:09AM (#14898685)
I haven't tried it myself (and won't) but given this section "Passing Secrets" in the README [1] I dont think its authless.

[1] https://github.com/dthree/mailit/blob/master/readme.md#passi...

Re:Mailit: A Tiny Drop-In REST API to Send Emails by icebraining on Tuesday August 01, 2017 @04:37AM (#14898796)
Those secrets are for Mailit itself to connect and authenticate against the email server.
Re:Mailit: A Tiny Drop-In REST API to Send Emails by bjpbakker on Tuesday August 01, 2017 @04:42AM (#14898811)
Ah you're right. So this is even worse than I thought..
Re:Mailit: A Tiny Drop-In REST API to Send Emails by brntn on Tuesday August 01, 2017 @04:55AM (#14898849)
It's not _worse_, it's just designed for a use case that expects it to only be available to services that are allowed to send email.