> ## Documentation Index
> Fetch the complete documentation index at: https://rootea.es/llms.txt
> Use this file to discover all available pages before exploring further.

# SQL injection vulnerability in WHERE clause allowing retrieval of hidden data

> PortSwigger Web Security Academy lab: SQL injection vulnerability in WHERE clause allowing retrieval of hidden data. Topic: SQL Injection.

# SQL injection vulnerability in WHERE clause allowing retrieval of hidden data

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> PortSwigger · SQL Injection</p>

<div className="machine-meta">
  | ·            | ·                                                                                   |
  | ------------ | ----------------------------------------------------------------------------------- |
  | Platform     | PortSwigger Web Security Academy                                                    |
  | Topic        | SQL Injection                                                                       |
  | Difficulty   | <span className="dbadge dbadge-easy">APPRENTICE</span>                              |
  | Official lab | [Open](https://portswigger.net/web-security/sql-injection/lab-retrieve-hidden-data) |
</div>

## Solve the lab

| Language | Author          | Format | Link                                                                                |
| -------- | --------------- | ------ | ----------------------------------------------------------------------------------- |
| 🇬🇧 EN  | **PortSwigger** | Texto  | [Open](https://portswigger.net/web-security/sql-injection/lab-retrieve-hidden-data) |

## Resources by skill

| Skill         | Source      | Link                                                                            |
| ------------- | ----------- | ------------------------------------------------------------------------------- |
| SQL Injection | HackTricks  | [Open](https://book.hacktricks.wiki/en/pentesting-web/sql-injection/index.html) |
| SQL Injection | PortSwigger | [Open](https://portswigger.net/web-security/sql-injection)                      |

## Related skills

[SQL Injection](/en/skills/sqli)

***

## Comments & tips

Solved this lab a different way? Share it here — comments live in [GitHub Discussions](https://github.com/FFuson/HTB_Writeups/discussions).

<div className="rootea-giscus-wrap" data-giscus-term="lab:sql-injection-retrieve-hidden-data" data-giscus-lang="en" />

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","name":"SQL injection vulnerability in WHERE clause allowing retrieval of hidden data","headline":"SQL injection vulnerability in WHERE clause allowing retrieval of hidden data — PortSwigger lab index","url":"https://rootea.es/en/portswigger/labs/sql-injection/retrieve-hidden-data","inLanguage":"en","about":[{"@type":"Thing","name":"PortSwigger Web Security Academy"},{"@type":"Thing","name":"SQL Injection"}],"isPartOf":{"@type":"WebSite","name":"rootea.es","url":"https://rootea.es"},"author":{"@type":"Organization","name":"rootea.es"}}`}
</script>
