Authenticated RCE in ToughSwitch
ToughSwitch v1.3.5 and earlier lacked validation, allowing a CSRF attack. If an authenticated user visited an attacker-controlled page, the resulting request could trigger remote code execution.
- Triaged in 5 days
- Fixed in 6 months
- Paid in 44 days
- Disclosed after 9 months
Summary by the program
In ToughSwitch v1.3.5 and prior, due to lack of validation is possible to execute an CSRF. If an authenticated user access an attacker controlled web page, it could trigger the CSRF and the resulting request could trigger an RCE.
Summary by the researcher
An RCE vulnerability existed in the ToughSwitch that could be triggered through CSRF.
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 application did not validate requests properly, allowing cross-site requests to perform privileged actions that led to code execution.
Impact
An authenticated user visiting an attacker-controlled page could have code executed on the ToughSwitch device.
What the attacker needed
Victim is authenticated; victim visits attacker page
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.
CSRF (Cross-Site Request Forgery) is when a malicious website makes a logged-in user's browser send a request to another site without the user knowing. Here, that request could run harmful code on the device. The user only had to visit a page controlled by the attacker while logged in.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.