In-depth lesson · XXE
Bypasses and variations
Every point the XXE reports back under this heading, best-backed first, each with the reports it is seen in.
-
When HTTP out-of-band exfiltration fails, use FTP or other protocols instead.
Seen in 2 reports
-
Use error-based techniques when out-of-band channels are blocked.
-
Store XXE output and retrieve it later from a different page.
-
Use UNC-style paths in external entities to capture NTLM hashes.
Seen in 2 reports
-
After confirming XXE, pivot to the cloud metadata endpoint to obtain credentials.
Seen in 2 reports
-
Use a double forward slash in an SVG fill attribute to get past a regex filter and load an external SVG.
Seen in 1 report
-
$1,500 Critical
-
-
A previous fix did not fully block external entity resolution, so blind XXE still worked.
Seen in 1 report
-
Bypass regex filtering in an AQL parser to enable SSRF and blind file reads.
-
Use PHP stream wrappers inside external entities when direct out-of-band HTTP is not possible.
Seen in 1 report
-
Add extra file types to a client-supplied allow_file_type_list parameter to bypass upload validation.
Seen in 1 report