id: CVE-2025-2129

info:
  name: Mage AI - Insecure Default Authentication Setup
  author: zn9988,H0j3n
  severity: medium
  description: |
    A vulnerability was found in Mage AI 0.9.75. It has been classified as problematic. This affects an unknown part. The manipulation leads to insecure default initialization of resource. It is possible to initiate the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. After 7 months of repeated follow-ups by the researcher, Mage AI has decided to not accept this issue as a valid security vulnerability and has confirmed that they will not be addressing it.
  impact: |
    Attackers can exploit insecure default authentication configuration to gain unauthorized access to Mage AI installations, potentially leading to remote code execution and complete system compromise.
  remediation: |
    Implement proper authentication configuration by following the vendor's security hardening guidelines.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-2129
    - https://github.com/zn9988/publications/blob/main/2.Mage-AI%20-%20Insecure%20Default%20Authentication%20Setup%20Leading%20to%20Zero-Click%20RCE/README.md
    - https://vuldb.com/?ctiid.299049
    - https://vuldb.com/?id.299049
    - https://vuldb.com/?submit.510690
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
    cvss-score: 5.6
    cve-id: CVE-2025-2129
    cwe-id: CWE-1188
    epss-score: 0.07314
    epss-percentile: 0.91776
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"<title>Mage</title>"
  tags: cve,cve2025,mage,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/kernels"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"kernels": ['
          - '"metadata": {'
        condition: and

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