2021-11-04 21:37:43 +00:00
id : fastjson-version
2021-11-04 12:36:06 +00:00
info :
2021-11-04 12:46:29 +00:00
name : Fastjson Version Detection
author : yuansec
severity : info
description : If the server returns an exception to the client,The fastjson version will be retrieved,Fastjson versions greater than 1.2.41,Contains the latest version(1.2.76).
2022-04-22 10:38:41 +00:00
reference :
- https://blog.csdn.net/caiqiiqi/article/details/107907489
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-10-14 11:27:55 +00:00
tags : fastjson,tech
2021-11-04 12:36:06 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-11-04 12:36:06 +00:00
- raw :
- |
POST / HTTP/1.1
Host : {{Hostname}}
Content-Type : application/json
2021-11-04 12:46:29 +00:00
{"@type" : "java.lang.AutoCloseable"
2021-11-04 12:36:06 +00:00
2021-11-05 09:54:58 +00:00
matchers :
- type : word
words :
- 'fastjson-version'
extractors :
2021-11-05 06:40:25 +00:00
- type : regex
2021-11-04 21:37:43 +00:00
part : body
2021-11-05 09:54:58 +00:00
group : 1
regex :
2023-10-14 11:27:55 +00:00
- 'fastjson-version.*([0-9]\.[0-9]+\.[0-9]+)'
2023-10-20 11:41:13 +00:00
# digest: 490a0046304402203c405f6363fa11bc2c5f82e49cb873dfbaf8e2f8b22f268418b5a8b56d2d9869022009643c9a17c919ee23ce9b74c3ecea88e253bfeeebb7dd3252f2271168c72a35:922c64590222798bb761d5b6d8e72950