stickybit001 / EzpzSharepoint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EzpzSharepoint

Disclaimer

This is my note taking on Sharepoint . Every information in here is a collection from all of the references. Anything news related to Sharepoint will be updated in here.

Information

Folder Information
_app_bin The _app_bin folder was designed to hold application assemblies which were previously installed in _layouts/bin. WebPart assemblies are not supposed to be installed in this folder. Put your assemblies in GAC or the bin, but not the _app_bin.
_vti_pvt This folder is used by FrontPage Extensions/SharePoint Designer. It contains Legacy FrontPage Server Extensions files/folders. The reason for having these folders is that they provide the underlying infrastructure files for the many features SharePoint Designer provides.
Bin Contains compiled assemblies (.dll files) for controls, components, or other code that you want to reference in your application. Any classes represented by code in the Bin folder are automatically referenced in your application.
App_Browsers Contains browser definitions (.browser files) that ASP.NET uses to identify individual browsers and determine their capabilities.
App_GlobalResources Contains resources (.resx and .resources files) that are compiled into assemblies with global scope. Resources in the App_GlobalResources folder are strongly typed and can be accessed programmatically.
Wpresources Contains configuration file for Web Parts

User Enumeration

  1. Passive User Enumeration With **OneDrive **
  1. Sharepoint User Enumeration In userdisp.aspx
_layouts/userdisp.aspx
_layouts/userdisp.aspx?Force=True&id=1
  1. Sharepoint User Enumeration In editform.aspx
-> Try check if editform.aspx can be open or not.
-> If it can be access, follow the steps below:

1. Location => /pages/forms/editform.aspx
2. Inside Contact write any characters atleast 3 characters. Then it will list out several recommendations of users to us. One of the tricks that we found is to put 2 spaces add with one chracter.
3. Examples:
	- "  a"
	- "  b"
	- "  c"
4. You might only get a few list. So intercept the request using Burpsuite and change MaximumEntitySuggestions to high numbers.

Can't access viewlsts.aspx?

-> Try check if editform.aspx can be open or not.
-> If it can be access, follow the steps below:

1. Location => /pages/forms/editform.aspx
2. Click on "Click here to insert a picture from Sharepoint"
3. Click on browse in Hyperlink
4. We can view the Site Content almost same like viewlsts.aspx

CVE/Exploit Related

  1. CVE-2021-31181
  1. CVE-2021-27076
  1. CVE-2020-0932
  1. CVE-2020-1147
  1. CVE-2019-0604

Understanding Sharepoint

Tools Related

References

About