All Pro Labs
ASTERBUG · Web Exploitation
AsterPay Bug Bounty — The Perimeter Program
Briefing
AsterPay is a fictional Nairobi fintech running eleven public virtual hosts: marketing, storefront, API, staff console, staging, CDN, status, partner portal, docs, legacy and beta.
This is a bug-bounty style Pro Lab. The target is a single per-user instance; the subdomains are virtual hosts selected by the Host header or the first DNS label. Start at the target root for the program scope page, then work through 24 findings across the estate before recovering the per-user flag from /flag.
Every finding token is unique to your instance and derived from your private flag. The graded answers cover web reconnaissance, exposed secrets, host-header poisoning, cookie trust, SSTI, directory listing, path traversal, unrestricted upload, SQL injection, IDOR, price tampering, BOLA, mass assignment, JWT forgery, GraphQL introspection, command injection, XXE, SSRF, subdomain takeover and insecure deserialization.
Scope: use the sslip.io asset links on the program page, or send the canonical Host header with curl. Only the AsterPay virtual hosts are in scope.
Tasks & flags
25 to complete- 1 Task Reconnaissance: the marketing site's robots.txt points to a program scope file. Submit the AsterPay bounty token disclosed there.
- 2 Task Host-header poisoning: request a password reset for [email protected] with the Host header set to evil.asterpay.test. Submit the token embedded in the generated reset link.
- 3 Task The /account page trusts a client-controlled role cookie. Submit the token shown after escalating that cookie.
- 4 Task The marketing status preview renders user input as a Jinja template. Exploit SSTI to read /srv/secret/www-ssti.txt and submit its token.
- 5 Task The dev build exposes its Git metadata. Submit the deploy token found in /.git/config.
- 6 Task The dev build also exposes its environment file. Submit the backup token found in /.env.
- 7 Task The files CDN allows directory listing. Submit the token in the exposed /uploads/backup-codes.txt file.
- 8 Task The files CDN download endpoint is vulnerable to path traversal. Read /srv/secret/files-traversal.txt and submit its token.
- 9 Task The files CDN accepts Python plugins without validation. Upload a plugin, run it, and submit the token from /srv/secret/files-upload.txt.
- 10 Task The shop login is vulnerable to SQL injection. Sign in without valid credentials and submit the token shown on the dashboard.
- 11 Task The shop invoice endpoint is vulnerable to IDOR. Read invoice 1007 and submit its token.
- 12 Task The shop checkout trusts the client-supplied price. Buy the AsterPay Pro plan for KES 0 and submit the token from the order confirmation.
- 13 Task The public API exposes other users' accounts (BOLA). Request account 2 and submit the internal token.
- 14 Task The profile API is vulnerable to mass assignment. Escalate your role to admin and submit the returned admin token.
- 15 Task The API signs JWTs with a weak secret exposed in /api/v1/openapi.json. Forge an admin token, call /api/v1/admin/export, and submit the export token.
- 16 Task GraphQL introspection reveals an internal note field. Query the internal note for account 2 and submit its token.
- 17 Task The staff portal login is vulnerable to SQL injection. Bypass it and submit the dashboard token.
- 18 Task The staff diagnostics console passes input to the shell. Execute a command to read /srv/secret/admin-cmdi.txt and submit its token.
- 19 Task The staff email-template preview is vulnerable to SSTI. Read /srv/secret/admin-ssti.txt and submit its token.
- 20 Task The partner invoice parser resolves external XML entities. Use XXE to read /srv/secret/partners-xxe.txt and submit its token.
- 21 Task The developer docs viewer is vulnerable to path traversal. Read /srv/secret/docs-lfi.txt and submit its token.
- 22 Task The status checker is vulnerable to SSRF. Fetch the loopback-only token service and submit the token.
- 23 Task The legacy asset is unclaimed and served by a dangling deployment. Submit the takeover proof token at /.well-known/takeover.txt.
- 24 Task The beta preferences importer deserializes untrusted pickle data. Read /srv/secret/beta-pickle.txt and submit its token.
- 25 User flag Final objective: gain code execution on the target and submit the per-user flag from /flag.
Skills covered
- OWASP Top 10 · OWASP API Top 10 · PTES · MITRE ATT&CK