Krajowa Izba Rozliczeniowa
Monthly
An XML External Entity (XXE) injection flaw in the Polish e-signature software Szafir (Krajowa Izba Rozliczeniowa) and in the discontinued Szafir Weryfikująca lets a crafted XML document cause the parser to resolve external entities, exposing files readable by the victim's user context. An attacker cannot trigger it remotely on their own: the victim must open the malicious XML in the signing or verification workflow (CVSS UI:A), with no authentication required on the attacker's side. Szafir is fixed in version 2.0 build 708, while Szafir Weryfikująca is End of Life and remains unfixed; no public exploit code has been identified at time of analysis and the issue is prioritised for remediation this week rather than as an emergency.
Remote code execution in SzafirHost (KIR's Szafir electronic-signature host application) arises from a ZIP/JAR parser-confusion flaw: signature verification reads the archive's Central Directory while extraction reads local file headers sequentially, letting an attacker who controls the served native-library archive smuggle an unsigned malicious DLL/SO/DYLIB past the signature check. Versions prior to 1.2.2 are affected; the injected library is written to the native temp directory and loaded, yielding code execution on the victim's machine. No public exploit identified at time of analysis, and the flaw is not listed in CISA KEV.
Signature verification bypass in Krajowa Izba Rozliczeniowa (KIR) Szafir SDK before version 463 causes the SDK to return a 'Positively verified' success result (Result/@code == 0) even when the signer's certificate trust could not be established (certificateType == 'nondetermined'). Consuming applications that rely on this result for authentication accept forged or untrusted-chain signatures as valid, enabling authentication bypass and user impersonation. There is no public exploit identified at time of analysis and EPSS probability is low (0.04%), but CISA's SSVC framework rates the technical impact as total and the flaw as automatable.
Remote code execution in SzafirHost before 1.2.1 allows unauthenticated attackers to bypass JAR signature verification through a ZIP file smuggling technique. The vulnerability exploits a discrepancy between verification logic (JarInputStream reading from file beginning) and class loading (JarFile/URLClassLoader reading Central Directory from file end), enabling attackers to combine a legitimately signed JAR with malicious classes. CERT-PL confirmed this vulnerability, and the vendor released patch version 1.2.1. EPSS data not available, not listed in CISA KEV, requiring user interaction (UI:A) for exploitation.
Szafir, the certificate/signature client from Krajowa Izba Rozliczeniowa (KIR), accepts any TLS certificate presented by the server it contacts for updates, because it performs neither certificate-chain nor hostname validation (CWE-295). An attacker who can intercept or redirect the update connection can therefore present an arbitrary certificate and cause the application to download an attacker-supplied update file; the independent assessment scores this CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N, requiring a man-in-the-middle position rather than mere remote reachability. Only versions before 2.0 build 708 are affected, and no public exploit code or active exploitation (CISA KEV) was identified at time of analysis; the sources describe download of the tampered file but do not confirm that it is automatically executed or installed.
Szafir, the Krajowa Izba Rozliczeniowa electronic-signature software, can be induced to write an attacker-supplied XML file outside its intended update directory because the filename in a software update is not safely constrained. Exploitation requires a man-in-the-middle position on an adjacent network to reroute the update request to an attacker-controlled server, and the resulting impact is limited to integrity (arbitrary XML file write) with no confidentiality or availability effect. The assessed risk is low with a monitor priority decision, no public exploit code was identified at time of analysis, and the vendor fixed the issue in version 2.0 build 708.
An XML External Entity (XXE) injection flaw in the Polish e-signature software Szafir (Krajowa Izba Rozliczeniowa) and in the discontinued Szafir Weryfikująca lets a crafted XML document cause the parser to resolve external entities, exposing files readable by the victim's user context. An attacker cannot trigger it remotely on their own: the victim must open the malicious XML in the signing or verification workflow (CVSS UI:A), with no authentication required on the attacker's side. Szafir is fixed in version 2.0 build 708, while Szafir Weryfikująca is End of Life and remains unfixed; no public exploit code has been identified at time of analysis and the issue is prioritised for remediation this week rather than as an emergency.
Remote code execution in SzafirHost (KIR's Szafir electronic-signature host application) arises from a ZIP/JAR parser-confusion flaw: signature verification reads the archive's Central Directory while extraction reads local file headers sequentially, letting an attacker who controls the served native-library archive smuggle an unsigned malicious DLL/SO/DYLIB past the signature check. Versions prior to 1.2.2 are affected; the injected library is written to the native temp directory and loaded, yielding code execution on the victim's machine. No public exploit identified at time of analysis, and the flaw is not listed in CISA KEV.
Signature verification bypass in Krajowa Izba Rozliczeniowa (KIR) Szafir SDK before version 463 causes the SDK to return a 'Positively verified' success result (Result/@code == 0) even when the signer's certificate trust could not be established (certificateType == 'nondetermined'). Consuming applications that rely on this result for authentication accept forged or untrusted-chain signatures as valid, enabling authentication bypass and user impersonation. There is no public exploit identified at time of analysis and EPSS probability is low (0.04%), but CISA's SSVC framework rates the technical impact as total and the flaw as automatable.
Remote code execution in SzafirHost before 1.2.1 allows unauthenticated attackers to bypass JAR signature verification through a ZIP file smuggling technique. The vulnerability exploits a discrepancy between verification logic (JarInputStream reading from file beginning) and class loading (JarFile/URLClassLoader reading Central Directory from file end), enabling attackers to combine a legitimately signed JAR with malicious classes. CERT-PL confirmed this vulnerability, and the vendor released patch version 1.2.1. EPSS data not available, not listed in CISA KEV, requiring user interaction (UI:A) for exploitation.
Szafir, the certificate/signature client from Krajowa Izba Rozliczeniowa (KIR), accepts any TLS certificate presented by the server it contacts for updates, because it performs neither certificate-chain nor hostname validation (CWE-295). An attacker who can intercept or redirect the update connection can therefore present an arbitrary certificate and cause the application to download an attacker-supplied update file; the independent assessment scores this CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N, requiring a man-in-the-middle position rather than mere remote reachability. Only versions before 2.0 build 708 are affected, and no public exploit code or active exploitation (CISA KEV) was identified at time of analysis; the sources describe download of the tampered file but do not confirm that it is automatically executed or installed.
Szafir, the Krajowa Izba Rozliczeniowa electronic-signature software, can be induced to write an attacker-supplied XML file outside its intended update directory because the filename in a software update is not safely constrained. Exploitation requires a man-in-the-middle position on an adjacent network to reroute the update request to an attacker-controlled server, and the resulting impact is limited to integrity (arbitrary XML file write) with no confidentiality or availability effect. The assessed risk is low with a monitor priority decision, no public exploit code was identified at time of analysis, and the vendor fixed the issue in version 2.0 build 708.