{"id":26103,"date":"2016-09-08T14:09:56","date_gmt":"2016-09-08T07:09:56","guid":{"rendered":"http:\/\/deepquest.code511.com\/blog\/2016\/09\/sugarcrm-rest-unserialize-php-code-execution\/"},"modified":"2016-09-08T14:09:56","modified_gmt":"2016-09-08T07:09:56","slug":"sugarcrm-rest-unserialize-php-code-execution","status":"publish","type":"post","link":"https:\/\/deepquest.code511.com\/blog\/2016\/09\/sugarcrm-rest-unserialize-php-code-execution\/","title":{"rendered":"SugarCRM REST Unserialize PHP Code Execution"},"content":{"rendered":"<p>This Metasploit module exploits a PHP Object Injection vulnerability in SugarCRM CE &lt;= 6.5.23 which could be abused to allow unauthenticated users to execute arbitrary PHP code with the permissions of the webserver. The dangerous unserialize() call exists in the &#039;\/service\/core\/REST\/SugarRestSerialize.php&#039; script. The exploit abuses the __destruct() method from the SugarCacheFile class to write arbitrary PHP code into the \/custom directory.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This Metasploit module exploits a PHP Object Injection vulnerability in SugarCRM CE &lt;= 6.5.23 which could be abused to allow unauthenticated users to execute arbitrary PHP code with the permissions&#8230;<\/p>\n","protected":false},"author":439,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[43],"tags":[],"class_list":["post-26103","post","type-post","status-publish","format-standard","hentry","category-exploit"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4bBYZ-6N1","_links":{"self":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/26103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/users\/439"}],"replies":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/comments?post=26103"}],"version-history":[{"count":0,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/26103\/revisions"}],"wp:attachment":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/media?parent=26103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/categories?post=26103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/tags?post=26103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}