Lucene search

K
huntrNehalr777D8B8519D-96A5-484C-8141-624C54290BF5
HistorySep 23, 2022 - 10:30 a.m.

No Limit in length of username , results in memory consumption/DOS attack

2022-09-2310:30:42
nehalr777
www.huntr.dev
10
username length limit
memory consumption
dos attack
bugbounty

EPSS

0.001

Percentile

37.9%

Description

There must be a fixed length for user input parameters like username. Allowing users to enter long strings may result in a DOS attack or memory corruption

Proof of Concept

1)Go to https://rdiffweb-demo.ikus-soft.com/admin/users endpoint .
2)Click on add user
3)Here you will see that there is no limit for the username length that allows a user to to set a very long string as long as 1 million characters
4)This may possible result in a memory corruption/DOS attack

Mitigation: There must be a fixed length for the username - upto 256 characters

EPSS

0.001

Percentile

37.9%

Related for D8B8519D-96A5-484C-8141-624C54290BF5