Lucene search

K
huntrKstarkloff81C6B974-D0B3-410B-A902-8324A55B1368
HistoryJan 09, 2022 - 7:39 p.m.

Improper Access Control in snipe/snipe-it

2022-01-0919:39:11
kstarkloff
www.huntr.dev
8

EPSS

0.001

Percentile

21.4%

Description

A user with no rights for API tokens can view the page where API tokens can be generated and can generate API tokens.

Proof of Concept

  • Create a user with no permission for anything (i.e. everything on deny).

  • Log in with this user to the web application.

  • Visit http://127.0.0.1:8000/account/api => The user can see and generate personal API tokens even the user has no rights for it.

Impact

The impact trends to be low as the user sees / generates his own API tokens. If the page would have some other serious errors, the attacker could from this point on doing more stuff.

EPSS

0.001

Percentile

21.4%

Related for 81C6B974-D0B3-410B-A902-8324A55B1368