PoC Monitor
← All CVEs
CVE-2025-32044published 25 Apr 2025 14:43 UTCData: JSON · API

Moodle: unauthenticated rest api user data exposure

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.

First public PoC 1.2 yearsafter publication · 15 Jul 2026
Public PoCs11 on GitHub
CVSS7.5high · scored by CNA · CWE-200
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

  • >= 4.5.0, <= 4.5.2
moodle/moodle (Packagist)
  • >= 4.5.0-beta, < 4.5.3

Fixed in 4.5.3

from GitHub Security Advisory GHSA-345q-9jmq-g9q4

Mitigation

Upgrade moodle/moodle to 4.5.3 or later.

Timeline

Days relative to CVE publication
t=0+60+120+180+240+300+360+420CVE published25 Apr 2025 · t = 0First public PoC15 Jul 2026 · t+1.2y

First public PoC 1.2 years after publication; not in CISA KEV. First PoC: shinthink/CVE-2025-32044 (created 15 Jul 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
shinthink/CVE-2025-32044 15 Jul 2026 +1.2 y 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /lib/upgrade.txt

Seen in
1 repo: shinthink/CVE-2025-32044
Evidence
shinthink/CVE-2025-32044/cve_2025_32044.py:114

GET /login/token.php

Query
username=guest password=guest service=moodle_mobile_app username=USER password=PASS username= password= service=
Seen in
1 repo: shinthink/CVE-2025-32044
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

GET /webservice/rest/server.php

Query
wsfunction=core_user_get_users_by_field moodlewsrestformat=json field=id
Seen in
1 repo: shinthink/CVE-2025-32044
Evidence
shinthink/CVE-2025-32044/README.md:195 shinthink/CVE-2025-32044/cve_2025_32044.py:167

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /lib/upgrade.txt
(?i)^/lib/upgrade\.txt(?:[?#].*)?$
GET /login/index.php
(?i)^/login/index\.php(?:[?#].*)?$
GET /login/token.php
(?i)^/login/token\.php\?(?:.*&)?username=guest.*password=guest.*service=moodle_mobile_app.*username=USER.*password=PASS.*username=.*password=.*service=
GET /webservice/rest/server.php
(?i)^/webservice/rest/server\.php\?(?:.*&)?wsfunction=core_user_get_users_by_field.*moodlewsrestformat=json.*field=id

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /lib/upgrade.txt
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-32044 CVE-2025-32044 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/lib/upgrade.txt"; reference:url,poc.griffinguard.io/cve/CVE-2025-32044; classtype:web-application-attack; sid:9614448; rev:1;)
GET /login/index.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-32044 CVE-2025-32044 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/login/index.php"; reference:url,poc.griffinguard.io/cve/CVE-2025-32044; classtype:web-application-attack; sid:9748510; rev:1;)
GET /login/token.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-32044 CVE-2025-32044 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/login/token.php"; http.uri; content:"username=guest"; http.uri; content:"password=guest"; http.uri; content:"service=moodle_mobile_app"; http.uri; content:"username=USER"; http.uri; content:"password=PASS"; http.uri; content:"username="; http.uri; content:"password="; http.uri; content:"service="; reference:url,poc.griffinguard.io/cve/CVE-2025-32044; classtype:web-application-attack; sid:9883519; rev:1;)
GET /webservice/rest/server.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-32044 CVE-2025-32044 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/webservice/rest/server.php"; http.uri; content:"wsfunction=core_user_get_users_by_field"; http.uri; content:"moodlewsrestformat=json"; http.uri; content:"field=id"; reference:url,poc.griffinguard.io/cve/CVE-2025-32044; classtype:web-application-attack; sid:9095170; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /lib/upgrade.txt
title: CVE-2025-32044 exploit attempt (CVE-2025-32044)
id: gg-pocmon-cve-2025-32044-9614448
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-32044. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-32044
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/lib/upgrade.txt'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.32044
GET /login/index.php
title: CVE-2025-32044 exploit attempt (CVE-2025-32044)
id: gg-pocmon-cve-2025-32044-9748510
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-32044. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-32044
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/login/index.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.32044
GET /login/token.php
title: CVE-2025-32044 exploit attempt (CVE-2025-32044)
id: gg-pocmon-cve-2025-32044-9883519
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-32044. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-32044
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/login/token.php'
    cs-uri-query|contains|all:
      - 'username=guest'
      - 'password=guest'
      - 'service=moodle_mobile_app'
      - 'username=USER'
      - 'password=PASS'
      - 'username='
      - 'password='
      - 'service='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.32044
GET /webservice/rest/server.php
title: CVE-2025-32044 exploit attempt (CVE-2025-32044)
id: gg-pocmon-cve-2025-32044-9095170
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-32044. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-32044
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/webservice/rest/server.php'
    cs-uri-query|contains|all:
      - 'wsfunction=core_user_get_users_by_field'
      - 'moodlewsrestformat=json'
      - 'field=id'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.32044