core icon indicating copy to clipboard operation
core copied to clipboard

Clearly logged passwords

Open yaerox opened this issue 13 years ago • 8 comments

Expected behaviour

Passwords shouldn't get logged and if there is no other way then probably not clearly.

Actual behaviour

Passwords getting logged clearly in owncloud.log.

Steps to reproduce

  1. SMB Storage mounted
  2. Tried to create a file on an External SMB Storage

Server configuration

Operating system: openSUSE 12.1 Web server: Apache2 Database: SQLite PHP version: 5.X ownCloud version: 5.0.6

Client configuration

Browser: Firefox / Chrome Operating system: Windows 7 Professional (x86)

Logs

Web server error log

Warning PHP stat(): stat failed for smb://USERNAME:PASSWORD@COMPUTERNAME/SMB/Testfile at /srv/www/htdocs/owncloud/apps/files_external/lib/smb.php#65

Warning PHP filetype(): Lstat failed for smb://USERNAME:PASSWORD@COMPUTERNAME/SMB/Testfile at /srv/www/htdocs/owncloud/apps/files_external/lib/streamwrapper.php#33

ownCloud log (data/owncloud.log)

Doesn't get any entry for this issue.

yaerox avatar May 23 '13 13:05 yaerox

This is from 3rdparty: https://github.com/owncloud/3rdparty/blob/master/smb4php/smb.php

Check the trigger_error calls, would you like to do a pull request to change this?

MTGap avatar May 25 '13 14:05 MTGap

Yeah of course. I think this would be great. But I can't open a pull request. Do you have to create a pull? :)

yaerox avatar May 27 '13 09:05 yaerox

Github has everything documented: https://help.github.com/

MTGap avatar May 27 '13 14:05 MTGap

Ohh I think I got "pull request" wrong :P I guess now it means something like If I wanna solve it and show it in hope that you'll edit this in OC? ^^

yaerox avatar May 27 '13 14:05 yaerox

https://help.github.com/articles/using-pull-requests

MTGap avatar May 27 '13 14:05 MTGap

First, thanks for the link. I understood. But actual I dont have the time to work on it :/ My PHP skilsl aren't that good but I think this shouldn't be the problem. But the time ... therefore I think I shouldn't open a pull request :/

yaerox avatar May 29 '13 06:05 yaerox

I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version.

Please reopen if you still encounter this issue with the latest stable version (currently ownCloud 5.0.9) and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :)

Thank you!

jancborchardt avatar Aug 08 '13 15:08 jancborchardt

Hi,

I can see too my passwords in logs with 5.0.11.

GouNiNi avatar Sep 25 '13 14:09 GouNiNi