The POST /api/v2/firefighter/raid/jira_bot endpoint (CreateJiraBotView) is
reachable without authentication (permission_classes = [permissions.AllowAny]).
Its attachments payload is fetched server-side via httpx.get() with no URL
validation, then uploaded as an attachment on the Jira ticket that gets created.
An unauthenticated caller able to reach the ingress can coerce the pod into
fetching arbitrary URLs — including the cloud metadata endpoint at
http://169.254.169.254/ — and exfiltrate the response as a Jira attachment.
On EC2/EKS deployments that do not enforce IMDSv2, this allows theft of the temporary AWS credentials attached to the pod's IAM role. The docstring on the view claims a Bearer token is required, but the code does not enforce it.
Affected code paths:
src/firefighter/raid/views/__init__.py — CreateJiraBotViewsrc/firefighter/raid/serializers.py — LandbotIssueRequestSerializer.attachmentssrc/firefighter/raid/client.py — RaidJiraClient.add_attachments_to_issueFixed in firefighter-incident 0.0.54:
CreateJiraBotView now enforces BearerTokenAuthentication + IsAuthenticated.attachments URLs are validated: http(s) scheme only, max 10 URLs, rejection
of any host resolving to a private, loopback, link-local, reserved, multicast
or unspecified IP (IPv4 and IPv6).KeyError('attachments') surfaced during regression testing.Users should upgrade to 0.0.54 or later.
Until upgrade is possible, any one of the following blocks end-to-end exploitation:
/api/v2/firefighter/raid/jira_bot to trusted
networks only (VPN, internal load balancer).RAID_JIRA_API_PASSWORD;
this breaks jira.create_issue() before the vulnerable attachment fetch is
reached (legitimate traffic is also blocked — emergency...0.0.54Exploitability
AV:NAC:LPR:NUI:NScope
S:CImpact
C:HI:LA:L9.9/CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L