SecurityContext

CVE-2024-12775: langgenius/dify - Server-Side Request Forgery

  • Cve: CVE-2024-12775
  • Name: langgenius/dify - Server-Side Request Forgery
  • Description: langgenius/dify version 0.10.1 contains a Server-Side Request Forgery (SSRF) vulnerability in the test functionality for the Create Custom Tool option via the REST API `POST /console/api/workspaces/current/tool-provider/api/test/pre`. Attackers can set the `url` in the `servers` dictionary in OpenAI's schema with arbitrary URL targets, allowing them to abuse the victim server's credentials to access unauthorized web resources.
  • Impact: Attackers can access internal or external web resources using the server's credentials, potentially leading to data exfiltration or internal network access.
  • Remediation: Update to the latest version where the SSRF vulnerability is fixed or implement input validation for the 'url' parameter.
  • Vulnerability type: server_side_request_forgery
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00661
  • Epss percentile: 0.52354
  • Assignee: [email protected]
  • Published at: 2025-03-20T10:15:30Z
  • Age in days: 614
  • Modified at: 2026-06-17T07:00:27Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-12775
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-918Server-Side Request Forgery

Public exploits

UrlSourceAdded date
https://huntr.com/bounties/e90e929a-9bc9-46ad-a5e5-1f6f124d0f12nvd2025-03-20

References

UrlSourceTags
https://huntr.com/bounties/e90e929a-9bc9-46ad-a5e5-1f6f124d0f12nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
langgenius:dify= 0.10.1nonvd/v1/products/langgenius/dify

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-03-20
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 4830
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports