Syed Ammar
https://172.16.17.17/search/?
, which is a search bar functionality on the web app that's hosted at the targeted server WebServer1002 (172.16.17.17 ).q
being used to pass the search query to the targeted server. The attacker puts malicious javascript code with a script tag <$script><$/script>
inside this query parameter which is q=<$script>javascript:$alert(1)<$/script>
. <$script><$/script>
is for inserting a script tag.javascript:$alert(1)
is the malicious javascript piece code that the attacker is trying to inject. It is attempt to execute the alert function which then displays a pop up alert box with the number "1".