CVE-2022-24881 is a vulnerability in Ballcat Codegen
Published on April 26, 2022
Command Injection in Ballcat Codegen
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 Analysis
CVE-2022-24881 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2022-24881. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
What is a Code Injection Vulnerability?
The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CVE-2022-24881 has been classified to as a Code Injection vulnerability or weakness.
Products Associated with CVE-2022-24881
Want to know whenever a new CVE is published for Ballcat Codegen? stack.watch will email you.
Affected Versions
ballcat-projects ballcat-codegen Version < 1.0.0.beta.2 is affected by CVE-2022-24881Vulnerable Packages
The following package name and versions may be associated with CVE-2022-24881
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | com.hccake:ballcat-codegen | <= 1.0.0.beta.1 | 1.0.0.beta.2 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.