Level 6 · Cloud Computing, DevOps and Cybersecurity · Course 6.4 Cybersecurity
Module 75: Web App Security
Goal: know the most common ways web applications are broken into, recognise them in your own code, and fix them: injection, cross-site scripting, cross-site request forgery and misconfiguration, guided by the OWASP Top 10.
You'll need: your CRM running locally or on staging. Practise only on your own app, or on deliberately vulnerable training apps run on your own computer, such as OWASP Juice Shop.
Lessons
- 1The OWASP Top 1015–25 minutes✓
- 2SQL injection15–25 minutes✓
- 3Cross-site scripting (XSS)15–25 minutes✓
- 4Cross-site request forgery (CSRF)15–25 minutes✓
- 5Misconfiguration15–25 minutes✓
🛠️Module practice: Project D, part 3, a web application review
- A Top 10 table for your CRM: each category, where it could appear, and its status.
- Every database query checked for parameters; sort and filter allow-lists.
- XSS tests with hostile customer names across all pages; a working CSP.
- CSRF protection (SameSite, no changing GETs, Origin checks) tested from another local page.
- Misconfiguration fixes with before-and-after header scans.
✅Module check
Explain in a few sentences, in your own words:
What are the most common web application weaknesses, and how do you prevent them?
Show a good answer
A good answer mentions: the OWASP Top 10 led by broken access control; SQL and other injection prevented by
parameterised queries, allow-lists and never building code from input; XSS prevented by React's escaping, avoiding unsafe
HTML functions, sanitising rich text, safe URLs, a CSP and HttpOnly cookies; CSRF prevented by SameSite cookies, no
changing GETs, tokens and Origin checks; and misconfiguration avoided with generic errors, security headers, no exposed files
or defaults, private storage, safe uploads and regular scans, all tested only on your own systems.
📝Module quiz
10 questions · 10 marks each · 100 marks in all · pass mark 70% · retry as often as you like ·
