SQL Injection in Power Apps
About this session
In this webinar, Amichai Shulman, co-founder and CTO of Kanopy, shows how a Power Automate flow that looks up customer complaint history can expose critical enterprise data to outside attackers. By entering SQL injection code into a Microsoft Form, an attacker gets back a list of users and their salaries instead of their own complaint history. The session explains why it happens and how parameterized queries fix it.
Key takeaways
- A flow built for an internal task, like processing complaints from a form, can create an external attack surface.
- In the demo, an attacker enters crafted SQL input in the name field and receives a list of users and their salaries in the automated reply email.
- The root cause is pasting raw user input into a SQL query with no validation or sanitization.
- Power Automateβs database activity supports parameterized queries: a placeholder goes in the query and the value from the user input is defined separately, which protects against SQL injection.
- Forms are just one entry point. Flows triggered by emails, social media posts or customer-submitted tickets carry the same risk.