PENTESYS POINT OF VIEW · WEB RISK · 6 min read
Part of Expose insights →Web Application Security Risks: Code, Identity and Cloud
Web application security risks often come from how systems work together. A web interface, its APIs, the identity service and cloud storage may all support one customer journey. Review the whole journey to see how each part protects the service.
Technical review lead: James Hinton · Offensive security lead
Web application security risks often come from how systems work together. A web interface, its APIs, the identity service and cloud storage may all support one customer journey. Review the whole journey to see how each part protects the service.
Summary
Map the systems that support the service. Confirm ownership and written permission before agreeing the scope. Review access rules and business workflows across the approved components, then give each finding an owner and record how the fix will be checked.
Map the application and its dependencies
A web application often relies on APIs, identity providers, third-party services and cloud infrastructure. Map the components that support each important user journey. Write down who owns each part, what data it uses and who handles the next step.
Take an online order as an example. The website shows the order, a separate service updates it and a cloud store holds related records. Put those parts on one page. Ask each owner to confirm what their system does and who is responsible when the order passes to another team.
Agree the scope and written authorisation
Start with the business service and the user journeys you need to assess. Agree which web applications, APIs, identity services and customer-controlled cloud components are in scope. Record exclusions, safeguards and written authorisation from the relevant system owners. List third-party dependencies and confirm any separate permissions before testing them.
Keep the scope in a shared record. Include the owner, review date and what each team has approved. If the service changes before work starts, update the record and check the approval again. This gives everyone the same version to work from.
Review what each role is allowed to do
Authentication confirms identity. Authorisation decides which data and actions that identity can access. Document what customers, administrators and service accounts are meant to do. Check that the same rules apply wherever people use the service.
Make a simple table of roles and the tasks each role needs. Ask the service owner to confirm it. A support role might need to view orders to help customers. A finance role might need to approve refunds. Keep the agreed table so teams can review access when duties change.
Use business logic testing to assess workflows
Business logic testing checks whether the application enforces the rules behind a workflow. Start with the expected behaviour and the business impact if a control fails. For example, a refund should require the right approval and leave an audit record. A human reviewer can assess whether the evidence supports that expectation.
Ask the team that owns the workflow to describe what should happen and what record it should leave. For a refund, the record could show who approved it and when. Agree who will review that evidence so each finding can be tied to a clear business rule.
Apply the same access rules to APIs
APIs support many of the same workflows as the web or mobile interface. Review whether the application and its APIs apply the same access rules, protect sensitive data and keep the records your team needs to investigate an incident.
Include relevant cloud dependencies
Cloud storage, workload identities and deployment services may support the application behind the scenes. Identify which components your organisation controls and which are managed by providers. Review permissions and data protection across the components in scope. Record supplier dependencies and gaps in evidence for follow-up.
Assess fintech and other transaction-driven applications
For a payment or account workflow, document who can start, approve and review a transaction. Use authorization testing to check that each role has the permissions it needs across the systems in scope. Use the findings to decide which controls need attention. The report should state which systems and controls the assessment covered.
Record what the assessment covers
A penetration test provides evidence about the agreed scope at a point in time. Record the exclusions, limitations and significant changes since the test. Use the findings to assign fixes and decide which controls to verify again.
Give each fix a named owner and a due date. Keep a short note on what changed and what evidence shows the fix works. Review the scope again when the service gains a new provider, stores new data or changes how people sign in.
Connect discovery, testing and follow-up
Expose helps teams identify changes in their external exposure. Use what you learn to update your list of systems and review the approved scope. Validate supports authorised testing of the agreed application and API scope. Use the results to prioritise fixes and record follow-up evidence.
What to do next
- Map the app, APIs, identity services and cloud dependencies.
- Confirm ownership, written authorisation and exclusions.
- Agree which roles and business workflows the assessment should cover.
- Record limitations, fix owners and follow-up checks.
Q&A
Why review systems beyond the web interface?
The interface depends on other services to handle identity, data and transactions. Mapping those dependencies helps you see which controls and owners affect the same business service.
What should the testing scope include?
Record the agreed user journeys, systems, permissions and exclusions. Confirm who can authorise testing for each system, especially where a supplier operates it.
How do authentication and authorisation differ?
Authentication confirms who a user or service is. Authorisation limits what that identity can see or do.
What does business logic testing examine?
It checks whether the application enforces the rules of a business workflow, such as who can approve a refund and what evidence is recorded.
When should we review the scope again?
Review it after major changes to the service, its connections or access controls. Use the review to decide whether existing evidence still applies.
About this article
Published by the Pentesys Editorial Team. This Point of View brings together earlier Pentesys analysis and sets out our current recommendations.
Use the essential guide for the wider scope, process and buying context behind this analysis.
Read “External Attack Surface Management: Reduce Unknown Exposure” →This Pentesys Point of View article consolidates our earlier published analysis and presents our current position, practical implications and recommended action.





