E-mail: SMTP sending out password in certain circumstances
This issue is that the smtp client seems to just throw the password in plaintext out in a SEND call under certain circumstances. my real password has been replaced by mypassword here:
I have not been able to trigger this bug again, will look for it. However, the setup was, one gmail account and two imap accounts. Removed gmail and one imap account and tried to send an email with the remaining imap/smtp account. This is what happened:
[7071] maj 03 12:31:46 [Debug] SMTP : newConnection
[7071] maj 03 12:31:46 [Debug] SMTP : Open SMTP connection
[7071] maj 03 12:31:46 [Debug] Messaging : QMailTransport::Socket::Socket SET PROXY host= "" port= 0
[7071] maj 03 12:31:46 [Debug] Messaging : Opening connection - "submit.notes.lotuslive.com" : 465 SSL
[7071] maj 03 12:31:47 [Debug] Messaging : SMTP : connection established
[7071] maj 03 12:31:47 [Debug] Messaging : SMTP : Secure connection established
[7071] maj 03 12:31:47 [Debug] SMTP : Connected
[7071] maj 03 12:31:47 [Debug] SMTP : RECV: "220 usdl3-ln00-ws03.ben.dc5.lotusliveops.com ESMTP Service (Lotus Domino Build V851SAAS_M11_04172014_FP1) ready at Sat, 3 May 2014 10:31:57 +0000"
[7071] maj 03 12:31:47 [Debug] SMTP : SEND: EHLO [127.0.0.1]
[7071] maj 03 12:31:47 [Debug] SMTP : RECV: "250-usdl3-ln00-ws03.ben.dc5.lotusliveops.com Hello [127.0.0.1] ([10.13.34.1]), pleased to meet you"
[7071] maj 03 12:31:47 [Debug] SMTP : RECV: "250-HELP"
[7071] maj 03 12:31:47 [Debug] SMTP : RECV: "250-AUTH LOGIN"
[7071] maj 03 12:31:47 [Debug] SMTP : RECV: "250-DSN"
[7071] maj 03 12:31:47 [Debug] SMTP : RECV: "250-SIZE 102400000"
[7071] maj 03 12:31:47 [Debug] SMTP : RECV: "250 PIPELINING"
[7071] maj 03 12:31:47 [Debug] SMTP : SEND: mypassword
[7071] maj 03 12:31:47 [Debug] SMTP : RECV: "500 Syntax error, command "mypassword" unrecognized"
[7071] maj 03 12:31:47 [Debug] Messaging : void SSOSessionManager::recreateSsoIdentity() Recreating SSO identity using auth method "password"
[7071] maj 03 12:31:47 [Debug] authsessionimpl.cpp 174 initInterface
[7071] maj 03 12:31:47 [Debug] authsessionimpl.cpp 270 process sending to queue
[7071] maj 03 12:31:47 [Debug] dbusoperationqueuehandler.cpp 135 execQueuedOperations Executing cached oparation: SIGNATURE: "process(SessionData,QString)"
[7071] maj 03 12:31:47 [Debug] dbusoperationqueuehandler.cpp 147 execQueuedOperations
[7071] maj 03 12:31:47 [Debug] authsessionimpl.cpp 265 process sending to daemon
[7071] maj 03 12:31:48 [Debug] SMTP : Got SSO response
[7071] maj 03 12:31:48 [Debug] SMTP : SEND: <mypassword></mypassword>
[7071] maj 03 12:31:48 [Debug] SMTP : RECV: "500 Syntax error, command "mypassword" unrecognized"
[7071] maj 03 12:31:48 [Debug] Messaging : void SSOSessionManager::credentialsNeedUpdate() Setting credentials need update for the service "smtp" from account 15 using authentication method "password"
[7071] maj 03 12:31:48 [Debug] SMTP : Closed connection: "500 Syntax error, command "mypassword" unrecognized
"
I would say this is serious!
ortylp ( 2014-09-08 21:36:05 +0200 )edit