Bug Hunting Session
Bug 109141 - Writer: Protected cell contents can be altered by drag&drop
Summary: Writer: Protected cell contents can be altered by drag&drop
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2017-07-16 01:22 UTC by librebel
Modified: 2019-08-28 10:37 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description librebel 2017-07-16 01:22:19 UTC
Version: 5.2.2.2
Build ID: 1:5.2.2-0ubuntu2.1
CPU Threads: 2; OS Version: Linux 4.8; UI Render: default; 
Locale: nl-NL (en_US.UTF-8); Calc: group


Steps to reproduce:

Writer:
1. Create a table in Writer, fill in some cells and select those cells, and then choose the menu "Table : Protect Cells".
2. Select some text inside the protected cell, drag the selection around, and drop it on the same cell or on another protected cell, then the content changes.

Calc:
In Calc the content of cells that are protected by "Tools : Protect Sheet...", can still be changed using this Drag&Drop technique, be it only within the same cell.


Also confirmed for Version V5.4.0.1RC here:
https://ask.libreoffice.org/en/question/110947/potential-security-threat-are-protected-cells-not-protected/
Comment 1 raal 2017-07-16 10:48:28 UTC Comment hidden (obsolete)
Comment 2 pavelz 2017-07-17 17:31:24 UTC
I can reproduce in Writer:

Version: 6.0.0.0.alpha0+
Build ID: cf0a9b9c7a988b74102bcdd38710fb9e80521081
CPU threads: 2; OS: Linux 4.11; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-07-17_13:35:14
Locale: cs-CZ (cs_CZ.UTF-8); Calc: group

But in Calc I cannot reproduce even in 5.2.7.2 (maybe I am missing something in the steps to reproduce).
Comment 3 Timur 2017-07-18 15:48:10 UTC
This bug is then for Writer. Separate bug may be submitted for Calc, should this one, once it's fixed, failed to resolve it. 
Looks like inherited. There are a number of protected cells bugs.
Comment 4 QA Administrators 2018-07-26 02:42:05 UTC Comment hidden (obsolete)
Comment 5 Timur 2018-07-26 07:41:08 UTC
Repro 6.2+. I didn't see some work on protection lately.
Comment 6 QA Administrators 2019-07-30 03:15:24 UTC Comment hidden (obsolete)
Comment 7 Timur 2019-08-28 10:37:28 UTC
Repro 6.4+