Skip to main content
12 min read Beginner Web

Web Application Pentesting

Welcome to the Web Application Penetration Testing repository. You will get help with OWASP standard references, as well as common test cases that get performed in real life i.e day to day in company.

OWASP 2025 Top 10 : https://owasp.org/Top10/2025/

If you are a beginner, please follow the OWASP practical guide .

S.NTopicLink
4.0Introduction and ObjectivesClick Here
4.1Information GatheringClick Here
4.2Configuration and Deployment Management TestingClick Here
4.3Identity Management TestingClick Here
4.4Authentication TestingClick Here
4.5Authorization TestingClick Here
4.6Session Management TestingClick Here
4.7Input Validation TestingClick Here
4.8Testing for Error HandlingClick Here
4.9Testing for Weak CryptographyClick Here
4.10Business Logic TestingClick Here
4.11Client-side TestingClick Here
S.NTopicLink
1TOP 100 Vulnerabilities Step-by-Step Guide Handbook.pdfClick Here

Vulnerabilities Covered in Organization's VAPT

Note: The vulnerabilities are listed based on my experiance and common testing performed during VAPT engagements within organizations.

The vulnerability resources are currently being updated and are a work in progress. Please check back soon for the latest information.

VulnerabilityURLDescription
XSSXSSInjecting malicious scripts into web pages viewed by users.
CORSCORSInsecure Cross-Origin Resource Sharing configurations that can lead to attacks.
DeserializationDeserializationDeserialization attacks.
SQL InjectionSQL InjectionInjecting SQL queries to manipulate databases.
SSRFSSRFSending requests to unintended locations through server-side code.
Directory TraversalDirectory TraversalGaining unauthorized access to restricted directories and files.
ClickjackingClickjackingTricks users into clicking on malicious elements by overlaying transparent layers.
CRLFCRLFManipulates HTTP headers by injecting carriage return (%0d) and line feed (%0a) characters, potentially altering server responses or splitting them into multiple responses.
IDORIDORInsecure Direct Object Reference allowing unauthorized access to resources.
Open File UploadOpen File UploadAllowing file uploads without proper validation, leading to security risks.
Open RedirectOpen RedirectRedirecting users to untrusted sites without validation.
Outdated TLS VersionOutdated TLS VersionUsing outdated TLS versions that are susceptible to attacks.
Session FixationSession FixationExploiting session IDs to hijack user sessions.
Remote Code Execution (RCE)Remote Code Execution (RCE)Running arbitrary code on a remote server.
Broken AuthenticationBroken AuthenticationVulnerabilities allowing unauthorized access due to improper authentication.
Application Logic FlawsApplication Logic FlawsIssues in application logic that may lead to unauthorized actions.
Artibtray Cookies FlagArtibtray Cookies FlagInsecure cookie configurations that may expose sensitive data.
Rate LimitingRate LimitingLimiting the number of requests to mitigate attacks.
Reverse ShellReverse ShellGaining remote access to a server through a shell.
Security Header MissingSecurity Header MissingAbsence of security headers leading to vulnerabilities.
Server MisconfigurationsServer MisconfigurationsIncorrect server settings exposing the application to risks.
Server-Side Template Injection (SSTI)Server-Side Template Injection (SSTI)Injecting malicious template code on the server-side.
Back Button AttackBack Button AttackExploiting navigation history to perform unauthorized actions.
Brute Force AttackBrute Force AttackAttempts to guess passwords or cryptographic keys through trial and error.
Business Logic FlawBusiness Logic FlawErrors in the application's workflow that can be exploited.
Cheack Llist and ExploitCheack Llist and ExploitMethods to exploit vulnerabilities in checked lists.
Command InjectionCommand InjectionInjecting malicious commands into applications to execute arbitrary commands.
Cookies Related VulnerabilitiesCookies Related VulnerabilitiesIssues with cookie management that could lead to information leakage.
Credential StuffingCredential StuffingUsing stolen credentials to gain unauthorized access.
Cross-Site Request Forgery (CSRF)Cross-Site Request Forgery (CSRF)Attacking a user by sending unauthorized commands from their browser.
File InclusionFile InclusionIncluding files that can lead to information leakage or remote code execution.
HTML InjectionHTML InjectionInjecting HTML code into web applications to manipulate content.
Host Header InjectionHost Header InjectionManipulating host headers to direct requests to unintended servers.
Improper Error HandlingImproper Error HandlingInsufficient error messages that can disclose sensitive information.
Information DisclosureInformation DisclosureLeakage of sensitive information through various means.
Insecure Object StorageInsecure Object StoragePoorly secured object storage leading to unauthorized access.
Insufficient Security ControlsInsufficient Security ControlsLack of adequate security measures that expose vulnerabilities.
Insufficient Transport Layer ProtectionInsufficient Transport Layer ProtectionWeaknesses in transport layer security leading to potential attacks.
Misconfigured HTTP HeadersMisconfigured HTTP HeadersIncorrectly configured HTTP headers that can be exploited.
Path TraversalPath TraversalExploiting the file path to access unauthorized files.
Privilege EscalationPrivilege EscalationGaining elevated access rights to perform unauthorized actions.
Race ConditionRace ConditionExploiting the timing of processes to manipulate actions.
Subdomain TakeOverSubdomain TakeOverGaining control over subdomains that are not properly configured.
Unrestricted File UploadUnrestricted File UploadAllowing file uploads without validation leading to risks.
Unsecured API EndpointsUnsecured API EndpointsAPI endpoints that do not implement proper security measures.
Unvalidated Redirects and ForwardsUnvalidated Redirects and ForwardsRedirecting users without proper validation, leading to risks.
Weak CiphersWeak CiphersUtilizing outdated or weak encryption algorithms.
Web Cache DeceptionWeb Cache DeceptionExploiting web caching mechanisms to serve malicious content.
WordPressWordPressSecurity vulnerabilities associated with WordPress installations.
XML External Entity (XXE)XML External Entity (XXE)Attacking XML parsers to extract sensitive information.
TabnabbingTabnabbingRedirecting users to a different page in a newly opened tab.

