Skip to content

CRITICAL: SSRF vulnerability in Cron job handler #680

Description

@poyrazK

Why is this an issue?

In internal/core/services/cron_worker.go:74, TargetURL is used directly in HTTP requests without validation. Attackers can schedule cron jobs to hit internal endpoints.

What is causing it?

req, err := http.NewRequestWithContext(ctx, job.TargetMethod, job.TargetURL, ...)

How can it be solved?

Add URL validation like Gateway SSRF fix - block private IP ranges and cloud metadata endpoints.

Category

  • Small
  • Medium
  • Large

Severity

  • Low
  • Medium
  • High
  • Critical

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions