CVE-2021–35036: Super-Admin Password Leak Affecting Zyxel CPE/O
An authenticated low-privilege user could request backend DAL endpoints that returned administrator, supervisor, FTPS, and TR-069 credentials in cleartext. An attacker with any valid account could obtain super-admin passwords and take full control of the device.
Published on medium.com
The issue was first reported against Zyxel VMG3625-T50B firmware V5.50(ABTL.0)b2k and later expanded into a broader product-line problem: authenticated low-privilege sessions could reach backend DAL endpoints that returned administrator, supervisor, FTPS, and TR-069 secrets in cleartext. The exposed code belongs to a…
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The DAL getter handlers returned sensitive fields such as Password and ConnectionRequestPassword without stripping them or enforcing privilege checks, because access control was only applied at the UI layer.
Impact
An attacker could obtain super-admin credentials and reconfigure DNS, intercept traffic, modify firewall rules, and potentially expose remote-management credentials, though TR-069 impact depends on deployment.
What the attacker needed
A valid low-privilege account on the device
The fix
Zyxel released firmware updates that enforce PARAMETER_ATTR_PASSWORD on sensitive fields so they are not returned in getter responses.
How it was found
- Authenticate to the web interface with a guest or limited account to obtain a valid session cookie.
- Send a direct HTTP GET request to the DAL endpoint for login_privilege.
- Receive a JSON response containing plaintext credentials for administrator and supervisor accounts.
- Optionally query the tr69 DAL endpoint to retrieve TR-069 ACS username and password.
- Optionally request the default information endpoint to capture FTPS and default system account secrets.
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 write-up has not been written yet. The Original tab links to the source.
A device's web interface has hidden backend endpoints that return configuration data. The developers assumed only administrators would call them, but any logged-in user could. So a guest account could ask for the admin password and the device handed it over.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.