Confluence Template Injection Enables RCE via Authenticated Attack
CVE-2023-22522 Published on December 6, 2023
This Template Injection vulnerability allows an authenticated attacker, including one with anonymous access, to inject unsafe user input into a Confluence page. Using this approach, an attacker is able to achieve Remote Code Execution (RCE) on an affected instance. Publicly accessible Confluence Data Center and Server versions as listed below are at risk and require immediate attention. See the advisory for additional details Atlassian Cloud sites are not affected by this vulnerability. If your Confluence site is accessed via an atlassian.net domain, it is hosted by Atlassian and is not vulnerable to this issue.
Weakness Type
What is an Injection Vulnerability?
The software constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. Software has certain assumptions about what constitutes data and control respectively. It is the lack of verification of these assumptions for user-controlled input that leads to injection problems. Injection problems encompass a wide variety of issues -- all mitigated in very different ways and usually attempted in order to alter the control flow of the process. For this reason, the most effective way to discuss these weaknesses is to note the distinct features which classify them as injection weaknesses. The most important issue to note is that all injection problems share one thing in common -- i.e., they allow for the injection of control plane data into the user-controlled data plane. This means that the execution of the process may be altered by sending code in through legitimate data channels, using no other mechanism. While buffer overflows, and many other flaws, involve the use of some further issue to gain execution, injection problems need only for the data to be parsed. The most classic instantiations of this category of weakness are SQL injection and format string vulnerabilities.
CVE-2023-22522 has been classified to as an Injection vulnerability or weakness.
Products Associated with CVE-2023-22522
Want to know whenever a new CVE is published for Atlassian Confluence? stack.watch will email you.
Affected Versions
Atlassian Confluence Data Center:- Version < 4.0.0 is unaffected.
- Version >= 4.0.0 is affected.
- Version >= 7.20.0 is affected.
- Version >= 8.0.0 is affected.
- Version >= 8.6.0 is affected.
- Version >= 7.19.17 is unaffected.
- Version >= 8.4.5 is unaffected.
- Version >= 8.5.4 is unaffected.
- Version >= 8.6.2 is unaffected.
- Version >= 8.7.1 is unaffected.
- Version < 4.0.0 is unaffected.
- Version >= 4.0.0 is affected.
- Version >= 7.20.0 is affected.
- Version >= 8.0.0 is affected.
- Version >= 8.6.0 is affected.
- Version >= 7.19.17 is unaffected.
- Version >= 8.4.5 is unaffected.
- Version >= 8.5.4 is unaffected.
- Version >= 8.6.2 is unaffected.
- Version >= 8.7.1 is unaffected.
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.