View Issue Details

IDProjectCategoryView StatusLast Update
0005703Composrsyndicationpublic2024-04-30 15:20
ReporterAdam EdingtonAssigned ToPatrick Schmalstig 
SeverityTrivial-bug 
Status resolvedResolutionfixed 
Product Version10.0.47 
Fixed in Version10.0.48.beta 
Summary0005703: backend.php showing all available feeds to Guests
DescriptionIncluding admin actions. Pretty sure this isn't intended.
TagsRoadmap: v11
Time estimation (hours)
Sponsorship open

Activities

Patrick Schmalstig

2024-04-16 13:51

administrator   ~0008622

Whoopsie that does sound like an issue.

Patrick Schmalstig

2024-04-18 02:49

administrator   ~0008635

@Adam I need more information. It looks like RSS hooks have proper privilege checking in place. What specific backend.php URL calls are causing a leak of info? And where are these calls located?

Patrick Schmalstig

2024-04-18 02:59

administrator   ~0008636

Ignore; I found the issue. I'm assuming it's opml because I saw some feeds listed that guests normally would not have access. I added a clause to hide those for guests.

admin

2024-04-18 03:02

administrator   ~0008637

Automated response: backend.php showing all available feeds to Guests

backend.php opml mode was publicising all available feeds, even ones guests would not be able to access.

This patch hot-fudges a list of feeds we don't want to promote to guests; they will no longer display in the opml feed.

However in v11, we should add a new method in the RSS hooks for privilege checking (based on current member) and use that instead.

admin

2024-04-18 03:02

administrator   ~0008638

Fixed in git commit 3bfd9724cf (https://gitlab.com/composr-foundation/composr/commit/3bfd9724cf - link will become active once code pushed to GitLab)

A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

hotfix-5703, 2024-04-18 3am.tar (13,312 bytes)

Patrick Schmalstig

2024-04-28 23:10

administrator   ~0008712

Fixed in v11 with a better approach using a new method on RSS hook calls

https://gitlab.com/composr-foundation/composr/-/commit/e25cffa0ff26d49d1b48b2a62694a57855563972

Issue History

Date Modified Username Field Change
2024-04-16 13:42 Adam Edington New Issue
2024-04-16 13:51 Patrick Schmalstig Note Added: 0008622
2024-04-16 13:51 Patrick Schmalstig Assigned To => Patrick Schmalstig
2024-04-16 13:51 Patrick Schmalstig Status non-assigned => assigned
2024-04-18 02:49 Patrick Schmalstig Note Added: 0008635
2024-04-18 02:59 Patrick Schmalstig Note Added: 0008636
2024-04-18 03:03 Patrick Schmalstig Tag Attached: Roadmap: v11
2024-04-28 23:10 Patrick Schmalstig Status assigned => resolved
2024-04-28 23:10 Patrick Schmalstig Resolution open => fixed
2024-04-28 23:10 Patrick Schmalstig Note Added: 0008712