Skip to content
Info disclosure Disclosed report Intermediate CVE-2021-3818

Reliance on Cookies without Validation and Integrity Checking in getgrav/grav

The application relies on cookies without validating their integrity or restricting their path, allowing a cookie set with an overly broad path to be read by other applications on the same domain. An attacker who controls a less secure application on the same domain could access sensitive session cookies and compromise the more secure application.

getgrav/grav

Originally disclosed on huntr

grav is vulnerable to Reliance on Cookies without Validation and Integrity Checking. A cookie with an overly broad path can be accessed through other applications on the same domain. Since cookies often carry sensitive information such as session identifiers, sharing cookies across applications can lead a vulnerability in one application to cause a compromise in another.

From the GitHub Advisory Database (GHSA-cg3q-59w7-rvc2, 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 application sets cookies without a restrictive path or integrity checks, allowing other applications on the same domain to access them.

Impact

An attacker who controls another application on the same domain could read sensitive cookies and potentially compromise the victim's session.

What the attacker needed

Attacker controls another app on same domain

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.

Cookies are small pieces of data that websites store in your browser, often to remember who you are. If a cookie is not protected properly, another website on the same domain might be able to read it. This report says that because the cookie's path is too broad, other apps on the same domain can access it, which could let an attacker steal your session.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from getgrav/grav

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.