Skip to main content
友田 陽大
実践Webハッキング技法
セキュリティ
ホワイトハッカー
脆弱性診断
Webセキュリティ
倫理的ハッキング

The big picture of practical web-app hacking techniques [2026]: a map of attack classes and an assessment methodology — a version faithful to the official docs

A complete guide to systematically learning web-app attack techniques. It maps the major attack classes — SQLi, XSS, SSRF, JWT, authentication, SSTI — faithfully to the PortSwigger Web Security Academy and OWASP, and organizes them as an assessment methodology of recon → mapping → testing → exploitation → reporting. With legal procedures that complete entirely within your own assets / authorized scope, it explains each attack's 'why it lands' paired with 'how to prevent it by design.'

Published
Reading time
6 min read
Author
友田 陽大
Share

Web-app vulnerability assessment is not a world of talent or sense. It's a reproducible "methodology." Excellent assessors don't find vulnerabilities by flashes of inspiration; they hold a map of attack classes and crush them systematically, one by one. This article shows that map and methodology faithfully to the PortSwigger Web Security Academy and OWASP, and is the pillar article that serves as the entry point to the spokes that go deep on each attack technique.

The absolute premise of this cluster (read first) All attack techniques handled here are executed only within three safe zones — ① your own assets ② CTF ③ a scope authorized in writing. This is the line drawn in white hackers and the law. Getting the target wrong by one is far more serious than getting one payload wrong. We proceed assuming a hands-on environment of a legal home lab (OWASP Juice Shop limited to localhost).


1. The assessment methodology — five phases

A pro's assessment runs in the same "form" every time. To reduce thinking and structurally prevent oversights.

PhaseWhat to doMain tools
① ReconGrasp the target's tech stack, subdomains, and public assetsnmap, various OSINT, browser
② MappingEnumerate all of the app's endpoints, parameters, and auth boundariesBurp Suite's Proxy/Site map
③ TestingVerify each attack-class hypothesis one variable at a timeBurp Repeater / Intruder
④ ExploitSafely demonstrate the impact of a vulnerability (PoC)Repeater, dedicated tools
⑤ ReportRecord reproduction steps, impact, and fixesReport, screenshots

Of these, the one to spend the most time on is ② Mapping. Unless you grasp the attack surface without omissions, no matter how skillfully you test, you won't find the holes. "An entry point you can't see can't be tested" — this is the iron rule of assessment.


2. The map of attack classes — grasp in three layers

The PortSwigger Web Security Academy organizes vulnerabilities into three layers by learning difficulty. This cluster goes deep along this structure too.

2.1 Server-side (the foundation to learn first)

You only need to understand what happens on the server, making it ideal for beginners.

  • SQL injection — intervene in the query to read/write the DB. UNION, blind, time-based.
  • OS command injection — inject arbitrary commands into the server's shell.
  • SSRF — make the server request internal resources (cloud metadata, etc.).
  • Server-side template injection (SSTI) — inject template syntax to reach RCE.
  • Broken access control (IDOR) — touch others' resources. OWASP A01, most frequent.
  • Path traversal / file upload / XXE / NoSQLi

2.2 Client-side

Exploit behavior on the browser side.

  • Cross-site scripting (XSS) — reflected, stored, DOM. Execute JS in the victim's browser.
  • CSRF / CORS misconfiguration / clickjacking / WebSockets

2.3 Advanced topics

Requiring broader prerequisite knowledge.

  • JWT attacks — signature-verification flaws, alg confusion, key brute force.
  • Authentication vulnerabilities — enumeration, brute force, 2FA bypass.
  • Insecure deserialization / HTTP request smuggling / GraphQL / web cache poisoning / prototype pollution / Web LLM attacks

The compass for what to prioritize searching for is always the OWASP Top 10:2025. In real environments and CTFs alike, A01 "broken access control" and A03 "injection" are overwhelmingly frequent.


3. Tools are subordinate to methodology

