MediumGHSA-x2rp-9qf7-2fmq

Contao: Protected page content is disclosed to anonymous visitors after contao.search.index_protected is disabled

Affected versions4.0.0 to before 5.3.50, 5.4.0-RC1 to before 5.7.12 - fixed in 5.3.50

Details

`ModuleSearch` decides whether to filter protected pages out of search results based on the current value of `contao.search.index_protected`, but the authorisation data lives per row in `tl_search`. Turning the setting off removes the filter without removing the rows, so protected pages that were indexed while it was on are returned to unauthenticated visitors such as title, URL and context snippet, even though the pages themselves still answer 401. ## Impact Disclosure of member-only page titles, URLs and indexed text to unauthenticated visitors through the site search. The pages themselves

Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected

Inside rootscan

Illustrative rootscan dashboard

Illustrative product preview with sample data. Explore an interactive sample finding

Connect your Shopify store

Connect once. Keep watch.

Enter your store address to prepare your connection.

Website preview: this prepares a connection summary. No app is installed and no scan runs.

Check this website

No account needed for the free scan.

The free public scan needs no account and does not log in to the site. If you later buy a pentest, you will create an account, prove you control the target, and tick a permission checkbox before any active test starts.

Run the free scan Already have an account? Sign in

No active test starts until you authorize it in the app.