CVE-2021-42777
About
Stimulsoft (aka Stimulsoft Reports) 2013.1.1600.0, when Compilation Mode is used, allows an attacker to execute arbitrary C# code on any machine that renders a report, including the application server or a user's local machine, as demonstrated by System.Diagnostics.Process.Start.
Rainforest analyst review
Stimulsoft Reports, when Compilation Mode is enabled, will execute arbitrary C# embedded in a report on any machine that renders it — the proof being a System.Diagnostics.Process.Start call. In plain terms, a report file is a code file: whoever opens or renders it runs the attacker's C# with the privileges of the rendering process, whether that's the application server or an end user's local machine. The report engine treats template logic as trusted, and that trust is the vulnerability.
This is dangerous because reports circulate like documents — they're emailed, shared, and loaded from repositories by people who think of them as data, not executables. The condition that gates it is Compilation Mode being in use, but where it is, a malicious report is a clean delivery vehicle for code execution, and rendering on the server side means one poisoned template can compromise a shared backend rather than a single desktop. It's a targeted or supply-chain style vector rather than mass-scanned, but the payoff — server or workstation code execution from a file people trust — is high.
Our emphasis is configuration state and the trust boundary around report sources. We'd determine where Stimulsoft rendering runs, whether Compilation Mode is enabled, and critically whether reports from untrusted or user-supplied sources ever reach the renderer — that last point is what turns the feature into a weapon. Locking rendering to trusted templates and disabling compilation where it isn't needed is the practical control; we rank instances by whether externally-authored reports can reach a server-side renderer, which is the worst case.
References
Related CVEs
Frequently asked questions
What is CVE-2021-42777?
Stimulsoft (aka Stimulsoft Reports) 2013.1.1600.0, when Compilation Mode is used, allows an attacker to execute arbitrary C# code on any machine that renders a report, including the application server or a user's local machine, as demonstrated by System.Diagnostics.Process.Start.
How severe is CVE-2021-42777?
CVE-2021-42777 carries a CVSS 3.1 base score of 9.8, rated critical. On the Rainforest Risk Index — which weighs the severity alongside how easy the flaw is to reach and how broad its impact is — it scores 99 out of 100, in the critical band.
How is CVE-2021-42777 exploited?
According to the CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H): attack vector Network, attack complexity Low, privileges required None, user interaction None. Impact on confidentiality High, integrity High and availability High.
Which products are affected by CVE-2021-42777?
Public advisories list the following as affected: reports. Check the references on this page for the exact versions each vendor confirms.
How do I fix CVE-2021-42777?
Apply the fix the vendor published — the references on this page link to the primary advisories and patches. When patching can't happen right away, reduce the exposure of the affected component and watch it for exploitation attempts. Rainforest customers see this vulnerability correlated to their own assets and prioritized by real exposure, not by score alone.
Empower Your Security Strategy with Rainforest
Discover vulnerabilities early, prioritize critical threats, and protect what truly matters. Rainforest streamlines your security operations, saving you time and reducing costs, so you can focus on what drives your business forward.