Common Test Cases

Authentication & Session Issues

VulnerabilityCommon Issues Found
Broken AuthenticationLogin bypass via SQLi, default creds (admin/admin), weak password policy, no lockout, predictable flow
Weak Password PolicyShort passwords allowed, no complexity, reused passwords accepted, no history check, common passwords allowed
Credential StuffingNo rate limit, reused passwords work, no CAPTCHA, no IP blocking, no MFA
Brute ForceUnlimited attempts, no delay, no lockout, weak detection, no alerts
Session FixationSession ID not regenerated, attacker sets session, reused session after login, no validation
Session HijackingCookies stolen via XSS, no Secure flag, session reuse, no IP/device binding, predictable tokens
Missing Session TimeoutSessions valid for long time, no idle timeout, persistent login, no forced logout
Broken LogoutSession still active after logout, token not invalidated, back button access works, multiple sessions active
Concurrent LoginLogin mutiple browser or device at the same time
Cookie IssuesMissing HttpOnly, no Secure flag, no SameSite, cookies accessible via JS, weak scope
Session PredictionSequential session IDs, guessable tokens, weak randomness, predictable patterns
Two-Factor Bypass2FA optional, bypass via API, token reuse, no enforcement, backup codes weak
Password Reset FlawsPredictable tokens, no expiry, reusable links, user enumeration, no verification

Access Control Issues

VulnerabilityCommon Issues Found
IDORChange ID in URL, access other users’ data, edit profiles, download чуж files, API ID tampering
Missing AuthorizationAPI works without auth, direct URL access, frontend-only checks, no backend validation
Improper Access ControlWeak role checks, bypass restrictions, hidden endpoints exposed, inconsistent rules
Privilege EscalationUser becomes admin, role param modified, accessing restricted APIs, bypassing checks
Vertical EscalationNormal user → admin panel, admin APIs exposed, role upgrade possible
Horizontal EscalationAccess other users’ data, modify accounts, read private info
Forced BrowsingAccess hidden endpoints, guessing URLs, bypass navigation flow
Mass AssignmentExtra fields accepted, role=admin injected, hidden fields trusted
Parameter TamperingModify price, quantity, role, IDs, discount values
Business Logic FlawSkip steps, bypass payment, multiple coupon use, workflow abuse
Price ManipulationChange price client-side, intercept requests, negative values, free purchase
Missing Function Level AccessRestricted functions exposed via API, no role checks

Injection Vulnerabilities

