Lucene search

K
huntrThebinitghimireB41D5E63-BCD8-4864-8A2E-8EC74EEC520B
HistoryFeb 11, 2022 - 11:41 p.m.

Exposure of Sensitive Information to an Unauthorized Actor in snipe/snipe-it

2022-02-1123:41:50
thebinitghimire
www.huntr.dev
11

0.001 Low

EPSS

Percentile

30.1%

Description

An attacker can enumerate users through the response message in the password reset page. When you visit the password reset page, you will be provided with the option to enter your email address. Let’s use two different emails, one will be a valid address, and another will be an invalid one.

Reproduction

When you enter the first email address and submit the form, you will get a HTTP response, where it says: β€œSuccess: Your password link has been sent!”.

Now, when you enter the second email address and submit the form, the HTTP response will contain: β€œSuccess: If that email address exists in our system, a password recovery email has been sent.”

Here, you can clearly see that there are two different response messages. By analyzing these responses, it is clear that an attacker can determine which email addresses are registered in this portal, and which aren’t.

Impact

An attacker would be able to increase the probability of success of password brute-forcing attacks against the system, because he/she would be able to figure out which email addresses they need to try their brute-forcing attacks on.

How to Fix

This vulnerability can be fixed by providing a response like β€œSuccess: If that email address exists in our system, a password recovery email has been sent.” for valid email addressess as well.

0.001 Low

EPSS

Percentile

30.1%

Related for B41D5E63-BCD8-4864-8A2E-8EC74EEC520B