Cyber Risks · PortSwigger Research

Adapting AngularJS payloads to exploit real world applications

Summary: PortSwigger researcher Gareth Heyes adapted AngularJS template injection payloads to bypass filtering and encoding in two real applications: Piwik 1.2.26, where input was lowercased to block the sandbox escape, and Uber's developer documentation site, which reflected the URL without decoding it first. In Piwik, an unauthenticated attacker could inject a payload that hijacks the account of anyone viewing it, potentially allowing a malicious module to be installed and the webserver taken over if an admin account was compromised; Uber and readme.io patched their issue within 24 hours of the report.

Key Takeaway: Piwik, an open-source analytics platform with 2.7 million downloads, shipped a version where a single injected search keyword could hand an unauthenticated attacker an admin account and, from there, the webserver.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related