VulnerabilityCommon Issues Found
SQL Injection' OR 1=1, data dump, login bypass, union queries, error-based extraction
Blind SQL InjectionTime-based delays, boolean-based, no visible output
NoSQL InjectionJSON injection, bypass auth, query manipulation
Command Injection; ls, && whoami, execute OS commands, chain commands
Code InjectionExecute arbitrary code, eval misuse, dynamic execution
LDAP InjectionManipulate LDAP queries, bypass login, extract directory data
XPath InjectionModify XML queries, bypass auth, extract data
SSTI{{7*7}}, access server objects, read configs, RCE
XXERead /etc/passwd, SSRF, file disclosure, DoS
CRLF InjectionHeader injection, response splitting, cookie manipulation
HTTP Parameter PollutionDuplicate params override values, bypass filters
Template InjectionUnsafe rendering of user input, server-side execution
Expression Language InjectionInject EL expressions, access server data
ORM InjectionManipulate ORM queries, bypass logic

Client-Side Issues

VulnerabilityCommon Issues Found
XSS<script> injection, cookie theft, session hijack, defacement
Stored XSSPersistent scripts, affects all users, stored in DB
DOM XSSJS handles input unsafely, URL fragment injection
ClickjackingNo X-Frame-Options, hidden iframe attacks
TabnabbingReplace original tab, phishing page
Reverse TabnabbingMissing noopener, opener access
DOM ClobberingOverwriting DOM elements, JS manipulation
Prototype PollutionModify JS objects globally
Client-Side Validation OnlyNo server validation, bypass via request
Sensitive Data in JSTokens/keys exposed in frontend

File Handling Issues

VulnerabilityCommon Issues Found
File UploadUpload web shells, no validation, MIME bypass
Unrestricted UploadExecute uploaded files, no restrictions
File Upload BypassDouble extensions, null byte bypass
LFIInclude local files, read configs
RFIRemote file execution
Path Traversal../ access system files
File Download IssuesDownload arbitrary files
Directory ListingFile structure exposed
Backup Files.bak, .old, accessible
Log File ExposureLogs readable, sensitive data inside

API & Web Services

VulnerabilityCommon Issues Found
Unsecured APINo auth, open endpoints
Excessive Data ExposureReturns unnecessary data
Lack of Rate LimitingAbuse APIs easily
SSRFAccess internal services
CORS Misconfiguration* origin, credentials allowed
GraphQL MisconfigIntrospection enabled
WebSocket IssuesNo authentication
API Versioning IssuesOld insecure APIs accessible
Improper Input ValidationNo validation on API
Insecure SerializationUnsafe data handling

Security Misconfiguration

VulnerabilityCommon Issues Found
Missing Security HeadersNo CSP, HSTS, Permission Policy X-Framer Options, X-Conten-Type Options etc.
CSP MisconfigurationToo permissive
Debug Mode EnabledInternal data leak
Verbose ErrorsStack traces
Default CredentialsAdmin/admin works
Content Type confuctionForce browser to load and executed content type
Directory Listing EnabledFile browsing
CDN MisconfigurationSensitive data cached
Third-party Script RiskExternal JS compromise
Web Cache DeceptionCached sensitive data by frontent
Third-party Script RiskExternal JS compromise
Trace Method EnableCheck if Trace Method is enabled

Data Exposure & Storage

VulnerabilityCommon Issues Found
Information DisclosureSensitive data leak
Sensitive Files Exposure.env, configs
Hardcoded SecretsAPI keys in code
Insecure StoragePlaintext passwords
Weak HashingMD5/SHA1 used
Mixed ContentHTTP in HTTPS
Referrer LeakSensitive data in headers
Browser Storage IssuesTokens in localStorage

Advanced & Logic Issues

VulnerabilityCommon Issues Found
Race ConditionDouble spending
JWT IssuesWeak secret, no validation
OAuth MisconfigToken leakage
SSO IssuesWeak trust model
CAPTCHA BypassAutomation possible
Workflow BypassSkip steps
Replay AttackReuse requests
State Management IssuesInconsistent app state

Network & Transport

VulnerabilityCommon Issues Found
Missing HTTPSHTTP used
Weak TLSWeak ciphers
Outdated TLSDeprecated versions
Host Header InjectionReset poisoning
Subdomain TakeoverDangling DNS
Web Cache IssuesCache poisoning