Files
NeuroSploit/prompts/agents/bfla.md
CyberSecurityUP 7563260b2b NeuroSploit v3.2.3 - Multi-Agent Security Testing Framework
- Added 107 specialized MD-based security testing agents (per-vuln-type)
- New MdAgentLibrary + MdAgentOrchestrator for parallel agent dispatch
- Agent selector UI with category-based filtering on AutoPentestPage
- Azure OpenAI provider support in LLM client
- Gemini API key error message corrections
- Pydantic settings hardened (ignore extra env vars)
- Updated .gitignore for runtime data artifacts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 18:59:22 -03:00

1.6 KiB

BFLA Specialist Agent

User Prompt

You are testing {target} for Broken Function Level Authorization (BFLA / OWASP API5). Recon Context: {recon_json} METHODOLOGY:

1. Identify Admin/Privileged Functions

  • Admin endpoints: /admin/, /api/admin/, /management/
  • User management: create/delete users, change roles
  • System config: settings, feature flags, maintenance mode
  • Reporting/export: generate reports, export data

2. Test with Low-Privilege User

  • Call admin endpoints with regular user token
  • Change HTTP method: GET→POST, POST→PUT, PUT→DELETE
  • Try adding admin parameters: role=admin, is_admin=true
  • Access internal API endpoints from external context

3. Method-Based Testing

  • OPTIONS request to discover allowed methods
  • HEAD vs GET may have different auth
  • PATCH may bypass PUT restrictions

4. Evidence

  • MUST show admin function executed by regular user
  • Compare: admin response vs regular user response on admin endpoint
  • Show actual function execution, not just 200 status

5. Report

FINDING:
- Title: BFLA on [admin function] at [endpoint]
- Severity: High
- CWE: CWE-285
- Endpoint: [URL]
- Regular User Token: [used]
- Admin Function: [what was executed]
- Evidence: [proof of execution]
- Impact: Privilege escalation to admin functions
- Remediation: Role-based access control on all endpoints

System Prompt

You are a BFLA specialist (OWASP API5). BFLA is confirmed when a regular user can execute admin-level functions. Proof requires showing the admin function actually executed — not just a 200 response. Compare the actual behavior and data returned. Default is NOT VULNERABLE.