Moving or deleting an artifact can lead to the removal of information on other unrelated artifacts on the instance.
Impact
A malicious user could exploit this issue on purpose to delete information on the instance. It is however not possible to control exactly which information is deleted.
Information from the following fields can be impacted:
- Date
- File
- Float
- Int
- List (checkbox, selectbox, radio button, multi-selectbox)
- OpenList
- Text
- String
- Permissions on artifact (for the history visualization, actual permissions are not affected, see details below)
Issue is present since Tuleap 14.11.99.34 (git #tuleap/stable/7f2e5e974596196bd96c2146c533353ecbcc592f)
CVSSv3.1 score: 7.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L)
Details on the "Permissions on artifact" field
Data stored in the tracker_changeset_value_permissionsonartifact
database table can be affected by this issue. This affects features such as the diff of values in changeset history, CSV export, REST API and webhooks data, etc.
However, the set of permissions that are currently enforced for a given artifact are stored in another database table named permissions
which is not affected by this issue. As a result, there are two possible cases for an artifact where the "Permissions on artifact" value has been affected by this issue:
- If the "Permissions on artifact" value has never changed since the affected value, the permissions that had been set are still in effect. User groups that had permission to see the artifact can still see it, user groups that did not have permission are still rejected. Confidentiality is preserved, but changeset history, CSV export, REST API will have a gap for this field.
- If the "Permissions on artifact" value has changed (or will change) since the affected value, the new permissions will apply as usual. Confidentiality is preserved.
References
CWE-440
CVE-2024-30246
Acknowledgements
This issue was identified and reported by Guilhem Bonnefille from CS Group.