Files
nuclei-templates/http/technologies/fastjson-version.yaml

34 lines
980 B
YAML
Raw Normal View History

2021-11-05 03:07:43 +05:30
id: fastjson-version
2021-11-04 20:36:06 +08:00
info:
2021-11-04 20:46:29 +08: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).
reference:
- https://blog.csdn.net/caiqiiqi/article/details/107907489
metadata:
max-request: 1
2023-10-14 16:57:55 +05:30
tags: fastjson,tech
2021-11-04 20:36:06 +08:00
http:
2021-11-04 20:36:06 +08:00
- raw:
- |
POST / HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
2021-11-04 20:46:29 +08:00
{"@type":"java.lang.AutoCloseable"
2021-11-04 20:36:06 +08:00
2021-11-05 15:24:58 +05:30
matchers:
- type: word
words:
- 'fastjson-version'
extractors:
2021-11-05 14:40:25 +08:00
- type: regex
2021-11-05 03:07:43 +05:30
part: body
2021-11-05 15:24:58 +05:30
group: 1
regex:
2023-10-14 16:57:55 +05:30
- 'fastjson-version.*([0-9]\.[0-9]+\.[0-9]+)'
2024-12-01 13:57:55 +00:00
# digest: 490a0046304402204df02b64c801bbc5fc6857e7a37f0a56dc08cad7d6678678c8eb154404b9299d02203b24c0926be03b7f78e951d1669159321cb42bc8526839a5daafa46026d99007:922c64590222798bb761d5b6d8e72950