CVE-2022-20942: It's not old functionality, it's vintage
An authenticated attacker with admin or operator privileges could modify a parameter in the HTTP request to download the configuration file with plain-text passwords, despite the feature being removed from the UI. This exposed sensitive information such as LDAP/FTP credentials and private keys, potentially leading to compromise of other systems.
Published on secforce.com
Password authentication has been used for centuries, long before computers existed. In Roman times sentries would challenge whoever wanted to gain access to a restricted area or place by asking them to supply a password or watchword.
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
Likely the application continued to support a legacy parameter that allowed downloading configuration files with plain-text passwords, even though the UI option was removed.
Impact
An authenticated attacker with admin or operator privileges could obtain plain-text credentials and private keys, potentially leading to compromise of other network devices and lateral movement; the CVSS score is medium due to the need for authentication.
What the attacker needed
Admin or operator account; web proxy to intercept traffic
The fix
The issue was fixed by Cisco; the text does not detail the fix, but it should involve removing the legacy functionality that allows downloading plain-text passwords.
How it was found
- Set up a web proxy to intercept traffic.
- Log in with an admin or operator account via the web interface.
- Navigate to 'System Administration' > 'Configuration File'.
- Download the configuration file (masked or encrypted) and intercept the request.
- Modify the 'password_config' parameter value to 'plain'.
- Modify the same parameter to 'plain' in the second request.
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.
The device stored passwords in a way that could be read in plain text, even though the option to download them was hidden from the normal interface. An attacker who already had an admin account could intercept the download request and change a setting to get the passwords. This is dangerous because those passwords could be used to break into other systems.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.