title: 'CVE-2022-26134 Exploit Attempt: Confluence - Remote Code Execution'
id: '4aa4899c-c06d-5a8a-816c-2329a667eeb8'
status: 'experimental'
description: 'A web request matching the public nuclei template for CVE-2022-26134 (Confluence - Remote Code Execution). The attack is visible in the URL. The rule matches the path and the parameters it uses, not the template''s exact payload, so a variant still hits and so can ordinary use of the same parameters. A hit means someone sent this request: an exploit attempt or a scanner. It does not mean the attempt worked. Derived from the template by fixed rules, not written by hand; read it before you rely on it.'
references:
    - 'https://github.com/projectdiscovery/nuclei-templates/blob/f3230325748bc22e9a3319dc01a1692687170d99/http/cves/2022/CVE-2022-26134.yaml'
    - 'https://nvd.nist.gov/vuln/detail/CVE-2022-26134'
author: 'thrunt.me, derived from projectdiscovery/nuclei-templates (MIT)'
date: '2026-11-12'
modified: '2026-11-12'
tags:
    - 'attack.initial-access'
    - 'attack.t1190'
    - 'cve.2022-26134'
    - 'detection.emerging-threats'
logsource:
    category: 'webserver'
detection:
    selection_1:
        cs-method: 'GET'
        cs-uri-stem|contains: '/%24%7B%28%23a%3D%40org.apache.commons.io.IOUtils%40toString%28%40java.lang.Runtime%40getRuntime%28%29.exec%28%22whoami%22%29.getInputStream%28%29%2C%22utf-8%22%29%29.%28%40com.opensymphony.webwork.ServletActionContext%40getResponse%28%29.setHeader%28%22X-Cmd-Response%22%2C%23a%29%29%7D/'
    selection_2:
        cs-method: 'GET'
        cs-uri-stem|contains|all:
            - '/%24%7B%40java.lang.Runtime%40getRuntime%28%29.exec%28%22nslookup%20'
            - '%22%29%7D/'
    condition: '1 of selection_*'
falsepositives:
    - 'Vulnerability scanners and penetration tests that send the same template request.'
level: 'medium'
