Lucene search

K
huntrHaxatron6CDA9DF9-4987-4E1C-B48F-855B6901EF53
HistoryOct 08, 2021 - 2:23 a.m.

in bookstackapp/bookstack

2021-10-0802:23:15
haxatron
www.huntr.dev
6

Description

Bookstack does not use secure Cache-Control headers.

Proof of Concept

1: Login to application
2: View a shelf
3: Logout
4: Press the back button of the opened tab to still see that you can view the information about books previous page of your shelf.

Impact

This issue is capable of storing sensitive page data in the Browser, leading to situations where a physical attacker can press the Browser back button to reveal information.

Recommended Fix

Add the Cache-Control header containing β€˜no-store’ and β€˜no-cache’ directives.