WAGO PFC100/200 Web-Based Management (WBM) FastCGI configuration insufficient resource pool denial of service
The WBM web application on WAGO PFC100/PFC200 controllers runs lighttpd with FastCGI limited to two concurrent php-cgi processes. An attacker could send many requests that each occupy a worker for the 50-second idle timeout, denying legitimate access to the web interface.
Originally disclosed on Cisco Talos
The WBM web application on firmwares prior to 03.02.02 and 03.01.07 on the WAGO PFC100 and PFC2000, respectively, runs on a lighttpd web server and makes use of the FastCGI module, which is intended to “provide high performance for all Internet applications without the penalties of Web server APIs.” However, the…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the FastCGI configuration caps concurrent php-cgi processes at two with a long idle timeout, so slow requests exhaust the worker pool.
Impact
Legitimate users could be denied access to the WBM web interface for as long as the attacker keeps sending requests; the text notes a single request causes around a 50 second outage.
What the attacker needed
Network access to the WBM interface; no authentication needed
How it was found
- Send a POST to the login endpoint with a valid username and a very large password.
- Repeat this request many times so both FastCGI workers stay busy.
- Observe that legitimate requests to the web application are denied while the workers are occupied.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
The device's web interface uses a small pool of worker processes to handle page requests, and only two can run at once. If an attacker sends many requests that each keep a worker busy for a long time, the pool is exhausted and real users cannot get through. This is a denial of service: the site is not broken, just too busy to answer.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.