Lucene search

K
huntrNehalr777202DD03A-3D97-4C64-BC73-1A0F36614233
HistorySep 24, 2022 - 5:36 a.m.

No Limit in length of root directory name , results in memory consumption/DOS attack

2022-09-2405:36:34
nehalr777
www.huntr.dev
8
fixed length
user input
dos attack

EPSS

0.001

Percentile

37.9%

Description

There must be a fixed length for user input parameters like root directory name. 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 root directory name 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 root directory name - upto 256 characters

EPSS

0.001

Percentile

37.9%

Related for 202DD03A-3D97-4C64-BC73-1A0F36614233