Безпека застосунків
для розробників
Запустіть експлойт у справжньому браузері проти навмисно вразливого застосунку, а потім напишіть виправлення, яке його зупиняє.
22 практичних вправ за OWASP Top 10 для вебзастосунків. Безкоштовно, без реєстрації.
OWASP Top 10 для вебзастосунків
Clickjacking
Steal a click on a bank approval button.
- Overlay a transparent iframe
- Capture a real approval
- Ship CSP frame-ancestors
Command Injection
Chain a second command onto a server-side tool.
- Tamper a captured request
- Watch server secrets leak
- Ship argument-list execution
Components with Known Vulnerabilities
Get code execution through an outdated library.
- Exploit a published CVE
- Run commands via a crafted upload
- Bump the version and scan in CI
Cross-Site Request Forgery
Move money from a page the victim never trusted.
- Auto-post a cross-site transfer
- See why cookies ride along
- Add per-session tokens and SameSite
Directory Traversal
Read system files through a download link.
- Escape the intended folder
- Pull /etc/passwd from the server
- Canonicalise, then verify
DOM XSS
Trigger XSS the server never sees.
- Hide a payload in the URL hash
- Trace an unsafe innerHTML sink
- Swap to textContent
Forced Browsing
Pull an employee PII export from an unlinked route.
- Reach an "internal" URL anonymously
- See why obscurity is not access control
- Enforce auth server-side
Horizontal Privilege Escalation
Change one digit and read another customer.
- Walk an IDOR from both sides
- Enumerate sequential record ids
- Add the missing ownership check
Host Header Injection
Redirect a password-reset email to a lookalike domain.
- Forge the X-Forwarded-Host header
- Steal the clicked reset token
- Pin a configured base URL
Insecure URL Redirect
Hide a phishing page behind a real login.
- Abuse the next parameter
- See why the domain looks right
- Allow relative targets only
Leftover Debug Code
Pull production secrets from a forgotten debug route.
- Find an env-dumping endpoint
- Read JWT and database secrets
- Fail closed with an allow-list
PII in URL
Lift personal data straight out of a link.
- Spot identifiers in query strings
- Follow the leak into logs and referrers
- Rewrite to opaque tokens
Reflected XSS
Craft a malicious URL that runs the moment it opens.
- Reflect a payload off a search page
- Understand the victim-clicks-link flow
- Escape at the render boundary
Server-Side Request Forgery
Make the server fetch its own cloud credentials.
- Abuse a link-preview feature
- Reach the metadata endpoint
- Validate outbound destinations
Session Fixation
Plant a session id and inherit the victim login.
- Fix a known id on the victim
- Watch login reuse it
- Regenerate on every login
SQL Injection
Dump a database through one unguarded lookup form.
- Exploit a tautology payload
- Exfiltrate tables with UNION SELECT
- Ship the parameterized fix
Stored XSS
Plant a script in a comment and watch it fire.
- Store a payload in user content
- See it execute for the next visitor
- Escape output at render time
Token Exposure in URL
Replay a session token harvested from a referrer log.
- Catch a token in a redirect URL
- Replay it into a live account
- Move it to an HttpOnly cookie
User Enumeration
Harvest a verified customer list from a login form.
- Read differing error bodies
- Measure response-time leaks
- Unify errors and timing
Vertical Privilege Escalation
Forge a role claim and become an administrator.
- Tamper the session token
- Jump from viewer to admin
- Verify tokens before trusting them
Weak Randomness
Predict a password-reset token and take the account.
- Sample tokens from the generator
- Recover Math.random() state
- Move to crypto.randomBytes
XXE Injection
Read the password file through an XML upload.
- Submit a crafted purchase order
- Resolve an external entity
- Disable entity resolution
Поширені запитання
Що таке навчання з безпеки застосунків?
Навчання з безпеки застосунків вчить розробників знаходити й усувати ті класи вразливостей, які зловмисники справді експлуатують: ін’єкції, порушений контроль доступу та міжсайтовий скриптинг. Воно розраховане на тих, хто пише код, а не на всіх працівників.
Кожна вправа занурює вас у симульовану робочу станцію зі справжнім браузером і навмисно вразливим вебзастосунком. Ви самі проводите атаку, а потім застосовуєте безпечний патерн, який її закриває.
Які ризики з OWASP Top 10 охоплюють ці вправи?
Курс охоплює ін’єкції (SQL і команд), порушений контроль доступу (горизонтальна та вертикальна ескалація привілеїв, примусовий перегляд), збої криптографії й автентифікації (слабка випадковість, фіксація сесії) та помилки конфігурації (залишений код налагодження, вразливі залежності).
Міжсайтовий скриптинг розглянуто в усіх трьох формах: збережений, відображений і DOM-базований. Кожна вправа поєднує експлойт із виправленням.
Чи потрібно вміти програмувати?
Базове знайомство з веброзробкою допоможе, адже виправлення показані як зміни в коді, наприклад заміна конкатенованого запиту на параметризований.
Писати код з нуля не потрібно. Вправи проводять вас через читання вразливого обробника, пошук помилки та розбір виправленої версії.
Чи задовольняє це вимоги PCI DSS щодо безпечного кодування?
Вимога PCI DSS 6.2 стосується безпечної розробки, а 12.6 — обізнаності персоналу. Розробники, чий код працює з даними платіжних карток, підпадають під обидві.
Ці вправи забезпечують практичну частину безпечного кодування, а записи про проходження експортуються у вашу LMS через SCORM або LTI як доказ для аудиту.
Подивіться RansomLeak в дії
Спробуйте безкоштовні вправи або замовте демо, щоб побачити аналітику, експорт SCORM, SSO та індивідуальний контент у вашому середовищі.