Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-8489— CSRF due to overly permissive CORS headers in modelscope/agentscope

Quick assessment

Affected
modelscope modelscope/agentscope
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

AgentScope是ModelScope开源的一个应用程序。更简单地构建基于 LLM 的多智能体应用。 AgentScope存在跨站请求伪造漏洞,该漏洞源于AgentScope Studio后端服务器的CORS头配置过于宽松,允许跨站请求伪造,攻击者可以访问所有后端端点并读取目标本地文件系统上的任意文件。

AI Predicted 6.5 Difficulty: Easy EPSS 0.23% · P13
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-8489

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
CSRF due to overly permissive CORS headers in modelscope/agentscope
Source: CVE Program / CVE List V5
Vulnerability Description
A vulnerability in modelscope/agentscope, specifically in the AgentScope Studio backend server, allows for Cross-Site Request Forgery (CSRF) due to overly permissive CORS headers. This issue affects the latest commit on the main branch (21161fe). The vulnerability permits an attacker to access all backend endpoints, including the `api/file` endpoint, enabling the reading of arbitrary files on the target's local file system through CSRF.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
跨站请求伪造(CSRF)
Source: CVE Program / CVE List V5
Vulnerability Title
AgentScope 跨站请求伪造漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
AgentScope是ModelScope开源的一个应用程序。更简单地构建基于 LLM 的多智能体应用。 AgentScope存在跨站请求伪造漏洞,该漏洞源于AgentScope Studio后端服务器的CORS头配置过于宽松,允许跨站请求伪造,攻击者可以访问所有后端端点并读取目标本地文件系统上的任意文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
modelscope modelscope/agentscope unspecified ~ latest -

II. Public POCs for CVE-2024-8489

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-8489

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-8489 (1)

Same Patch Batch · modelscope · 2025-03-20 · 9 CVEs total

CVE-2024-8556 Stored XSS in modelscope/agentscope
CVE-2024-8501 Arbitrary File Download in modelscope/agentscope
CVE-2024-8551 Path Traversal in modelscope/agentscope
CVE-2024-8524 Directory Traversal in modelscope/agentscope
CVE-2024-8537 Path Traversal in modelscope/agentscope
CVE-2024-8438 Path Traversal in modelscope/agentscope
CVE-2024-8487 CORS Vulnerability in modelscope/agentscope
CVE-2024-8502 Remote Code Execution via Deserialization in modelscope/agentscope

IV. Related Vulnerabilities