RCE in Ballcat Codegen
CVE-2022-24881
- CVSS v3
- 8.8 High
- Public exploits
- None known
- EPSS
- 0.032 · 88.4th percentile
- Published
- 2022-04-26
What to do
- Fixed in
1.0.0.beta.2- Affected
- 2 affected products
Ballcat Codegen provides the function of online editing code to generate templates. In versions prior to 1.0.0.beta.2, attackers can implement remote code execution through malicious code injection of the template engine. This happens because Velocity and freemarker templates are introduced but input verification is not done. The fault is rectified in version 1.0.0.beta.2.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.032, 88.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Ballcat Codegen
- Ballcat-Projects Ballcat-Codegen — versions < 1.0.0.beta.2
Weakness classification (CWE)
References
- github.com/ballcat-projects/ballcat-codegen/security/advisories/GHSA-fv3m-xhqw-… (Exploit, Patch, Third Party Advisory)
- github.com/ballcat-projects/ballcat-codegen/issues/5 (Patch, Third Party Advisory, Issue Tracking)
- github.com/ballcat-projects/ballcat-codegen/commit/84a7cb38daf0295b93aba21d562e… (Patch, Third Party Advisory)