Tennessee Valley Authority · Report #2190117
File listing through scripts folder
Validstatus
42upvotes
9 Feb 2024disclosed
How it was found
Summary:
It's possible to list all hidden files that are located within the TVAVirtual.com Sharepoint folder structure.
Steps To Reproduce:
- Navigate to TvaVirtual.com
- Open the pages source code and notice that its build using sharepoint pages.
- Confirm that you see a listing for /SiteAssets/Scripts/js.cookie.min.js. Click on it to navigate to the page
- Once https://tvavirtual.com/SiteAssets/Scripts/js.cookie.min.js loads, then remove js.cookie.min.js from the url
- Confirm that TvaVirtual.com now shows the script folder listing on the page.
- Remove the extra folder from the url to list the root folder at https://tvavirtual.com/SiteAssets/Forms/AllItems.aspx?RootFolder=
- Navigate through the directory listing in an attempt to find sensitive files, enumerate publishing users and version history.
Supporting Material/References:
I've attached jpgs showing what is available. You may see a login from [email protected] where I was confirming cross tenant access to the files.
Impact
Attackers can potentially enumerate sensitive information and files that would otherwise be protected