The AppDynamics Standalone Machine agent sets file permissions for the script file “extend-os-version.sh” to 777.
This allows any user with shell access to the server to change the script file, which will be executed by the Machine Agent with the level of permissions assigned to the Machine Agent at startup. As a result, any user can obtain elevated admin privileges on a server running the standalone machine agent.
AppDynamics Standalone Machine Agent
Key/Legend for Ratings and Vulnerabilities
|Known||AppDynamics is aware of a known exploit. Customers should treat known exploits with the highest priority.|
|High||AppDynamics believes there is a high probability that a vulnerability is exploitable by an attacker.|
|Medium||AppDynamics believes there is a moderate probability that a vulnerability is exploitable by an attacker.|
|Low||AppDynamics believes there is a low probability that a vulnerability is exploitable by an attacker.|
|High||Exploit allows an attacker to compromise confidentiality, integrity, accountability, or availability of user data, or of the integrity or availability of processing resources without any mitigations like notifications, audits, and/or authentication.|
|Medium||Exploit allows an attacker to compromise confidentiality, integrity, accountability, or availability of user data, or of the integrity or availability of processing resources with reasonable mitigations like notifications, and/or authentication mechanisms.|
Exploit allows an attacker to compromise confidentiality, integrity, accountability, or availability of user data, or of the integrity or availability of processing resources, however, significant mitigations like notifications, and/or authentication mechanisms are in place to reduce severity of the impact.
Q: What do I need to do to protect against this vulnerability?
A: Upgrade the Standalone Machine Agent (Java)
Q: Do I need to upgrade my agents?
A: Yes, the Standalone Machine Agent
The defect allows any user with shell access to modify the script file and therefore execute the changed content with root privileges.
Mitigating Factors and Workarounds
Upgrade to a patched version.
The information provided in this security advisory is provided "as is" without warranty of any kind. AppDynamics disclaims all warranties with respect thereto, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall AppDynamics or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if AppDynamics or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply to you.
1.0 - 1/26/2016 Initial Revision