HexBrain

U.S. Dept Of Defense · Report #205360

Content-Injection/XSS ████

Validstatus
mediumseverity
1upvotes
2 Dec 2019disclosed

How it was found

Summary:

Hi,

It is possible to inject content and vulnerable to reflected Cross Site Scripting. Affected domain: https://██████████ Used browser: Mozilla.

Impact

One of the most common XSS attack vectors is to hijack legitimate user accounts by stealing their session cookies. This allows attackers to impersonate victims and access any sensitive information or functionality on their behalf. Let's dissect how this can be achieved.

An attacker could inject fake login forms and ask for military credentials.

Step-by-step Reproduction Instructions

  1. XSS: https://██████/images.ashx?loc=%3C/div%3E%3Cimg%20src=%22youtube.com%22%20onerror=alert(%22TestingXSS%22)%3E

  2. Content Injection: https://██████/images.ashx?loc=%3C/div%3E%3Cimg%20src=%22https://███.files.wordpress.com/2016/12/facebook-instagram-open-redirect.jpeg%22%3E

Suggested Mitigation/Remediation Actions

Sanitize your input, by escaping HTML special characters.

Thanks, Diogo Real

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