https://bugs.documentfoundation.org/show_bug.cgi?id=174360
Bug ID: 174360
Summary: WebDAV: Selecting change password option does not
actually change the password
Product: LibreOffice
Version: 26.8.1.1 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
The Remote Files dialog has the option to modify a preexsting password for a
given remote server. I noticed that this option is available also when I did
not actually save the password for a remote server permanently (see "Remember
password" option).
In this case there is a password seemingly stored by LibreOffce, but lasts only
until the software is closed. When I use the "Change password" option while
having only an in-memory password, the feature does not modify the in-memory
password, but instead creates a different password in the persistent storage.
This means two issues: Firstly, LibreOffice still uses the in-memory
(unchanged) password when trying to connect to the remote server, so changing
the password has no effect. Secondly, LibreOffice saved a password in its
persistent storage without asking the user first. Saving a password to a
software application's password storage is something the user should explicitly
consent to, since it raises some security concerns.
Steps to Reproduce:
1. Open "Remote Files" dialog: File -> Open Remote...
2. Add a new remote server using: Manage services -> Add service
3. Fill in the form using a WebDAV connection like this (local Nextcloud
instance)
- Type: WebDAV
- Host: localhost
- Port: 80
- Secure connection: unchecked
- Label: WebDAV - local nc
- Root: /remote.php/dav/files/<username>
4. Enter a username and a wrong password when propmted, don't select the
"Remeber password" option.
-> LibreOffice tries to connect and fails, so it prompts for a new password.
5. Cancel the wrong user name and password dialog
-> Now you don't have access to the remove server's file system
6. Select the server and try to change its password using: Manage services ->
Change password
7. Enter the master password when prompted
8. Enter a new password when prompted (use the correct password now).
9. Reselect the remote server to trigger a connection
-> A wrong user name and password error appears, because LibreOffice tries to
use the original (wrong) password, instead of the new one.
You can also check Tools -> Options -> LibreOffice -> Security -> Connections
settings to see that a new entry is added, even though the user did not select
the option to remember the password
Actual Results:
In-memory password has not been changed, instead a new password was created and
stored persistently.
Expected Results:
Option A: If this "Change password" options is not supposed to work for
in-memory passwords, it should be disabled on the UI, when there is no
persistent password.
Option B: Change the in-memory password and don't create a persistent entry.
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 26.8.1.1 (X86_64)
Build ID: 680(Build:1)
CPU threads: 4; OS: Linux 7.0; UI render: default; VCL: kf6 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.