Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
EC-Council logo

EC-CouncilCertified Penetration Testing Professional

Domain 3Objective 1

Web Application Penetration Testing CPENT Practice Questions (Page 12)

Part of the Web and API Penetration Testing domain, which makes up ~15% of our current practice bank.

63questions here
13free pages
16concepts

Questions 56–60

  1. 56application · medium

    You are testing a multi-tenant SaaS application. User A (role: 'user') discovers that by changing the 'role' parameter from 'user' to 'admin' in an HTTP POST request to the profile-update endpoint, they gain administrative privileges. The application also allows User A to access another tenant's data by modifying the 'accountId' parameter in a GET request. Which two vulnerabilities are present, and what is the most appropriate combined remediation?

    Select an answer first
  2. 57expert · hard

    You are testing a multi-tenant SaaS application. Each tenant has its own data, and users can belong to multiple tenants. You find that by changing the 'tenant_id' parameter in a request, you can access another tenant's data. The application uses a single database with a tenant_id column for data isolation. Which finding and remediation is most appropriate?

    Select an answer first
  3. 58application · medium

    You are testing an online banking application. The 'transfer funds' form does not include an anti-CSRF token, and the application relies solely on cookies for authentication. You want to prove that a logged-in user can be tricked into transferring money to an attacker-controlled account. Which proof-of-concept is most effective?

    Select an answer first
  4. 59expert · hard

    You have found a stored XSS vulnerability in a comment field. The application uses a Content Security Policy (CSP) that restricts scripts to the same origin and blocks inline scripts. However, you notice that the CSP allows 'unsafe-eval' and the application uses a JSONP endpoint that reflects user input. Which technique could you use to execute JavaScript despite the CSP?

    Select an answer first
  5. 60expert · medium

    You are testing a multi-tenant application. User A (role: 'user') discovers that by modifying the 'accountId' parameter in a GET request, they can access another tenant's data. The application also allows User A to change their role by sending a POST request with 'role=admin'. Which two vulnerabilities are present, and what is the most appropriate combined remediation?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “CPENT” is a trademark of its owner, used for identification only.