Skip to content

Web application penetration testing in Bahrain and Saudi Arabia

Find out what an attacker could do with your web application: read other users’ data, skip a payment step or take over an account. Our testers sign in as each of your user roles and test the application by hand, beyond what a scanner can see, then show your developers how to fix what they find.

What we focus on

Access
Who can see and change what, across every user role
Logic
Workflows, payments and approvals that can be misused
APIs
The endpoints behind the interface, not only the screens
Retest
A second test, when in scope, to confirm the fixes work

What we test

Every part of the application an attacker can touch

A scanner checks pages for known patterns. A penetration test looks at how the application behaves: who it lets in, what it lets them do, and what it trusts. Select a part of the application to see what we test there.

Select a part of the application

1

Sign-in and accounts

What we test

  • Login, registration and password reset
  • Multi-factor authentication and ways around it
  • Account lockout and password guessing
  • Messages that reveal which accounts exist

What can go wrong

A password reset link that never expires, or can be used twice, lets someone take over an account without knowing the password.

Testing depth

Black, grey or white box: how much testers start with

The more testers are given at the start, the less time goes on guessing and the more goes on finding real problems. Move the switch to see what each approach means.

User accountsgiven to testers
API documentsgiven to testers
Architecturenot given to testers
Source codenot given to testers

Grey box

Testers get an account for each role, like an attacker who has signed up or stolen a login.

Testers get
Test accounts for every role in scope, and API documentation where it exists.
Best when
Most web applications. It tests what signed-in users can do, which is where access control and business logic flaws hide.
Trade-off
Testers don’t see the code, so some flaws can only be inferred from how the application behaves.

Giving testers accounts or documentation usually finds more in the same time than starting with nothing. In Bahrain, the CBB Rulebook (OM-5.5) asks licensees for both grey-box and black-box testing.

What you receive

Findings your developers can act on

The report opens with an executive summary for management. Behind it, every finding follows the same structure. Point at a note to see which part of a finding it describes.

WEB-07

Customers can open other customers’ invoices

High

Affected

GET /api/v1/invoices/{id}

Tested as

Customer (standard account)

Steps to reproduce

  1. 1.Sign in as customer A and open one of your own invoices.
  2. 2.In the request, change the invoice number to one that belongs to customer B.
  3. 3.The server returns customer B’s invoice in full.

Evidence

GET /api/v1/invoices/10482 HTTP/1.1
Authorization: Bearer
HTTP/1.1 200 OK
{ "invoice": 10482, "customer": "",
"email": "", "total": "" }

Impact

Any signed-in customer can read every invoice, including names, email addresses and amounts.

Remediation

Before returning a record, check on the server that it belongs to the signed-in user. Apply the same check to every endpoint that takes a record ID.

Retest

Fixed, confirmed on retest

Illustrative example written for this page. It is not taken from a client report.

How a web application test works

  1. 01

    Discovery

    We learn what the application does, who uses it, and the release, audit or customer requirement behind the test.

  2. 02

    Scoping and authorisation

    We agree the URLs, environments, user roles, APIs and exclusions, and you sign written authorisation before testing starts.

  3. 03

    Testing

    Manual testing of each part of the application, signed in as each role in scope. Critical findings are reported to you straight away.

  4. 04

    Reporting

    An executive summary and detailed findings with risk ratings and remediation steps, walked through with your developers.

  5. 05

    Remediation support and retest

    Help fixing findings where you want it, and a retest to confirm the fixes work.

FAQ

Web application penetration testing: frequently asked questions

Can’t find what you’re looking for? Contact our team.

  • A scan looks for known weaknesses automatically. In a penetration test, testers sign in as each user role and try to misuse the application by hand, which finds problems a scanner cannot see, such as broken access control and business logic flaws. If a regulator or customer asks for a penetration test, check that the proposal includes manual testing.

Next step

Tell us about the application you want tested

Share the application’s address, its user roles and the reason for the test, such as a release, an audit or a customer requirement. A member of our team will contact you to agree the scope.