{"id":22066,"date":"2024-01-19T13:40:36","date_gmt":"2024-01-19T12:40:36","guid":{"rendered":"https:\/\/herolab.usd.de\/?page_id=22066"},"modified":"2024-02-07T12:40:27","modified_gmt":"2024-02-07T11:40:27","slug":"usd-2023-0048","status":"publish","type":"page","link":"https:\/\/herolab.usd.de\/en\/security-advisories\/usd-2023-0048\/","title":{"rendered":"usd-2023-0048"},"content":{"rendered":"<p>[et_pb_section fb_built=\"1\" _builder_version=\"4.21.0\" _module_preset=\"default\" background_color=\"#2E353D\" custom_padding=\"||0px|||\" global_colors_info=\"{}\"][et_pb_row _builder_version=\"4.21.0\" _module_preset=\"default\" global_colors_info=\"{}\"][et_pb_column type=\"4_4\" _builder_version=\"4.21.0\" _module_preset=\"default\" global_colors_info=\"{}\"][et_pb_text _builder_version=\"4.23.4\" _module_preset=\"default\" custom_padding=\"||13px|||\" global_colors_info=\"{}\"]<\/p>\n<h1>usd-2023-0048 | Gambio 4.9.2.0 - Server-Side Template Injection<\/h1>\n<h1><\/h1>\n<p><strong>Product<\/strong>: Gambio<br \/><strong>Affected Version<\/strong>: 4.9.2.0<br \/><strong>Vulnerability Type<\/strong>: CWE-1336 - Improper Neutralization of Special Elements Used in a Template Engine<br \/><strong>Security Risk<\/strong>: High<br \/><strong>Vendor URL<\/strong>: <a href=\"https:\/\/www.gambio.de\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.gambio.de\/<\/a><br \/><strong>Vendor Status<\/strong>: Not fixed<br \/><strong>CVE number<\/strong>: CVE-2024-23761<\/p>\n<h3>Description<\/h3>\n<p>Gambio is software designed for running online shops.<br \/>It provides various features and tools to help businesses manage their inventory, process orders, and handle customer interactions.<\/p>\n<p>According to their homepage, the software is used by more than 25.000 shops.<\/p>\n<p>The email templates are using the <em>Smarty<\/em> template engine, which can be used to execute arbitrary commands on the underlying system.<\/p>\n<p><strong>Note:<\/strong> Upon discovery, our team immediately initiated the responsible disclosure process by contacting the vendor behind Gambio.<br \/>Unfortunately, despite multiple attempts, our attempts to engage the vendor in resolving this issue have been met with silence.<br \/>The vulnerability is still unfixed.<\/p>\n<h3>Proof of Concept<\/h3>\n<p>The email templates are using the <em>Smarty<\/em> template engine.<\/p>\n<p>Its possible to receive code execution using a <em>SSTI<\/em> vulnerability.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/herolab.usd.de\/wp-content\/uploads\/sites\/9\/2024\/01\/027290f5-4c98-49b7-af78-c4b1bdb8a188.png\" width=\"1369\" height=\"412\" alt=\"\" class=\"wp-image-21993 alignnone size-full\" srcset=\"https:\/\/herolab.usd.de\/wp-content\/uploads\/sites\/9\/2024\/01\/027290f5-4c98-49b7-af78-c4b1bdb8a188.png 1369w, https:\/\/herolab.usd.de\/wp-content\/uploads\/sites\/9\/2024\/01\/027290f5-4c98-49b7-af78-c4b1bdb8a188-1280x385.png 1280w, https:\/\/herolab.usd.de\/wp-content\/uploads\/sites\/9\/2024\/01\/027290f5-4c98-49b7-af78-c4b1bdb8a188-980x295.png 980w, https:\/\/herolab.usd.de\/wp-content\/uploads\/sites\/9\/2024\/01\/027290f5-4c98-49b7-af78-c4b1bdb8a188-480x144.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1369px, 100vw\" \/><\/p>\n<h3>Fix<\/h3>\n<p>It is recommended to define templates statically wherever possible.<br \/>If templates are generated dynamically based on user input, it must be ensured that attackers cannot inject any template commands or meta characters.<br \/>For this purpose, user input should be masked before it is inserted into the template.<\/p>\n<h3>References<\/h3>\n<ul>\n<li><a href=\"https:\/\/www.gambio.de\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.gambio.de<\/a><\/li>\n<\/ul>\n<h3>Timeline<\/h3>\n<ul>\n<li><strong>2023-12-08<\/strong>: First contact request via email.<\/li>\n<li><strong>2023-12-21<\/strong>: Second contact request via email.<\/li>\n<li><strong>2024-01-17<\/strong>: This advisory is published.<\/li>\n<\/ul>\n<h3>Credits<\/h3>\n<p>This security vulnerability was identified by Christian Poeschl and Lukas Schraven of usd AG.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>usd-2023-0048 | Gambio 4.9.2.0 - Server-Side Template Injection Product: GambioAffected Version: 4.9.2.0Vulnerability Type: CWE-1336 - Improper Neutralization of Special Elements Used in a Template EngineSecurity Risk: HighVendor URL: https:\/\/www.gambio.de\/Vendor Status: Not fixedCVE number: CVE-2024-23761 Description Gambio is software designed for running online shops.It provides various features and tools to help businesses manage their inventory, process [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"parent":16124,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","inline_featured_image":false,"footnotes":""},"class_list":["post-22066","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/pages\/22066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/comments?post=22066"}],"version-history":[{"count":5,"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/pages\/22066\/revisions"}],"predecessor-version":[{"id":22356,"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/pages\/22066\/revisions\/22356"}],"up":[{"embeddable":true,"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/pages\/16124"}],"wp:attachment":[{"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/media?parent=22066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}