Skip to main content
Vulnerability Database/CVE-2026-111888

CVE-2026-111888: phpMyFAQ Authorization Bypass Vulnerability

CVE-2026-111888 is an authorization bypass flaw in phpMyFAQ versions 4.0.0 to 4.1.8 that lets delegated admins modify news without proper permissions. This post covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-111888 Overview

CVE-2026-111888 is an incorrect authorization vulnerability [CWE-863] in phpMyFAQ versions 4.0.0 through 4.1.8. The flaw resides in the news management API, where the PUT /admin/api/news/update endpoint checks the NEWS_DELETE permission instead of NEWS_EDIT. Delegated administrators who hold only the addnews and delnews rights can therefore modify any news item without the required editnews right. Attackers can read the update-news Cross-Site Request Forgery (CSRF) token from their own cookie and rewrite the header, body, author, link, and active flag of any news entry displayed on the public front page.

Critical Impact

Delegated admins without the editnews right can tamper with public-facing news content, enabling defacement, misinformation, and insertion of attacker-controlled links on the phpMyFAQ homepage.

Affected Products

  • phpMyFAQ 4.0.0 through 4.1.8
  • Fixed in phpMyFAQ 4.1.9
  • Deployments exposing the /admin/api/news/update endpoint to delegated administrators

Discovery Timeline

  • 2026-10-17 - CVE-2026-111888 published to the National Vulnerability Database (NVD)
  • 2026-10-18 - Last updated in NVD database

Technical Details for CVE-2026-111888

Vulnerability Analysis

The vulnerability stems from a mismatched permission check inside the phpMyFAQ admin news API. When a user issues a PUT /admin/api/news/update request, the server validates whether the caller holds the NEWS_DELETE right rather than the NEWS_EDIT right that semantically corresponds to update operations. Any delegated administrator granted both addnews (which maps to news creation) and delnews (which maps to NEWS_DELETE) satisfies the incorrect check and passes authorization.

phpMyFAQ enforces anti-CSRF tokens for state-changing admin requests. Because the attacker is an authenticated delegated admin, the browser session already contains a valid update-news CSRF token stored in the session cookie. The attacker reads this token from their own cookie, places it in the request body or header, and submits a crafted update payload. The server then applies the attacker-controlled values to any news record identified by id.

Root Cause

The root cause is a broken access control condition [CWE-863] in the news update handler. The authorization gate references the wrong permission constant, decoupling the enforced right from the sensitive action it protects. This is a classic case of enforcement drift between the privilege model and the API routing layer.

Attack Vector

Exploitation requires network access to the phpMyFAQ admin API and authenticated delegated-admin credentials holding the addnews and delnews rights. No user interaction is required. The attacker crafts a PUT /admin/api/news/update request containing a target news id and new values for header, body, authorName, link, and the active flag. The server persists the modified record, and the altered content is immediately rendered on the public front page.

As no verified public exploit code is available, review the GitHub Security Advisory GHSA-287v-6c6j-x9f7 and the VulnCheck Advisory for phpMyFAQ for technical details.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-111888

Indicators of Compromise

  • Unexpected PUT requests to /admin/api/news/update originating from accounts without the editnews right.
  • News items on the public homepage showing altered header, body, author, or outbound link values that do not match the editorial change log.
  • News entries flipped between inactive and active states without a corresponding entry in the admin audit trail.

Detection Strategies

  • Correlate web server access logs for PUT /admin/api/news/update with the acting user's role assignments and flag calls from accounts lacking editnews.
  • Compare the database faqnews table against periodic snapshots to detect out-of-band modifications of header, body, or link fields.
  • Alert on admin API traffic patterns where the same session issues addnews or delnews operations alongside update operations in short succession.

Monitoring Recommendations

  • Enable verbose logging on the phpMyFAQ admin API and forward logs to a centralized monitoring system for role-aware analysis.
  • Monitor for outbound links appearing in news items that resolve to newly registered or low-reputation domains.
  • Review session cookie usage for admin accounts and alert on CSRF token values being extracted or replayed from non-browser clients.

How to Mitigate CVE-2026-111888

Immediate Actions Required

  • Upgrade phpMyFAQ to version 4.1.9 or later, which corrects the permission check in the news update handler.
  • Audit all delegated administrator accounts and revoke the addnews or delnews rights from users who do not require them.
  • Review the current contents of the news section and roll back any unauthorized modifications identified during log review.

Patch Information

The maintainers released phpMyFAQ 4.1.9 with the corrected authorization check that validates NEWS_EDIT on PUT /admin/api/news/update. Patch details and backport guidance are documented in the GitHub Security Advisory GHSA-287v-6c6j-x9f7.

Workarounds

  • If immediate patching is not possible, restrict access to /admin/api/news/update at the web server or reverse proxy layer to trusted admin IP ranges.
  • Temporarily remove the addnews and delnews rights from delegated admin roles until the upgrade is applied.
  • Disable the public news module in phpMyFAQ configuration until a fixed version is deployed, limiting the blast radius of any unauthorized edits.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.