A vulnerability in Gladinet CentreStack and Triofox application using hardcoded cryptographic keys for ViewState could allow an attacker to forge ViewState data. This can lead to unauthorized actions such as remote code execution. Both applications make use of a hardcoded machineKey in the IIS web.config file, which is responsible for securing ASP.NET ViewState data. If an attacker obtains the machineKey, they can forge ViewState payloads that pass integrity checks. This can result in ViewState deserialization attacks, potentially leading to remote code execution (RCE) on the web server. Gladinet CentreStack versions up to 16.4.10315.56368 are vulnerable (fixed in 16.4.10315.56368). Gladinet Triofox versions up to 16.4.10317.56372 are vulnerable (fixed in 16.4.10317.56372). NOTE: There are other rebranded services that might be vulnerable and can be detected by this module.
Exploit database
Vulnerability
CVE-2025-30406
Vulnerability details
- Score
- 9.0
- Severity
- critical
CVSS 3.1 · mitre
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HDescription
Gladinet CentreStack through 16.1.10296.56315 (fixed in 16.4.10315.56368) has a deserialization vulnerability due to the CentreStack portal's hardcoded machineKey use, as exploited in the wild in March 2025. This enables threat actors (who know the machineKey) to serialize a payload for server-side deserialization to achieve remote code execution. NOTE: a CentreStack admin can manually delete the machineKey defined in portal\web.config.
CVE ProgramExploit source choices
3 sourcesGladinet CentreStack/Triofox ASP.NET ViewState Deserialization
2025-04-03gladinet_viewstate_deserialization_cve_2025_30406.rb
mchklt/cve-2025-30406
CVE-2025-30406 ViewState Exploit PoC
2025-07-314 files · 91 stars
w01fh4cker/cve-2025-30406
Exploit for CVE-2025-30406
2025-04-2411 files · 12 stars