A public web application accepts input from strangers and acts on it with the organization's authority. A login form, a search box, a file upload, a reference number in a request — each is a door where words from outside become actions inside. Web application attacks are the families that turn that fact against the application itself.

This concept teaches those families at knowledge level: what each is called, what it looks like in a description or a log, and which practice answers it. The skill is classification and defense, learned in both directions — description to family, family to discipline.

Injection: when data is obeyed as instructions

The family that organizes the rest is injection. Input from a user is treated by the application not as inert data but as instructions — to its database, its operating environment, or another user's browser — because the application failed to keep data and commands apart.

The most examined member targets the database behind a login or search form: the application builds its database questions partly out of what the user typed, and crafted input changes the question being asked. The defender answers are consistent. First, parameterized queries: the question is fixed in structure, and user input can only fill in values, never rewrite it. Second, input validation against what the field should legitimately contain. Third, least privilege for the application's database account, so even a successful manipulation meets an account that can do little.

If a described defense says the application separates its instructions from user data by construction, you are in injection territory, whatever the surface details look like.

Scripting: when your pages are turned against your users

Cross-site scripting is injection's cousin, with a different victim. Hostile script content is stored by, or reflected through, an application, and then runs in another user's browser, inside the trust of the real site.

Classify by victim. Injection into a database harms through the data; scripting harms through other people's browsers, acting as the user whose browser it is. The defenses are aimed differently: treat all displayed content as data, never as code, encoding output so a browser displays it rather than obeying it, and validate what is accepted and stored.

That trust is the asset at risk: a visitor has no reason to doubt a page served under your name.

The supporting families each carry a signature

Broken access control means the application checks who you are but not whether you may do this; reaching another customer's records by changing a reference in a request is the classic description. The defense is authorization checked on the server, for every object, every time.

Security misconfiguration means the application or server was left in an arrival or debug state: verbose errors describing the internals to strangers, default pages and accounts, unnecessary features still enabled. The defense is a deliberate, hardened configuration.

Vulnerable components mean the application was built on a library or plug-in with a published weakness. The defense is inventory and patching of what you are actually built from — you cannot patch a component you do not know you are running.

File upload abuse means a feature that accepts files accepts something it should not, or stores it where it can be misused. The defenses constrain type, place, and treatment of everything uploaded.

Authentication failures belong jointly here and to the wider study of system access. The routes differ, but the credential defenses rhyme.

Every family above is a failure of a discipline — separation, authorization, configuration, inventory, or constraint. Exam questions therefore describe a failure and ask either which family it is, or which discipline answers it. Learn both directions and these questions become the most predictable in the paper.

Read the description backwards

One habit ties the families together: read a web description backwards, from the asset to the input.

Start from what was harmed — a database's contents, another user's session, a stranger's order, the server's own files — and walk back to the door: which input, on which page, trusted in which way it should not have been. Candidates who read forwards get lost in surface detail, because web pages all look alike. Those who read backwards find the classification in two steps, because each asset is harmed through its own characteristic door.

Practice it on a customer portal. Order data harmed: through an authorization door or a database door? A customer's browser acting against her: through displayed content that was obeyed rather than shown. The harm names the family; the door names the discipline. And the discipline, stated plainly, is what a supplier can be held to in a contract — which is where, for a firm that buys its portal rather than building it, this knowledge is actually spent. The buyer writes the questions its builders must answer, and the acceptance checks those answers must survive. For most organizations, that is the only use there is.

Mostly information is not a defense

The misconception to correct is the reassuring one: web attacks are a problem for websites that take payments, and a mostly information portal has little to attack. These families do not need a payment page.

Injection targets the database behind any form. Scripting targets your users' trust in your pages, which a small firm's reputation can afford to lose least of all. Broken access control exposes whatever records the application can reach, and mostly information portals usually sit in front of customer, order, and account data. If strangers can type into it and it acts on what they type, it is in this concept. The only open question is which family arrives first.

Name the asset, trace the door, state the discipline, and input becomes a managed risk.

Experience it, don’t just read about it

Input treated as instructions, and the attack families that follow when data and commands are not kept apart, is Concept 10 of CEH Readiness: The Ethical Hacking Credential, at Knowledge Level (Course No. 514), from Cognosco Learning, a learning company powered by AI. The course builds ethical hacking readiness beyond this distinction — Vulnerability Analysis — From "It Answers" to "It Is Weak", Countermeasure Selection — Defense in Depth, in Proportion, and Law, Ethics and Authorization — The Line That Makes the Work Legitimate — each worked through with an Agentic Socratic AI coach, one learner at a time. Try a Free Preview at cognoscolearning.com.

Try a Free PreviewAll Signature CoursesThe Corporate License

Navigate your own course.

← All Insights

© 2026 Cognosco Learning. All rights reserved.