Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2018-12533 PoC — Red Hat JBoss RichFaces 代码注入漏洞

Source
Associated Vulnerability
Title: Red Hat JBoss RichFaces 代码注入漏洞 (CVE-2018-12533)
Description:JBoss RichFaces 3.1.0 through 3.3.4 allows unauthenticated remote attackers to inject expression language (EL) expressions and execute arbitrary Java code via a /DATA/ substring in a path with an org.richfaces.renderkit.html.Paint2DResource$ImageData object, aka RF-14310.
Description
Simplest and most reliable RichFaces Paint2DResource CVE-2018-12533 RF-14310 exploit PoC
Readme
<h4 align="center">Simplest and most reliable RichFaces Paint2DResource CVE-2018-12533 RF-14310 exploit</h4>

<p align="center">
  <a href="#installation-instructions">Installation</a> •
  <a href="#usage">Usage</a> •
  <a href="#running-paint2die">Running Paint2Die</a>
</p>

---

# Installation Instructions
```sh
git clone https://github.com/LucasKatashi/paint2die.git
cd paint2die
chmod +x paint2die.py
pip install -r requirements.txt
```

# Usage
```sh
./paint2die -h
```

This will display help for the tool. Here are all the switches it supports.
```console
Usage:
 ./paint2die [flags]                                                                
 _____     _     _   ___ ____  _      
|  _  |___|_|___| |_|_  |    \|_|___ 
|   __| .'| |   |  _|  _|  |  | | -_|
|__|  |__,|_|_|_|_| |___|____/|_|___|
                    by: Lucas Katashi
usage: paint2die.py [-h] -t TARGET [-c COMMAND] [-r REVERSE] [-s]
paint2die.py: error: the following arguments are required: -t/--target

RichFaces CVE-2018-12533 RF-14310 exploit

options:
  -h, --help            show this help message and exit
  -t, --target TARGET   URL of RichFaces application, i.e:
                        http://example.com/app/a4j/g/3_3_3.Final
  -c, --command COMMAND
                        Command to execute
  -r, --reverse REVERSE
                        IP:PORT for reverse shell
  -s, --silence         Silence output
```

## References
- https://web.archive.org/web/20211118021323/https://www.lucifaer.com/2018/12/05/RF-14310%EF%BC%88CVE-2018-12533%EF%BC%89%E5%88%86%E6%9E%90/
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →