Your first check is free. No card needed.Run a free security check

One SQL injection let anyone change any order at a web hosting provider

A web hosting provider let Saqr test its live systems. One standard run found a SQL injection that, followed one step further, gave read and write access to every one of its databases. Anyone could have changed the status of any customer's order by hand. It was reported privately and is fixed.

The app

Imagine you sell hosting. A customer pays, their order moves from pending to paid to active, and a server goes live for them. The order status is the hinge the whole business turns on. It decides who gets a server and who paid for one.

Now imagine a stranger who can set that status to whatever they like.

What Saqr found

That was the situation at one of our first design partners, a web hosting provider that let Saqr test its live systems. In one standard run, Saqr found a SQL injection: a place where text sent to the app ended up inside a database query. Followed one step further, it gave read and write access to all of their databases, orders included.

SQL injection is one of the oldest security holes on the web, and it keeps turning up because one unguarded query is enough. Frameworks protect most queries by default. The query written by hand for a quick filter or a report is the one that slips through.

Why it mattered

Read access alone would have exposed every customer record. Write access meant anyone could change the status of any order by hand. Think about what pending, paid and cancelled mean to a hosting business, and who should get to decide which one an order is.

Anyone could have done it.

What happened next

We sent the finding to the owner privately, with the request and response that proved it, before telling anyone else. Their team could replay it themselves instead of taking an AI's word for it. The owner fixed it.

Following a finding one step further is now part of every Full and Deep task: Saqr takes each proven finding as a starting point, tests what it unlocks next, and links the evidence for every step in the final finding.

What Saqr did

  1. One standard task

    With the owner's permission, Saqr's AI agents tested the live app from the outside in one standard task of 15 minutes to 2 hours, the same kind of task anyone can start in Saqr.

  2. Proof

    Like every Saqr finding, it came with the real request Saqr sent and the response the app gave, so the owner could check it without trusting the AI.

  3. A private report

    The finding went to the owner privately first. Nothing was published until it was fixed.

  4. Fixed

    The owner fixed it. This story names the sector only, so nobody can work out who the partner is.

On your own app, each finding also comes with a fix prompt to paste into the AI coding tool that built it, or to hand to a developer. After the fix, a recheck marks it Fixed, Still open or Could not check.

  1. A task proposed in Saqr's chat on a verified site, with Start, No and No, change something.A task proposed in Saqr's chat on a verified site, with Start, No and No, change something.

    A task, proposed in Chat

    Saqr proposes the task on your verified site. Nothing runs until you press Start.

  2. The checks of a task under way in Saqr, two still running, each with its own log.The checks of a task under way in Saqr, two still running, each with its own log.

    Checks under way

    Every check the task starts has its own log, so you can see what Saqr tried.

  3. A Saqr finding's How to fix, with the Copy fix prompt button and the prompt itself.A Saqr finding's How to fix, with the Copy fix prompt button and the prompt itself.

    Proof and a fix prompt

    Each finding shows the request and response that prove it, and a fix prompt to paste.

Screens from Saqr's demo shop. Nothing on this page shows a partner's systems.

What this means for your app

You can look for the same hole in an afternoon, on your own code and a staging copy:

  1. Search your code for SQL built by joining strings: template literals or + around a query, raw query helpers, and any sort column or filter name dropped straight into the SQL.
  2. Change each one to use bound parameters. For column names, check the value against a fixed list instead.
  3. On staging, type a single quote into every search box and filter. A database error on the page is a reason to look closer.

How to pentest your own app covers inputs like these alongside the other checks.

What would one run find on your app?

For a limited time your first check is free: one Quick check of up to 25 minutes, no card needed (Quick tasks on a plan take up to 15 minutes). See every issue it finds, with the proof. The fixes, the reports and the AI fix pack come with a plan. Plans add Full and Deep tasks, which also test the pages behind your sign-in.

Saqr (usesaqr.com) is AI security for web apps. Its AI agents test your live app from the outside, the way a real attacker would, and show you exactly what to fix. From $19 a month, cancel any time. Tests only apps you have shown are yours.