Single Sign On For TNG Unauthenticated Password Change / Account Takeover (CVE-2026-15964)
Published: 2026-11-27 • Researcher: Instructor-Admin (GitHub); vulnerability disclosure credited through Wordfence
- Severity
- Critical
- CVE
- CVE-2026-15964
- Category
- web
- Affected product
- Single Sign On For TNG plugin for WordPress (single-sign-on-for-tng)
- Affected versions
- All versions up to and including 2.0.0 (NVD); upstream lists 1.0.0 through 2.0.0. Fixed in 2.1.0.
- Disclosed
- 2026-11-27
- Patch status
- Patched
Tags
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-15964
- https://www.cve.org/CVERecord?id=CVE-2026-15964
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1d8d393e-764c-491d-8afb-7d4f8d0c387a?source=cve
- https://plugins.trac.wordpress.org/browser/single-sign-on-for-tng/tags/2.0.0/single-sign-on-for-tng.php
- https://plugins.trac.wordpress.org/browser/single-sign-on-for-tng/tags/2.1.0/single-sign-on-for-tng.php
- https://github.com/Instructor-Admin/CVE-2026-15964-PoC
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-27 |
| Last Updated | 2026-08-02 |
| Author / Researcher | Instructor-Admin (GitHub); vulnerability disclosure credited through Wordfence |
| CVE / Advisory | CVE-2026-15964 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.8 (CVSS 3.1; CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, NVD) |
| Status | Weaponized (complete unauthenticated exploit; upstream reports a successful local lab run) |
| Tags | WordPress, plugin, authentication-bypass, unauthenticated, CWE-620, account-takeover, password-reset, SSO, TNG, PHP |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | Single Sign On For TNG plugin for WordPress (single-sign-on-for-tng) |
| Versions Affected | All versions up to and including 2.0.0 (NVD); upstream lists 1.0.0 through 2.0.0. Fixed in 2.1.0. |
| Language / Platform | PHP 7.x / 8.x on WordPress, any host OS |
| Authentication Required | No |
| Network Access Required | Yes (HTTP/HTTPS to the WordPress site) |
Summary
The Single Sign On For TNG plugin for WordPress exposes an unauthenticated AJAX action that performs a password reset for any account identified by email. The only barrier is a WordPress nonce that the plugin publishes to every front-end visitor, and anonymous visitors all receive the same value. An attacker can scrape that nonce from the home page, submit the target email and a new password, and then log in as that user. Successful exploitation of an administrator account gives full site takeover.
Vulnerability Details
Root Cause
The plugin registers its AJAX handler on both wp_ajax_ssoprocess_ajax and wp_ajax_nopriv_ssoprocess_ajax in single-sign-on-for-tng.php (v2.0.0, line 69). The nopriv registration makes the handler reachable with no session at all. The handler’s only guard is check_ajax_referer('ssoajaxnonce', 'nonce'), while the same nonce is written into the SSOPWDREQUIREMENT JavaScript object on every front-end page by wp_localize_script(). WordPress computes nonces for logged-out visitors against a shared anonymous context (uid 0 and an empty session token), so the published value is identical for every anonymous visitor and is not a secret.
Once past the nonce check, the setnewpassword operation reads an attacker-supplied email and password, resolves the account with get_user_by('email', $email), and calls WordPress core reset_password($user, $post['password']) without any ownership token, email confirmation link, or capability check. There is also no server-side password strength validation on this path.
Attack Vector
An unauthenticated remote attacker sends two ordinary HTTP requests. First, a GET to any front-end page reveals the SSOPWDREQUIREMENT object containing the nonce and the admin-ajax URL. Second, a POST to /wp-admin/admin-ajax.php carries action=ssoprocess_ajax, the scraped nonce, operation=setnewpassword, the victim’s email address, and a new password. The response {"success":true} confirms the reset. The attacker then authenticates at /wp-login.php with the new password.
Impact
Any WordPress account, including an administrator, can have its password changed by an unauthenticated attacker. The victim is logged out of all sessions by the core reset routine, and the attacker obtains a valid authenticated session. Administrator access allows plugin/theme installation or editing, which commonly leads to remote code execution and full site compromise; at minimum it exposes all site content, user data, and configuration secrets. The same handler also provides an account-existence oracle and a bonus unauthenticated option write through operation=set_tzoffset.
Environment / Lab Setup
OS: Ubuntu 22.04 LTS (or any WordPress-capable host)
Target: WordPress 6.6.1 with Single Sign On For TNG 2.0.0, PHP 8.1, MariaDB 10.11
Attacker: Linux with Python 3.10+ and the requests library
Tools: curl, python3, browser or curl cookie jar; bundled mock server for logic testingSetup Steps
| |
The bundled tests/mock_server.py is a local-only harness for checking nonce scraping and handler responses without a full WordPress install. It does not change any real password.
Proof of Concept
Step-by-Step Reproduction
Confirm the plugin and version — the plugin directory and
readme.txtstable tag are readable without authentication.Shell script1 2curl -s http://127.0.0.1:8080/wp-content/plugins/single-sign-on-for-tng/readme.txt \ | grep -i 'stable tag'Passive check and nonce scrape (GET only) — the script loads the home page and extracts the published nonce.
--checksends no POST request.Shell script1python3 CVE-2026-15964.py -u http://127.0.0.1:8080 --checkTrigger the unauthenticated password change — target the lab administrator’s email and choose a new password.
Shell script1 2python3 CVE-2026-15964.py -u http://127.0.0.1:8080 \ -e admin@lab.test -p 'Pwned!2026x'Verify the new credential — obtain a WordPress login cookie, or simply open
/wp-admin/in a browser.Shell script1 2 3curl -s -i -c /tmp/wp-cookies.txt \ -d 'log=admin@lab.test&pwd=Pwned!2026x&wp-submit=Log+In&testcookie=1' \ http://127.0.0.1:8080/wp-login.php | grep -i '^set-cookie: wordpress_logged_in'Restore the lab — reset the password from the database or rebuild the disposable instance. Do not leave the lab in the compromised state.
--enum-onlyis not a harmless account oracle in this release: it still postsoperation=setnewpassword, with an empty password for existing accounts, so it can reset the target account. Use--checkfor GET-only testing. This discrepancy with the upstream README is recorded in the Notes.
Exploit Code
See CVE-2026-15964.py for the full CLI exploit and tests/mock_server.py for the local harness. The core request sequence is:
| |
Expected Output
[+] scraped nonce : 9c0de6ab12
[+] admin-ajax : http://127.0.0.1:8080/wp-admin/admin-ajax.php
[+] SUCCESS - password changed.
user : admin@lab.test
password : Pwned!2026x
response : {'success': True}
[*] Next: log in at /wp-login.php with these credentials.The HTTP response body on a vulnerable install is {"success":true}. A patched 2.1.0 install responds with {"success":false,"message":"The time to submit the new password expired..."} or rejects the request because the per-user recovery nonce is missing.
Detection & Indicators of Compromise
- HTTP access logs showing unauthenticated
POST /wp-admin/admin-ajax.phprequests with a body containingaction=ssoprocess_ajaxandoperation=setnewpassword. - A
200response of{"success":true}to such an anonymous request; normal recovery traffic should be rare and tied to a recent reset request. GET /requests whose user agent or timing matches the subsequent POST, indicating nonce scraping; the request itself is indistinguishable from ordinary browsing.- WordPress audit events for
password_reset/after_password_reseton privileged accounts, or direct changes towp_users.user_pass, without a corresponding user-initiated reset. - An administrator login from a new IP address, ASN, or user agent immediately after a password-change event.
- WAF/proxy logs for anonymous requests carrying the plugin’s
ssoajaxnoncevalue.
SIEM / IDS Rule (example):
| |
Remediation
| Action | Detail |
|---|---|
| Patch | Upgrade to Single Sign On For TNG 2.1.0 or later. The fix adds a recovery timeout and a per-user recovery nonce stored in user meta, so setnewpassword can no longer be driven without a live recovery record. |
| Workaround | If the plugin cannot be updated, deactivate and remove it. Otherwise block anonymous POSTs to /wp-admin/admin-ajax.php where action=ssoprocess_ajax, and deny direct access to plugin files at the reverse proxy. |
| Config Hardening | Enforce strong unique administrator passwords and two-factor authentication, restrict /wp-admin/ by IP where practical, monitor password-reset and admin-login events, and rotate administrator credentials plus salts/keys if compromise is suspected. |
| Incident Response | If the handler was exposed, audit user password hashes and login history, invalidate all sessions, check for new administrator users, plugin/theme modifications, and unexpected scheduled tasks or files. |
References
Notes
Verdict. Genuine, non-malicious exploit PoC for the assigned CVE. The upstream README documents testing against a local WordPress 6.6.1 install with plugin 2.0.0, and the exploit logic matches the vulnerable source described by NVD and Wordfence. The archivist did not execute the exploit; no target was contacted.
License. The upstream repository has no LICENSE file. Its README limits use to authorized security testing and education. Treat the copied code as research material with no explicit redistribution license.
What was copied and omitted. Copied the main exploit, requirements, the local mock server, and the upstream README. Omitted CVE-2026-15964-checker.py because it is a batch scanner/checker rather than exploit code, and omitted img.png (2.48 MB, above the 2 MB media limit). .git was not copied.
Limitations and caveats. The exploit is destructive by design: it changes the victim’s password and logs the victim out. It requires a known registered email address and does not provide code execution by itself; administrator access must then be leveraged through normal WordPress functionality. The script’s --enum-only mode is described upstream as a non-destructive account oracle, but the code posts operation=setnewpassword with an empty password, which can reset an existing account’s password to empty on a vulnerable install. Use --check for GET-only detection. The local mock server only emulates responses and does not prove end-to-end exploitation. The upstream repository has a single commit dated 2026-08-02, which is also the Last Updated value.
| |