Description
phpMyFAQ 3.2.0 before 4.1.9 and 4.2.0-alpha before 4.2.0-beta contains an insecure direct object reference vulnerability in GET /admin/api/user/data/{userId}, which returns any user's full faquserdata row, including the live TOTP secret, without a SuperAdmin or protected-target check. Delegated administrators with user-management rights can read a SuperAdmin's TOTP secret and generate valid codes to bypass two-factor authentication.
Published: 2026-10-17
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation
Action: Patch Immediately
AI Analysis

Impact

An insecure direct object reference in phpMyFAQ allows a delegated administrator to request the API endpoint /admin/api/user/data/{userId} and receive full user data, including the live TOTP secret. The exposed secret permits the attacker to generate valid two‑factor authentication codes, thereby bypassing the second factor and enabling unauthorized access. This type of flaw is a classic IDOR weakness which can lead to privilege escalation.

Affected Systems

phpMyFAQ versions 3.2.0 up to, but not including, 4.1.9, and 4.2.0‑alpha up to, but not including, 4.2.0‑beta are affected. Users running these releases should identify whether they are using an older PHP‑MyFAQ deployment that exposes the /admin/api/user/data endpoint. No other vendors or product versions are known to be impacted.

Risk and Exploitability

The vulnerability scores a CVSS 7, indicating a high potential impact. No EPSS score is available, but the lack of exploitation data does not reduce the likelihood that attackers could use the endpoint, because only users with administrative rights are required to access it. The flaw is listed as not in CISA’s KEV catalog, yet any compromise of the TOTP secret effectively defeats all two‑factor defenses. A delegated administrator that can hit the API endpoint is the primary attack path, and no additional environmental prerequisites are mentioned beyond the existing privileges.

Generated by OpenCVE AI on October 17, 2026 at 21:18 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade phpMyFAQ to version 4.1.9 or newer and to at least 4.2.0‑beta for 4.2 releases, which contain the fix that enforces SuperAdmin checks on the user data API.
  • Immediately revoke or reduce delegated administrator rights that have user‑management privileges, ensuring only SuperAdmin accounts can access sensitive user data APIs.
  • If an urgent upgrade is not possible, block or restrict access to the /admin/api/user/data endpoint to SuperAdmin users only, or add an additional check that verifies the requesting user’s role before returning the TOTP secret.

Generated by OpenCVE AI on October 17, 2026 at 21:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description phpMyFAQ 3.2.0 before 4.1.9 and 4.2.0-alpha before 4.2.0-beta contains an insecure direct object reference vulnerability in GET /admin/api/user/data/{userId}, which returns any user's full faquserdata row, including the live TOTP secret, without a SuperAdmin or protected-target check. Delegated administrators with user-management rights can read a SuperAdmin's TOTP secret and generate valid codes to bypass two-factor authentication.
Title phpMyFAQ 3.2.0 before 4.1.9 and 4.2.0-alpha before 4.2.0-beta IDOR Leaks TOTP Secret via /admin/api/user/data
First Time appeared Phpmyfaq
Phpmyfaq phpmyfaq
Weaknesses CWE-639
CPEs cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*
Vendors & Products Phpmyfaq
Phpmyfaq phpmyfaq
References
Metrics cvssV3_1

{'score': 6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L'}

cvssV4_0

{'score': 7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Phpmyfaq Phpmyfaq
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-17T18:46:24.781Z

Reserved: 2026-10-17T12:18:07.314Z

Link: CVE-2026-111905

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-17T19:16:32.563

Modified: 2026-10-17T19:16:32.677

Link: CVE-2026-111905

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T21:30:06Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key