
Proof-of-concept for CVE-2024-32371: privilege escalation via type parameter manipulation in HSC Mailinspector, enabling regular users to gain administrative access.
A vulnerability identified as CVE-2024-32371 allows an attacker to elevate privileges by changing the type parameter from 1 to 0. This vulnerability enables an attacker with a regular user account to escalate their privileges and gain administrative access to the system.
Versions: Discovered in HSC Mailinspector 5.2.17-3 but applicable to all versions up to 5.2.18.
typeThe vulnerability arises due to insufficient access control checks on the type parameter. By manipulating the value of the type parameter in the request payload, an attacker can modify their user account's permissions from a regular user to an administrator.
To exploit this vulnerability, an attacker can intercept or craft a request with the type parameter set to 0, indicating administrator privileges. By submitting this malicious request, the attacker can bypass the intended access control mechanisms and gain unauthorized access as an administrator.
Successful exploitation of CVE-2024-32371 allows an attacker to perform administrative actions within the system, such as:

