BBLabs NewsBBLabs News
NewsAll articlesTopics
ES
  1. Home
  2. ›
  3. Glossary
  4. ›
  5. SQLi
Bug Bounty

SQLiSQL Injection

Definition

Injection of malicious SQL into a backend query via unsafe concatenation of user input. Allows reading/modifying the database, and sometimes RCE via xp_cmdshell or load_file.

Still top 3 OWASP despite 25+ years of awareness — because any new view with a misused ORM or a hidden raw query reintroduces it. Variants: in-band (UNION, error-based), blind (boolean, time-based), out-of-band (DNS exfil).

Impact: full DB read (PII, hashes), auth bypass (login OR '1'='1'), data modification, command execution depending on the engine (MSSQL xp_cmdshell, MySQL FILE privileges).

Defence: parameterised queries (prepared statements). Not 'quote filtering'. Proper ORM use (no .raw()/QueryBuilder with concatenation). Least privilege on the DB user (don't run the web app as DBA).

Related terms

  • XSS
  • IDOR
  • SSRF

Latest articles on Bug Bounty

  • →Shopify: email confirmation bypass → account takeover
  • →Ruby JSON.generate leaks heap memory via null bytes
  • →TaxJar: org owner could hijack any member's account

Interested in Bug Bounty?

Get one technical story a day on bug bounty — curated, summarised, actionable.

Subscribe
BBLabs NewsBBLabs News

BBLabs News

Una historia al día. Cero ruido.

Newsletter técnica de ciberseguridad. Una historia al día sobre CVEs críticos, brechas, bug bounty e IA. Filtrado por IA, escrito para humanos.

Producto

  • Hemeroteca
  • Ediciones
  • Temas
  • Glosario
  • RSS
  • Atom
  • JSON Feed

Editorial

  • Acerca de
  • Suscribirse
  • Cuenta
  • English

Legal

  • Privacidad
  • Términos
  • Contacto: team@bblabs.es

Conectar

  • YouTube · @0xGorka
  • Instagram · @bblabs.es
  • Discord BBLabs
  • Discord Bug Bounty ES
31 artículos·10 ediciones·Desde 2026·Hecho en España
© 2026 BBLabs News·Por Gorka El Bochi