Fossil SCM

checkin/464ec546f1cf9f1690c28b8d7356f9ad6e37956a23735ac6d73165e2c75f6193

5 days, 14 hours ago by dmestas

/info on a cluster checked no permission

info_page() in src/info.c hands each kind of artifact to the page for it, and those pages check permissions. cluster_info() did not, so /info given the hash of a cluster listed every artifact the cluster names, with hashes, file names and check-in descriptions, to anyone.

The fix requires Read, as the other artifact pages do.

Tested with ASan and UBSan on macOS: without Read the page now sends the visitor to the login page; with Read it shows the cluster as before. Not run on Linux or Windows.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button