AmentoTech Doctreat Core
Doctreat Core <= 1.6.8 - Unauthenticated Privilege Escalation
The Doctreat Core plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.6.8. This is due to the doctreat_process_registration() function not properly restricting the roles that a user can register with. This makes it possible for unauthenticated attackers to register as an administrator user.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 1.6.8
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 8.1 days after publication; not in CISA KEV. First PoC: Yucaerin/CVE-2025-6254 (created 18 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Yucaerin/CVE-2025-6254 | 18 Jun 2026 +8.1 d | 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 repoGET /wp-admin/
GET /wp-admin/)
- Key headers
Cookie: {var}- Ports
- 8080, 8085
- Seen in
- 1 repo: Yucaerin/CVE-2025-6254
- Evidence
- Yucaerin/CVE-2025-6254/CVE-2025-6254_exploit.py:267 Yucaerin/CVE-2025-6254/CVE-2025-6254_exploit.py:1017
GET /wp-admin/plugins.php
- Query
plugin_status=inactive- Key headers
Accept: application/json- Content-Type
application/json- Ports
- 8080, 8085
- Seen in
- 1 repo: Yucaerin/CVE-2025-6254
- Evidence
- Yucaerin/CVE-2025-6254/CVE-2025-6254_exploit.py:393 Yucaerin/CVE-2025-6254/CVE-2025-6254_exploit.py:480 Yucaerin/CVE-2025-6254/CVE-2025-6254_exploit.py:534
GET /wp-login.php
POST /wp-admin/admin-ajax.php
- Body markers
action=doctreat_process_registrationsecurity=first_name=Hackerlast_name=Adminusername=hackeradminemail=hackerpassword=Password@1234!verify_password=Password@1234!display_name=Hacker Adminuser_type=administrator# <-- PAYLOAD=location=TestCityam_mobile_number=1234567890action=doctreat_ajax_loginredirect=redirect_id=0inapplication/x-www-form-urlencoded- Ports
- 8080, 8085
- Seen in
- 1 repo: Yucaerin/CVE-2025-6254
- Evidence
- Yucaerin/CVE-2025-6254/CVE-2025-6254_exploit.py:157 Yucaerin/CVE-2025-6254/CVE-2025-6254_exploit.py:203 Yucaerin/CVE-2025-6254/CVE-2025-6254_exploit.py:634
POST /wp-admin/plugins.php
- Body markers
action=bulk-deactivate_wpnonce=_wp_http_referer=action2=bulk-deactivateinapplication/x-www-form-urlencoded- Ports
- 8080, 8085
- Seen in
- 1 repo: Yucaerin/CVE-2025-6254
- Evidence
- Yucaerin/CVE-2025-6254/CVE-2025-6254_exploit.py:467
POST /wp-json/wp/v2/plugins/{var}
- Key headers
Accept: application/json- Body markers
"status":"inactive"inapplication/json- Ports
- 8080, 8085
- Seen in
- 1 repo: Yucaerin/CVE-2025-6254
- Evidence
- Yucaerin/CVE-2025-6254/CVE-2025-6254_exploit.py:563
POST /wp-login.php
- Body markers
log=hackeradminpwd=Password@1234!wp-submit=Log Inredirect_to=testcookie=1inapplication/x-www-form-urlencoded- Ports
- 8080, 8085
- Seen in
- 1 repo: Yucaerin/CVE-2025-6254
- Evidence
- Yucaerin/CVE-2025-6254/CVE-2025-6254_exploit.py:377 Yucaerin/CVE-2025-6254/CVE-2025-6254_exploit.py:996
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-admin/(?:[?#].*)?$
(?i)^/wp-admin/\)(?:[?#].*)?$
(?i)^/wp-admin/plugins\.php\?(?:.*&)?plugin_status=inactive
(?i)^/wp-login\.php(?:[?#].*)?$
(?i)^/wp-admin/admin-ajax\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080,8085] (msg:"GG PoC-Monitor CVE-2025-6254 AmentoTech Doctreat Core exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-admin/"; reference:url,poc.griffinguard.io/cve/CVE-2025-6254; classtype:web-application-attack; sid:9588706; rev:1;)
alert http any any -> $HOME_NET [8080,8085] (msg:"GG PoC-Monitor CVE-2025-6254 AmentoTech Doctreat Core exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-admin/)"; http.header_names; content:"Cookie"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-6254; classtype:web-application-attack; sid:9559345; rev:1;)
alert http any any -> $HOME_NET [8080,8085] (msg:"GG PoC-Monitor CVE-2025-6254 AmentoTech Doctreat Core exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-admin/plugins.php"; http.uri; content:"plugin_status=inactive"; http.header; content:"Accept: application/json"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-6254; classtype:web-application-attack; sid:9024588; rev:1;)
alert http any any -> $HOME_NET [8080,8085] (msg:"GG PoC-Monitor CVE-2025-6254 AmentoTech Doctreat Core exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-login.php"; reference:url,poc.griffinguard.io/cve/CVE-2025-6254; classtype:web-application-attack; sid:9611401; rev:1;)
alert http any any -> $HOME_NET [8080,8085] (msg:"GG PoC-Monitor CVE-2025-6254 AmentoTech Doctreat Core exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-admin/admin-ajax.php"; http.request_body; content:"action=doctreat_process_registration"; http.request_body; content:"security="; http.request_body; content:"first_name=Hacker"; http.request_body; content:"last_name=Admin"; http.request_body; content:"username=hackeradmin"; http.request_body; content:"email=hacker"; http.request_body; content:"password=Password@1234!"; http.request_body; content:"verify_password=Password@1234!"; http.request_body; content:"display_name=Hacker Admin"; http.request_body; content:"user_type=administrator"; http.request_body; content:"# <-- PAYLOAD="; http.request_body; content:"location=TestCity"; http.request_body; content:"am_mobile_number=1234567890"; http.request_body; content:"action=doctreat_ajax_login"; http.request_body; content:"redirect="; http.request_body; content:"redirect_id=0"; reference:url,poc.griffinguard.io/cve/CVE-2025-6254; classtype:web-application-attack; sid:9742200; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: AmentoTech Doctreat Core exploit attempt (CVE-2025-6254)
id: gg-pocmon-cve-2025-6254-9588706
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-6254. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-6254
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-admin/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.6254
title: AmentoTech Doctreat Core exploit attempt (CVE-2025-6254)
id: gg-pocmon-cve-2025-6254-9559345
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-6254. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-6254
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-admin/)'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.6254
title: AmentoTech Doctreat Core exploit attempt (CVE-2025-6254)
id: gg-pocmon-cve-2025-6254-9024588
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-6254. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-6254
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-admin/plugins.php'
cs-uri-query|contains|all:
- 'plugin_status=inactive'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.6254
title: AmentoTech Doctreat Core exploit attempt (CVE-2025-6254)
id: gg-pocmon-cve-2025-6254-9611401
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-6254. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-6254
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-login.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.6254
title: AmentoTech Doctreat Core exploit attempt (CVE-2025-6254)
id: gg-pocmon-cve-2025-6254-9742200
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-6254. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-6254
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-admin/admin-ajax.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.6254