Server Side Include/SSI
Server Side Include is a language-neutral web server technology that supports creating dynamic content before rendering the page.
- Does the application makes use of
- Try Sample Payloads
Edge Side Includes
Edge Side Include (ESI) has a form of xml tags, which are dynamically added to cached static content in order to enrich them with some dynamic features.
The ESI tags are injected by cache mechanisms for other cache mechanisms; however, if a user is able to add ESI tags to the HTTP request, the proxies might parse it without knowing its origin.
Check for the header
In order to detect ESI injection with a blind approach, the user can try to inject tags that cause the proxies to resolve arbitrary addresses resulting in SSRF.
It might be possible to include a HTML file resulting in XSS
Steal Cookie, This bypasses HTTP only flags
Include XSLT file, if supported
There is also a possibility that the ESI Injection might lead to Remote Code Execution when it has support for XSLT. Check [[Web Applications testing/Attacks/XSLT Engines]]