๐ฃ๐ข๐ : Stop payload-spraying: how following the data flow got me an XSS most scanners would miss ๐ชฒ
Hereโs a short breakdown of the attack flow and, more importantly, the mindset I used while hunting. ๐ญ. ๐๐ผ๐๐ป๐ฑ ๐๐ต๐ฒ ๐ถ๐ป๐ถ๐๐ถ๐ฎ๐น ๐ฝ๐ฎ๐ฟ๐ฎ๐บ๐ฒ๐๐ฒ๐ฟ I found a flip-book / document viewer where the id parameter accepted an external URL: https://target.com/Flip\_book/indexMobile.html?id=https://their-server.com Instead of immediately testing payloads, I wanted to understand what the application actually did with that URL. ๐ฎ. ๐๐ผ๐น๐น๐ผ๐๐ฒ๐ฑ ๐๐ต๐ฒ ๐ฑ๐ฎ๐๐ฎ ๐ณ๐น๐ผ๐ While checking the page source and JavaScript, I noticed the viewer was loading an XML configuration file: https://target.com/Flip\_book/mobile/param.xml This was interesting because the id parameter was connected to another resource. ๐ฏ. ๐๐ผ๐๐ป๐ฑ ๐๐ต๐ฒ ๐ถ๐ป๐๐ฒ๐ฟ๐ฒ๐๐๐ถ๐ป๐ด ๐๐ฎ๐น๐๐ฒ
โฆ