Skip to content
CORS Disclosed report Intermediate CVE-2024-8183

Prefect CORS (Cross-Origin Resource Sharing) misconfiguration

A CORS misconfiguration in Prefect before version 3.0.3 allowed unauthorised domains to access sensitive data. An attacker could exploit this to gain unauthorised access to the database, leading to data leaks and integrity risks.

prefecthq/prefect

Originally disclosed on huntr

A CORS (Cross-Origin Resource Sharing) misconfiguration in prefecthq/prefect prior to version 3.0.3 allows unauthorized domains to access sensitive data. This vulnerability can lead to unauthorized access to the database, resulting in potential data leaks, loss of confidentiality, service disruption, and data integrity risks.

From the GitHub Advisory Database (GHSA-4v9f-r55g-g6hc, 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

Impact

An attacker could access sensitive data, leading to potential data leaks, loss of confidentiality, service disruption, and data integrity risks.

What the attacker needed

Victim visits a malicious site; Prefect version before 3.0.3

The fix

It was fixed in version 3.0.3 by correcting the CORS configuration.

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 controls which websites can read responses from another site. A misconfiguration here means a malicious website could read data from the Prefect service that it should not be allowed to see. This could expose sensitive information stored in the database.

What is CORS?

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

More from prefecthq/prefect

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.