Lucene search

K
huntrMah1ndraB398E4C9-6CDF-4973-AD86-DA796CDE221F
HistoryApr 10, 2022 - 10:27 a.m.

Leaking password protected articles content due to improper access control

2022-04-1010:27:53
mah1ndra
www.huntr.dev
18
improper access control
leaked content
meta tags
password protection

EPSS

0.001

Percentile

26.1%

Description

Any user who can publish their article can protect it using a password before publishing. So, a valid password to the article is required to view the contents of the article. But when a request is made to article /2022/04/10/<article-title> the UI show it requires a password to view content. But the content of the article is leaked in meta tags of the response.

Proof of Concept

Steps to Reproduce:

  1. Login to app as Admin and create an article and protect it with a password and publish it
  2. Now, login as a demo user and navigate to the newly published article. You can see the UI shows it requires a password to view.
  3. But the content of the article is already leaked in the meta tags of the response body

EPSS

0.001

Percentile

26.1%

Related for B398E4C9-6CDF-4973-AD86-DA796CDE221F