-9108 Union All Select 34,34# -

Ever seen a weird string like -9108 UNION ALL SELECT 34,34# in your server logs? It’s not a glitch—it’s a probe.

This code snippet, -9108 UNION ALL SELECT 34,34# , is a classic example of syntax used for testing vulnerabilities in a database. -9108 UNION ALL SELECT 34,34#

Attackers use the operator to append their own data to your query results. By using a non-existent ID like -9108 , they ensure the original data is hidden, leaving only their injected values (the 34,34 ) visible. The # at the end simply comments out the rest of your original code to prevent syntax errors. Ever seen a weird string like -9108 UNION

If your app can be tricked by a string like -9108 UNION ALL SELECT 34,34# , your database is wide open. This snippet tests if a query's column count matches the injection (in this case, 2 columns). -9108: Invalidates the primary query. UNION ALL: Merges a second result set. SELECT 34,34: The "dummy" data being retrieved. #: The comment character that kills the trailing SQL. Check your inputs today at OWASP SQL Injection Guide . #CodingTips #Backend #SQL #DatabaseSecurity Option 3: Short & Punchy (Social Media/X) Attackers use the operator to append their own

🚩 Seeing -9108 UNION ALL SELECT 34,34# in your input fields.

In a real-world scenario, attackers use this to "force" the database to return their own data alongside legitimate query results. The -9108 is often an intentionally invalid ID meant to clear the "real" results so that only the injected 34,34 appears in the output.

This is a textbook SQL Injection test. The attacker is trying to see if they can manipulate your database output. If you see "34" pop up where a username or product should be, you’ve got a vulnerability.

Scroll to Top