{"id":16651,"date":"2021-07-07T12:21:29","date_gmt":"2021-07-07T10:21:29","guid":{"rendered":"https:\/\/herolab-usd.formwandler.rocks\/security-advisories\/usd-2019-0069\/"},"modified":"2021-07-19T14:13:48","modified_gmt":"2021-07-19T12:13:48","slug":"usd-2019-0069","status":"publish","type":"page","link":"https:\/\/herolab.usd.de\/en\/security-advisories\/usd-2019-0069\/","title":{"rendered":"usd-2019-0069"},"content":{"rendered":"<p>[et_pb_section fb_built=\"1\" _builder_version=\"4.9.4\" _module_preset=\"default\" background_color=\"#2E353D\" custom_padding=\"||0px|||\"][et_pb_row _builder_version=\"4.9.4\" _module_preset=\"default\"][et_pb_column type=\"4_4\" _builder_version=\"4.9.4\" _module_preset=\"default\"][et_pb_text _builder_version=\"4.9.4\" _module_preset=\"cc5ac6f4-ebbd-4b3f-bc92-4dfc1f15fe2c\" hover_enabled=\"0\" sticky_enabled=\"0\"]<\/p>\n<h1 class=\"h-custom-headline usd-small-letters h2\"><span>usd-2019-0069 | Zen Cart \/ v1.5.6d<\/span><\/h1>\n<p><span><\/span><br \/><strong>Advisory ID<\/strong><span>: usd-2019-0069<\/span><br \/><strong>CVE Number<\/strong><span>: CVE-2020-6578<\/span><br \/><strong>Affected Product<\/strong><span>: Zen Cart<\/span><br \/><strong>Affected Version<\/strong><span>: v1.5.6d<\/span><br \/><strong>Vulnerability Type<\/strong><span>: XSS<\/span><br \/><strong>Security Risk<\/strong><span>: Medium<\/span><br \/><strong>Vendor<\/strong><span>: Zen Cart<br \/><strong>Vendor URL<\/strong>: https:\/\/www.zen-cart.com\/<br \/><strong>Vendor Status<\/strong>: fixed<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3>Description<\/h3>\n<p><span>A reflected XSS attack (or non-persistent attack) occurs when a malicious script is reflected off of a web application to the victim\u2019s browser. The attack is typically delivered via email or a web site and activated through a link, which sends a request to a website with a vulnerability that enables execution of malicious scripts. The <\/span><code>main_page<\/code><span> parameter is vulnerable to reflected XSS in the <\/span><code>\/includes\/templates\/template_default\/common\/tpl_main_page.php<\/code><span> and the <\/span><code>\/includes\/templates\/responsive_classic\/common\/tpl_main_page.php<\/code><span> files.<\/span><\/p>\n<p><span><\/span><\/p>\n<h3>Proof of Concept (PoC)<\/h3>\n<p>It is possible to send one of the two following requests to inject HTML code into the application:<\/p>\n<p>[\/et_pb_text][et_pb_image src=\"https:\/\/herolab.usd.de\/wp-content\/uploads\/sites\/9\/2021\/07\/evidence-1-2.png\" _builder_version=\"4.9.4\" _module_preset=\"default\" title_text=\"evidence-1-2\" hover_enabled=\"0\" sticky_enabled=\"0\"][\/et_pb_image][et_pb_image src=\"https:\/\/herolab.usd.de\/wp-content\/uploads\/sites\/9\/2021\/07\/evidence-2-5.png\" _builder_version=\"4.9.4\" _module_preset=\"default\" title_text=\"evidence-2-5\" hover_enabled=\"0\" sticky_enabled=\"0\"][\/et_pb_image][et_pb_text _builder_version=\"4.9.4\" _module_preset=\"cc5ac6f4-ebbd-4b3f-bc92-4dfc1f15fe2c\" hover_enabled=\"0\" sticky_enabled=\"0\"]<\/p>\n<p><span>The following HTTP response shows the injected JavaScript payload that would cause an alert box to pop up.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_image src=\"https:\/\/herolab.usd.de\/wp-content\/uploads\/sites\/9\/2021\/07\/evidence-3-1.png\" _builder_version=\"4.9.4\" _module_preset=\"default\" title_text=\"evidence-3-1\" hover_enabled=\"0\" sticky_enabled=\"0\"][\/et_pb_image][et_pb_text _builder_version=\"4.9.4\" _module_preset=\"cc5ac6f4-ebbd-4b3f-bc92-4dfc1f15fe2c\" hover_enabled=\"0\" sticky_enabled=\"0\"]<\/p>\n<div class=\"e16902-22 x-container max width\">\n<div class=\"e16902-23 x-column x-sm x-1-1\">\n<p><span>The vulnerable code was located inside <\/span><code>includes\/templates\/responsive_classic\/common\/tpl_main_page.php<\/code><\/p>\n<h3><\/h3>\n<h3>Fix<\/h3>\n<p>All user supplied input should be encoded on delivery or before rendering to prevent the injection of HTML code.<\/p>\n<h3><\/h3>\n<h3>Timeline<\/h3>\n<ul>\n<li>2019-12-16 Vulnerability discovered by Gerbert Roitburd and Markus Schader<\/li>\n<li>2020-01-08 Initial contact with vendor<\/li>\n<li>2020-01-22 Vulnerability fixed by vendor<\/li>\n<li>2021-02-26 Security advisory released<\/li>\n<\/ul>\n<h3><\/h3>\n<h3>Credits<\/h3>\n<p>This security vulnerability was discovered by Gerbert Roitburd and Markus Schader of usd AG.<\/p>\n<\/div>\n<\/div>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>usd-2019-0069 | Zen Cart \/ v1.5.6d Advisory ID: usd-2019-0069CVE Number: CVE-2020-6578Affected Product: Zen CartAffected Version: v1.5.6dVulnerability Type: XSSSecurity Risk: MediumVendor: Zen CartVendor URL: https:\/\/www.zen-cart.com\/Vendor Status: fixed &nbsp; Description A reflected XSS attack (or non-persistent attack) occurs when a malicious script is reflected off of a web application to the victim\u2019s browser. The attack is typically [&hellip;]<\/p>\n","protected":false},"author":96,"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-16651","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/pages\/16651","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\/96"}],"replies":[{"embeddable":true,"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/comments?post=16651"}],"version-history":[{"count":0,"href":"https:\/\/herolab.usd.de\/en\/wp-json\/wp\/v2\/pages\/16651\/revisions"}],"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=16651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}