Lucene search

K
huntrHaxatronA0C438FB-C8E1-40CF-ACC6-C8A532B80B93
HistoryNov 20, 2021 - 6:56 a.m.

Improper Access Control in kevinpapst/kimai2

2021-11-2006:56:03
haxatron
www.huntr.dev
6
improper access control
kevinpapst/kimai2
authenticated users
invoices
sensitive financial information
bugbounty

EPSS

0.001

Percentile

26.1%

Description

Authenticated users can preview invoices which they do not have read access to

Proof of Concept

To demonstrate this vulnerability, we will use tony_teamlead on the demo site.

1: Login as tony_teamlead.

2: Go to Invoices page, see that there is no Haley-Jaskolski invoice document present on the UI.

3: But if tony_teamlead visits https://demo.kimai.org/en/invoice/preview/4/4, they will be able to see Haley-Jaskolski’s invoice document. On the demo-stable website if tony_teamlead visits https://demo-stable.kimai.org/en/invoice/preview/1/4, they will see Crooks Group’s document even though they do not have access to it.

4: Attackers can increment the invoice_id up and down - https://demo.kimai.org/en/invoice/preview/{invoice_id}/{file_export_format}, to retrieve invoice documents they do not have access to.

Impact

Authenticated users can access potentially sensitive financial information they do not have access to

EPSS

0.001

Percentile

26.1%

Related for A0C438FB-C8E1-40CF-ACC6-C8A532B80B93