The more of a beginner you are, the more your eyes go to "which tool to use," but tools are merely the instruments of methodology. At the center is always an intercepting proxy like Burp Suite, and the iteration of observe the traffic → form a hypothesis → change just one variable and resend → observe the difference.

# 方法論の核:1つの仮説を、1つの変数で検証する(Burp Repeater)
GET /api/orders/1023 HTTP/1.1     # ← 仮説:「IDを変えたら他人の注文が見えるのでは?」
Host: lab.example                  #    自分のlab/許可スコープのみ
Authorization: Bearer <自分のトークン>

# 1023 → 1024 に変えて再送。レスポンスの差分が、脆弱性の有無を語る。

Automated scanners (Burp Scanner / OWASP ZAP) matter too, but their roles differ.

  • Automatable (horizontal control): XSS, SQLi, known-pattern injection, header flaws. Comprehensive detection is the tools' arena.
  • Not automatable (vertical risks): IDOR, the correctness of authorization logic, tenant crossing, breaking of business rules. "Whether that's a spec violation" can be judged only by human business understanding.

4. Offense and defense are two sides of the same coin

Each spoke of this cluster always shows "how to prevent it by design" paired right after explaining "how to attack." This isn't mere conscience; it's because the most valuable assessors are those who can design defenses.

Attack classEssence of the attackDefense by design
SQLiInput mixed into the query structureParameterized queries (placeholders)
XSSIgnoring context at output timeContext-specific output encoding + CSP
SSRFLeaving the URL's destination to inputAllowlist + metadata blocking (IMDSv2)
JWTCutting corners on signature verificationFixed algorithm + strict signature verification
AuthenticationGuessable, enumerableRate limiting + constant error responses + MFA
SSTIConcatenating input into a templateDon't make user input a template

The more one understands attacks, the more they can proactively point out "this breaks here" in a design review. I myself, while building an METI-Minister's-Award-winning B2B SaaS and a payments platform with 0 double charges in production with one-person × generative AI, have keenly felt that "the power to build fast" and "the power to build safely" are two sides of the same coin.


5. How to walk this cluster

  1. First, put the map of attack classes and the methodology into your head with this pillar.
  2. Prepare the environment with a legal lab and set up Burp Suite.
  3. Read each spoke (SQLi / XSS / SSRF / JWT / authentication / SSTI) while getting hands-on in the lab.
  4. Once you've built strength, put it into legal real-world practice with bug bounties.

6. Summary

  • Hacking is methodology: recon → mapping → testing → exploitation → reporting. Spend the most time on mapping.
  • Hold attack classes as a map: server-side → client-side → advanced. OWASP A01/A03 are most frequent.
  • Tools are instruments of methodology: verify one variable at a time with Burp. Scanners cover; humans judge.
  • Offense and defense are two sides: always understand each attack paired with defense by design.
  • The absolute condition for legality is authorization: keep all procedures within the three safe zones.

Next, let's get hands-on starting with the complete conquest of SQL injection, the most frequent and most impactful.

For those who think "I'm anxious about whether our app can withstand these attacks." I take on actually reproducing and diagnosing the attack classes handled here on your app, and fixing them from the design. I can also visualize the current state with free OSS first. Feel free to reach out via the links at the end of the article.


References (official primary sources)

友田

友田 陽大

Developer of a METI Minister's Award–winning product. With TypeScript + Python + AWS, I deliver SaaS, industry DX, and production-grade generative AI (RAG) end to end — from requirements to infrastructure and operations — single-handedly.

What if this attack were reproduced on your app?

Web-app vulnerability assessment & penetration testing

I actually reproduce and assess the SQLi, XSS, SSRF, JWT, auth, and SSTI attacks covered here on your app, and take it through from design to fix. Only those who know the attacker's moves can preempt where it breaks at the design stage. You're welcome to visualize the current state with the free OSS first.

Available for both project-based (contract) and advisory engagements. Start with a free 30-minute consult.

Also worth reading