An issue was discovered in ThingsBoard 3.4.1, allows low privileged attackers (CUSTOMERUSER) to gain escalated privileges (vertically) and become an Administrator (TENANTADMIN) or (SYSADMIN) on the web application. It is important to note that in order to accomplish this, the attacker must know the corresponding API's parameter (authority : value).