HexBrain

Browse / CVEs / CVE-2023-22897

CVE-2023-22897· securepoint / unified threat management· CWE-908

Securepoint UTM - Leaking Remote Memory Contents

mediumseverity
6.5CVSS score
4.1%likelihood of exploitation, next 30 days
91%of all CVEs are less likely
Readycheck to confirm it

An issue was discovered in SecurePoint UTM before 12.2.5.1. The firewall's endpoint at /spcgi.cgi allows information disclosure of memory contents to be achieved by an authenticated user. Essentially, uninitialized data can be retrieved via an approach in which a sessionid is obtained but not used.

Impact

An attacker can exploit this vulnerability to gain access to sensitive information stored in the device's memory.

Fix

Apply the latest security patches and updates provided by Securepoint to fix the memory leakage issue.

How to confirm it

Send: POST /spcgi.cgi
Positive when: contains "\"sessionid\":" and "\"mode\":" AND contains in header "application/json" AND status 200

Run it with nuclei: nuclei -id CVE-2023-22897 -u <target>

The full check
id: CVE-2023-22897

info:
  name: Securepoint UTM - Leaking Remote Memory Contents
  author: DhiyaneshDK
  severity: medium
  description: |
    An issue was discovered in SecurePoint UTM before 12.2.5.1. The firewall's endpoint at /spcgi.cgi allows information disclosure of memory contents to be achieved by an authenticated user. Essentially, uninitialized data can be retrieved via an approach in which a sessionid is obtained but not used.
  impact: |
    An attacker can exploit this vulnerability to gain access to sensitive information stored in the device's memory.
  remediation: |
    Apply the latest security patches and updates provided by Securepoint to fix the memory leakage issue.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2023-22897
    - https://github.com/MrTuxracer/advisories/blob/master/CVEs/CVE-2023-22897.txt
    - https://www.rcesecurity.com/2023/04/securepwn-part-2-leaking-remote-memory-contents-cve-2023-22897/
    - https://rcesecurity.com
    - https://github.com/MrTuxracer/advisories
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 6.5
    cve-id: CVE-2023-22897
    cwe-id: CWE-908
    epss-score: 0.04074
    epss-percentile: 0.90777
    cpe: cpe:2.3:o:securepoint:unified_threat_management:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: securepoint
    product: unified_threat_management
    shodan-query:
      - title:"Securepoint UTM"
      - http.title:"securepoint utm"
    fofa-query: title="securepoint utm"
    google-query: intitle:"securepoint utm"
  tags: cve,cve2023,securepoint,utm,exposure,memory,vkev,vuln

http:
  - raw:
      - |
        POST /spcgi.cgi HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"sessionid":'
          - '"mode":'
        condition: and

      - type: word
        part: header
        words:
          - "application/json"

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from