{
  "id": "CVE-2025-32044",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-32044",
  "published_at": "2025-04-25T14:43:22.142Z",
  "title": "Moodle: unauthenticated rest api user data exposure",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-07-15T18:54:08Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 446.2,
    "repo": "shinthink/CVE-2025-32044",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A flaw has been identified in Moodle where, on certain sites, unauthenticated users could retrieve sensitive user data—including names, contact information, and hashed passwords—via stack traces returned by specific API calls. Sites with PHP configured with zend.exception_ignore_args = 1 in the php.ini file are not affected by this vulnerability.",
  "cwe": "CWE-200",
  "cpes": [
    "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [
    {
      "repo": "shinthink/CVE-2025-32044",
      "url": "https://github.com/shinthink/CVE-2025-32044",
      "created_at": "2026-07-15T18:54:08Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-06-09T16:07:10Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003e= 4.5.0, \u003c= 4.5.2"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "moodle/moodle",
        "ranges": [
          "\u003e= 4.5.0-beta, \u003c 4.5.3"
        ],
        "fixed_in": [
          "4.5.3"
        ],
        "ecosystem": "Packagist",
        "advisory": "GHSA-345q-9jmq-g9q4"
      }
    ],
    "upgrade": [
      "Upgrade moodle/moodle to 4.5.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/lib/upgrade.txt",
      "protocol": "https",
      "repos": [
        "shinthink/CVE-2025-32044"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "shinthink/CVE-2025-32044/cve_2025_32044.py:114"
      ]
    },
    {
      "method": "GET",
      "path_template": "/login/index.php",
      "protocol": "https",
      "repos": [
        "shinthink/CVE-2025-32044"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "shinthink/CVE-2025-32044/README.md:180",
        "shinthink/CVE-2025-32044/cve_2025_32044.py:108"
      ]
    },
    {
      "method": "GET",
      "path_template": "/login/token.php",
      "query_markers": [
        "username=guest",
        "password=guest",
        "service=moodle_mobile_app",
        "username=USER",
        "password=PASS",
        "username=",
        "password=",
        "service="
      ],
      "protocol": "https",
      "repos": [
        "shinthink/CVE-2025-32044"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "shinthink/CVE-2025-32044/README.md:183",
        "shinthink/CVE-2025-32044/README.md:190",
        "shinthink/CVE-2025-32044/cve_2025_32044.py:120",
        "shinthink/CVE-2025-32044/cve_2025_32044.py:131",
        "shinthink/CVE-2025-32044/cve_2025_32044.py:152"
      ]
    },
    {
      "method": "GET",
      "path_template": "/webservice/rest/server.php",
      "query_markers": [
        "wsfunction=core_user_get_users_by_field",
        "moodlewsrestformat=json",
        "field=id"
      ],
      "protocol": "https",
      "repos": [
        "shinthink/CVE-2025-32044"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "shinthink/CVE-2025-32044/README.md:195",
        "shinthink/CVE-2025-32044/cve_2025_32044.py:167"
      ]
    }
  ],
  "rules": []
}
