Skip to content

SEC: User and Agent Enumeration via differential API responses #186

Closed

Description

@vybe

Pentest Finding 3.3.3 — Low (CVSS 2.0)

User Enumeration

Location: POST /api/auth/email/request

  • Unregistered email → "If your email is registered, you'll receive a code shortly"
  • Registered email → "Verification code sent to your email" with expires_in_seconds
  • Response difference confirms whether email exists in the system

Agent Enumeration

Location: 30+ endpoints including GET /api/agents/{name}, /logs, /schedules, /playbooks, /info, /activities, /capabilities, /executions, /git/*, /public-links, /tags, /notifications, /monitoring

  • Non-existent agent → 404 "Agent not found"
  • Existing but inaccessible agent → 403 "Access denied to agent"
  • Response difference confirms agent existence

Remediation

  • Email: Return the same generic message regardless of email existence (e.g., "Further instructions have been sent to your email address")
  • Agent: Return 403 "Access denied" for both non-existent and inaccessible agents (don't distinguish 404 vs 403)

References

Source: UnderDefense Web Pentest Report, March 2026

Activity

  1. added
    priority-p2
    security
    pentest
    severity-low
    on Mar 26, 2026
  2. added
    complexity-low
    theme-security
    on Jun 3, 2026
  3. added
    status-ready
    on Jun 14, 2026
  4. AndriiPasternak31 commented on Jul 4, 2026

    @AndriiPasternak31
    Contributor

    /claim

  5. added
    status-in-progress
    and removed
    status-ready
    on Jul 4, 2026
  6. 19 remaining items

  7. removed
    status-in-dev
    on Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

complexity-lowpentestpriority-p2securityseverity-lowtheme-securitytype-bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions