Skip to content
CORS Disclosed report Beginner CVE-2024-8487

AgentScope Cross-Origin Resource Sharing (CORS) vulnerability

The CORS configuration on the agentscope server did not restrict access to trusted origins, allowing any external domain to make requests to the API. This could lead to unauthorised data access and information disclosure.

agentscope

Originally disclosed on huntr

A Cross-Origin Resource Sharing (CORS) vulnerability exists in modelscope/agentscope version v0.0.4. The CORS configuration on the agentscope server does not properly restrict access to only trusted origins, allowing any external domain to make requests to the API. This can lead to unauthorized data access, information disclosure, and potential further exploitation, thereby compromising the integrity and confidentiality of the system.

From the GitHub Advisory Database (GHSA-75v5-6885-59f9, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the server reflected any Origin or used a wildcard in its CORS response headers instead of an allowlist of trusted origins.

Impact

An attacker could make requests from any external domain to the API, potentially accessing unauthorised data and disclosing information, though the text does not show a working exploit.

What the attacker needed

Victim visits a malicious page; victim has an active session

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

CORS is a browser rule that lets a website say which other websites may read its responses. Here the server allowed every website, so a malicious page could read data from the API using a logged-in user's browser. That could expose private information.

What is CORS?

A permissive cross-origin policy lets another site read responses with the user's credentials.

More from agentscope

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

CORS misconfiguration

The lesson behind this report.

A permissive cross-origin policy lets another site read responses with the user's credentials.