CVE-2024-8487CWE-346

CORS Vulnerability in modelscope/agentscope

High · published March 20, 2025

CVSS v3.0
7.4
EPSS
0%
Percentile
21.0
In the wild
Unconfirmed
What it is

⚡ A careless CORS setup is inviting trouble! The agentscope server in modelscope version v0.0.4 is wide open, letting any external domain sneak in and make API requests. 🔥 Think of it like a restaurant that forgot to check reservations — anyone can walk in and grab a table, even if they didn’t book. That’s exactly what’s happening here; untrusted domains can just stroll in and access sensitive data without a second glance! An attacker could easily exploit this flaw to access confidential information, leading to unauthorized data exposure or even worse, manipulating sensitive data. This could compromise your system's integrity and confidentiality, leaving it vulnerable to further exploitation. It's a security nightmare waiting to unfold!

Put simply

Think of it like a restaurant that forgot to check reservations — anyone can walk in and grab a table, even if they didn’t book. That’s exactly what’s happening here; untrusted domains can just stroll in and access sensitive data without a second glance! This vulnerability arises from a misconfigured CORS policy on the agentscope server, allowing any website to make requests to the API without proper origin verification, essentially bypassing intended security measures.

What to do

An attacker could easily exploit this flaw to access confidential information, leading to unauthorized data exposure or even worse, manipulating sensitive data. This could compromise your system's integrity and confidentiality, leaving it vulnerable to further exploitation. It's a security nightmare waiting to unfold! To secure your system, update to modelscope/agentscope version v0.0.5 or later, where the CORS settings have been properly tightened. Additionally, review and harden your CORS configuration to only allow requests from trusted domains. Time for a security audit! You've got this! With these adjustments, you'll have a fortress protecting your data in no time! 🛡️

The record
Technical detail
CVSS v3.0
7.4 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00295 · 21.0th percentile
Weakness
CWE-346 · Origin Validation Error
Published
2025-03-20T10:11Z
EPSS history
Timeline
  • 20 MAR 10:11Z
    CORS Vulnerability in modelscope/agentscope
    cvelistv5