Planet WGS-804HPT Stack Overflow Vulnerability in Web STP Global Setting Post Function

Vulnerability

A stack overflow vulnerability has been identified in the Planet WGS-804HPT Ethernet switch, specifically in version 1.305b241111. The issue arises in the web_stp_globalSetting_post function, where the stp_conf_name parameter can be manipulated to cause a stack-based buffer overflow. This vulnerability allows for control flow hijacking by overflowing the stack space and overwriting return addresses.

Impact

Exploitation of this vulnerability leads to a stack-based buffer overflow, allowing for control flow hijacking.

Reproduction

To reproduce this vulnerability, authenticate to the device and create a cookie with permissions to access the web_stp_globalSetting_post function. Then, send a POST request to the dispatcher.cgi endpoint with the stp_conf_name parameter set to a value that exceeds the buffer size, such as 512 bytes. This will trigger the stack overflow by overwriting the return address and hijacking the control flow.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
6.1
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.