HexBrain

U.S. Dept Of Defense · Report #1627616

RXSS on █████████

Validstatus
mediumseverity
3upvotes
6 Sept 2022disclosed

How it was found

Description: the WhatSubmitted parameter not filtered, i can insert " character and execute code JS

Impact

Perform any action within the application that the user can perform. View any information that the user is able to view. Modify any information that the user is able to modify. Initiate interactions with other application users, including malicious attacks, that will appear to originate from the initial victim user.

System Host(s)

████████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

  1. Open URL: https://██████/SA1/SAReplay/default.asp?WhatSubmitted=Empty%22;-alert(%27tmz900%27)//&AgentID=0123&SARA=0&StartAt=07/06/22&StopAt=03/23/08
  2. You will see an alert box pup up:

██████████

Suggested Mitigation/Remediation Actions

Filter input on arrival Encode data on output Use appropriate response headers Content Security Policy.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original