{"id":7598,"date":"2020-09-21T21:38:32","date_gmt":"2020-09-22T04:38:32","guid":{"rendered":"https:\/\/webdev.securin.xyz\/?p=7598"},"modified":"2023-04-05T12:43:00","modified_gmt":"2023-04-05T19:43:00","slug":"how-to-detect-vulnerability-cve-2020-24601","status":"publish","type":"post","link":"https:\/\/webdev.securin.xyz\/articles\/how-to-detect-vulnerability-cve-2020-24601\/","title":{"rendered":"How to Detect Vulnerability CVE-2020-24601?"},"content":{"rendered":"
Cyber Security Works has discovered a new zero-day vulnerability, CVE-2020-24601\u00a0in Ignite Realtime Openfire 4.5.1. Openfire (formerly Wildfire) is a cross-platform real-time collaboration server based on the XMPP protocol. The vulnerability was discovered by CSW Security Researcher on Feb 5 2020.<\/p>\n
CVE-2020-24601 was detected manually using a Burp Suite tool. A stored cross-site scripting attack allows an attacker to execute an arbitrary malicious URL via the vulnerable POST parameter searchName”, “alias<\/strong>” in the import certificate trusted page.<\/p>\n The vulnerability was disclosed to Openfire on Feb 5, 2020. The vendor responded and released a patch on March 6, 2020, to mitigate this vulnerability.<\/p>\n Vulnerability Analysis<\/strong><\/p>\n CVE-2020-24601 is a Stored cross-site scripting vulnerability in Openfire Product (Openfire version 4.5.1). Whenever an authenticated user visits the trust store page, the script will be executed as part of the current user\u2019s browser context.<\/p>\n Product<\/strong>: Openfire<\/p>\n Vendor<\/strong>: Ignite Realtime<\/p>\n Product version<\/strong>: Version 4.5.1<\/p>\n Privilege<\/strong>: admin<\/p>\n Vulnerable URL<\/strong>: POST request \u201calias\u201d is a vulnerable parameter in the URL<\/p>\n http:\/\/localhost:9090\/import-truststore-certificate.jsp?connectionType=SOCKET_S2S<\/p>\n Issue: Stored Cross-Site Scripting<\/strong><\/p>\n Step 1<\/strong>: Log in to the application (admin) through this URL in Firefox.<\/p>\n Step 2<\/strong>: Navigate to this URL to visit the \u2018Import CA Certificate\u2019 page.<\/p>\n Step 3<\/strong>: Add the payload \u201c><script>alert(\u2018VULXSS\u2019) <\/script> in \u2018Alias\u2019, enter a valid Content of Certificate file and click on Save<\/p>\n Step 4<\/strong>: Every time the user visit\u2019s this URL, Malicious JavaScript is executed on the victim\u2019s browser<\/p>\n <\/p>\n Figure 1<\/strong>: Import CA Certificate page with malicious Payload “><script>alert(‘VULXSS’)<\/script><\/strong> in alias parameter<\/p>\n <\/p>\n Figure 2<\/strong>: Malicious JavaScript Payload is executed on the victim’s browser every time this page is visited<\/p>\n We recommend the following fixes to this vulnerability<\/p>\n Perform context-sensitive encoding of untrusted input before it is echoed back to a browser by using an encoding library<\/p>\n<\/li>\n Implement input validation for special characters on all the variables reflecting the browser and storing it in the database<\/p>\n<\/li>\n Implement client-side validation<\/p>\n<\/li>\n<\/ul>\n If this vulnerability is exploited successfully, it may result in the stealing of cookies, disclosure of end-user files, and redirection of the user to another page or site.<\/p>\n Based on the CSW team’s recommendations, Ignite Realtime Openfire executed a validation on their end and released a fix to mitigate this vulnerability.<\/p>\n https:\/\/issues.igniterealtime.org\/browse\/OF-196<\/a>3<\/a><\/p>\n","protected":false},"excerpt":{"rendered":" Cyber Security Works has discovered a new zero-day vulnerability, CVE-2020-24601\u00a0in Ignite Realtime Openfire 4.5.1.<\/p>\n","protected":false},"author":20,"featured_media":7599,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[82,80,154],"tags":[360,358,149],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/webdev.securin.xyz\/wp-json\/wp\/v2\/posts\/7598"}],"collection":[{"href":"https:\/\/webdev.securin.xyz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webdev.securin.xyz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webdev.securin.xyz\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/webdev.securin.xyz\/wp-json\/wp\/v2\/comments?post=7598"}],"version-history":[{"count":3,"href":"https:\/\/webdev.securin.xyz\/wp-json\/wp\/v2\/posts\/7598\/revisions"}],"predecessor-version":[{"id":12237,"href":"https:\/\/webdev.securin.xyz\/wp-json\/wp\/v2\/posts\/7598\/revisions\/12237"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webdev.securin.xyz\/wp-json\/wp\/v2\/media\/7599"}],"wp:attachment":[{"href":"https:\/\/webdev.securin.xyz\/wp-json\/wp\/v2\/media?parent=7598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webdev.securin.xyz\/wp-json\/wp\/v2\/categories?post=7598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webdev.securin.xyz\/wp-json\/wp\/v2\/tags?post=7598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}Disclosure\u00a0<\/strong><\/h2>\n
Timeline<\/strong><\/h2>\n
\n\n
\n Date<\/strong><\/td>\n Description<\/strong><\/td>\n<\/tr>\n \n February 4, 2020<\/td>\n Vulnerability discovered by CSW Security Researcher<\/td>\n<\/tr>\n \n February 5, 2020<\/td>\n Vulnerability Reported to Vendor<\/td>\n<\/tr>\n \n February 6, 2020<\/td>\n Vendor responded with bug tracker Links<\/td>\n<\/tr>\n \n February 13, 2020<\/td>\n Follow up with vendor for fix release<\/td>\n<\/tr>\n \n March 1, 2020<\/td>\n Follow up with Vendor for Fix Release<\/td>\n<\/tr>\n \n March 6, 2020<\/td>\n Vendor responded with a released fix<\/td>\n<\/tr>\n \n August 20, 2020<\/td>\n Request for CVE<\/td>\n<\/tr>\n \n August 24, 2020<\/td>\n CVE Assigned<\/td>\n<\/tr>\n \n September 1, 2020<\/td>\n CVE Published in NVD<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n Proof of Concept<\/strong><\/h2>\n
Steps to Reproduce:\u00a0<\/strong><\/h2>\n
Mitigation<\/strong><\/h2>\n
\n
Impact\u00a0<\/strong><\/h2>\n
Recommendation<\/strong><\/h2>\n