CVE-2020-27998:
Missing Authorization in FastReport
9.8
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
8/2/2021
Updated
2/1/2023
KEV Status
No
Technology
C#
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
FastReport.OpenSource | nuget | < 2020.4.0 | 2020.4.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from FastReport's script engine allowing unrestricted use of .NET reflection and interop features. Key indicators:
- The advisory explicitly lists GetType, typeof, DllImport, LoadLibrary and GetProcAddress as problematic
- The GHSL-2020-143 advisory demonstrates RCE through expression evaluation
- The fix introduced a ScriptSecurity feature with keyword blocking
- These functions enable type discovery, assembly loading, and native code execution - critical capabilities for arbitrary code execution
- While exact file paths aren't visible in public sources, the functions' presence in report scripting context without authorization checks constitutes the core vulnerability