If you run a website, a customer portal or a mobile app with a web backend, sooner or later someone — a client, an investor or an auditor — will ask: “Has this been penetration tested?” This guide explains what a web application penetration test actually is, what happens during one, and how to get real value from it — in plain English.
What is a web application penetration test?
A web application penetration test (often called a web app pentest) is an authorised, simulated attack on your application. A security tester tries to break in the same way a real attacker would — but with your written permission, within an agreed scope, and with the goal of helping you fix every weakness they find.
The output is a report that explains each vulnerability, how serious it is, how it was proven, and exactly how to fix it.
Penetration test vs. vulnerability scan
These two are often confused, but they are very different:
- A vulnerability scan is automated. A tool checks your site for known issues — outdated software, missing security headers, common misconfigurations. It is fast and useful, but it produces false positives and misses anything that needs human thinking.
- A penetration test is led by a person. The tester uses tools and manual techniques to chain small weaknesses together, test business logic, and prove real impact.
A simple example: a scanner will rarely notice that changing order_id=1043 to order_id=1044 in a request shows you someone else’s order. A human tester checks this on purpose. This flaw — called IDOR or broken access control — sits at number one on the OWASP Top 10 list of web application risks.
What does a pentester actually test?
A good web app pentest follows a recognised methodology such as the OWASP Web Security Testing Guide (WSTG). Typical areas include:
- Authentication: login, password reset, multi-factor authentication, account lockout.
- Session management: how cookies and tokens are created, protected and expired.
- Access control: can a normal user reach admin functions, or see another user’s data?
- Injection: SQL injection, command injection and cross-site scripting (XSS).
- Business logic: changing prices, reusing coupons, skipping payment steps.
- File uploads, configuration and error handling: what leaks when something goes wrong.
Black box, grey box or white box?
- Black box: the tester gets only the URL — like an outside attacker. Realistic, but slower and less thorough.
- Grey box: the tester gets test accounts for each user role. This is the most common and usually the best value, because access-control flaws between roles can be tested properly.
- White box: the tester also gets source code or architecture details. The deepest coverage, often combined with a source code review.
How a typical engagement runs
- Scoping: agree what is in scope (domains, APIs, user roles), what is out of scope, and the testing window.
- Authorisation: a signed agreement and NDA. Testing without written permission is illegal — in India, under the IT Act, 2000.
- Reconnaissance and mapping: the tester maps every page, parameter and API call.
- Testing and exploitation: manual and tool-assisted testing to find and safely prove vulnerabilities.
- Reporting: every finding with a severity score, evidence and remediation steps.
- Retest: after your developers fix the issues, the tester confirms they are really closed.
What should be in the report?
The report is what you are really paying for. A useful pentest report includes:
- An executive summary in plain language for management.
- A severity rating for each finding — usually using CVSS — so you know what to fix first.
- Steps to reproduce and screenshots, so your developers can see the problem themselves.
- Clear remediation guidance — not just “validate input”, but how and where.
You can see what this looks like in our sample reports, built on intentionally vulnerable practice applications.
How much does a web application pentest cost?
There is no single price, because the effort depends on a few things:
- Size: the number of pages, forms, API endpoints and user roles.
- Depth: black, grey or white box; whether APIs and mobile backends are included.
- Complexity: payment flows, multi-tenant setups and custom business logic take longer to test properly.
- Retesting and compliance needs: some standards require specific evidence or formats.
Be careful with offers that look too cheap: a “pentest” that is really just an automated scan with a logo on the report will not find the logic flaws that cause real breaches. Ask any provider for a sample report before you commit.
How often should you test?
A good rule of thumb: test before a major launch, after significant changes (new payment flow, new user roles, a big redesign) and at least once a year. Many security standards and enterprise clients expect an annual test.
Key takeaways
- A pentest is an authorised, human-led simulated attack — much deeper than a scan.
- Grey-box testing with real user roles usually gives the best value.
- The report and the retest matter as much as the testing itself.
- Always get written permission, a clear scope and an NDA in place first.
Need a security test? Bugfynd offers manual web application, API, thick client and source code security testing with CVSS-rated reports and a free retest. Book a free 30-minute consultation or see our sample reports.
