Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure authenticated admin to attacker page
-
ExploitAuto-submit forged POST to /admin/api/update-database
-
ExecutionEndpoint runs migrations without CSRF check
-
ImpactDatabase integrity/availability impacted
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a user already authenticated to phpMyFAQ AND holding the CONFIGURATION_EDIT permission be tricked (UI:P) into submitting a cross-site request to the POST /admin/api/update-database endpoint, which performs database migrations without validating a CSRF token. Affected versions are 4.0.0 up to (but not including) 4.1.9. Limiting factors that reduce real-world risk: the victim must be a privileged administrator with an active session, active user interaction is mandatory (the attack cannot fire unattended), and upgrading to 4.1.9 or later remediates it. There is no unauthenticated server-side trigger - the attacker rides the victim's existing privileges. |
| Impact | This is a moderate-severity CSRF flaw (CWE-352) rated CVSS 4.0 7.1, and the signals are internally consistent rather than conflicting. The vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P reflects CSRF accurately: the attacker needs no privileges of their own (PR:N) but does require victim interaction (UI:P) - specifically a logged-in phpMyFAQ user holding the CONFIGURATION_EDIT permission must be lured into submitting the crafted request. Impact is scoped to integrity and availability of the database (VI:L/VA:H) with no confidentiality exposure (VC:N), which matches the description of triggering uncontrolled database migrations. No EPSS score, CISA KEV listing, POC, or SSVC decision data was provided in the input; absence of these is not evidence of low risk but means there is no signal of active or imminent exploitation. On balance this is a real but conditional issue, not a drop-everything emergency: realistic exploitation depends on social-engineering a privileged administrator, which bounds the blast radius to a targeted scenario rather than mass/automatable exploitation. The headline CVSS 7.1 is driven largely by the high availability impact; the practical priority should be weighed against the fact that only high-permission admin accounts are viable victims. |
| Exploit ScenarioDerived | An attacker crafts a malicious web page or email containing an auto-submitting form (or image/fetch) that issues a POST to /admin/api/update-database and socially engineers a currently-logged-in phpMyFAQ administrator with CONFIGURATION_EDIT rights into visiting it. Because the endpoint does not validate a CSRF token, the victim's authenticated session silently executes database migrations, potentially corrupting schema/data or rendering the FAQ database unavailable. No public exploit code was identified in the provided data, so exploitation would require the attacker to build the request from the advisory details. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 17, 2026
Cross-site request forgery in phpMyFAQ 4.0.0 through 4.1.8 lets remote attackers induce a privileged administrator to execute database migrations via the POST /admin/api/update-database endpoint, which lacks CSRF token validation. The flaw requires an authenticated victim with CONFIGURATION_EDIT permission to be lured into a crafted request, and it can degrade database integrity and availability; no public exploit identified at time of analysis. Upgrading to 4.1.9 or later remediates the issue (CVSS 4.0: 7.1).
RemediationAI
Vendor-released patch: 4.1.9 (and later); upgrade phpMyFAQ to version 4.1.9 or higher, which adds CSRF protection to the admin API. Refer to the vendor advisory at https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-6x9g-rfx8-g42q. If immediate upgrade is not possible, restrict access to the POST /admin/api/update-database endpoint at the web server or reverse proxy (for example, allow only trusted administrative IPs) and deploy a WAF rule that blocks cross-site requests lacking a valid CSRF token or Origin/Referer headers, accepting that these controls may interfere with legitimate migration operations. As defense in depth, set session cookies with SameSite=Strict to reduce CSRF exposure, though this may affect some legitimate cross-site workflows.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
phpMyFAQ is a PHP/MySQL-based FAQ and content management system; the admin API endpoint POST /admin/api/update-database performs database migrations that may alter schema or data. The vulnerability is CWE-352 (cross-site request forgery): because the endpoint does not validate a CSRF token, a malicious site can cause a victim's browser to submit a state-changing request with the victim's existing session cookies. The attacker is unauthenticated (PR:N in the CVSS 4.0 vector), but exploitation rides the victim's authenticated session and CONFIGURATION_EDIT privileges, so there is no unauthenticated server-side trigger. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N) indicates remote exploitation with user interaction, no confidentiality impact, low integrity impact, and high availability impact; the independent CVSS 3.1 assessment (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H) is consistent. The CPE entry cpe:2.3:a:thorsten:phpmyfaq:*:*:*:*:*:*:*:* identifies the product family, while the advisory constrains the vulnerable range to 4.0.0 before 4.1.9.
Know when Phpmyfaq gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Classic CSRF: attacker needs no privileges (PR:N) but requires victim interaction (UI:R); migrations harm integrity (I:L) and availability (A:H) with no data disclosure (C:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
phpMyFAQ 4.0.0 before 4.1.9 contains a cross-site request forgery vulnerability in the POST /admin/api/update-database endpoint, which executes database migrations without validating a CSRF token. Attackers can lure a logged-in user with the CONFIGURATION_EDIT permission into submitting a crafted cross-site request, triggering migrations that may impact database integrity or availability.
Technical POC Analysis
CWE-352 (CSRF), with the advisory also tagging CWE-862 (Missing Authorization).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
phpMyFAQ 4.0.0 through 4.1.8 are exposed to a cross-site request forgery weakness in the administrative database-migration endpoint that could allow an attacker to induce a configuration-privileged administrator to alter database state, threatening service integrity and availability. Exploitation requires a privileged administrator to be lured into a crafted request, and no public exploit identified at time of analysis, so immediate likelihood is constrained but operational risk is material for affected deployments. Leadership should care because a successful attack could disrupt the FAQ platform and corrupt data, requiring recovery effort and potentially affecting users who rely on the service.
Apply vendor patch (upgrade to phpMyFAQ 4.1.9 or later); until then, restrict access to /admin/api/update-database, enforce least privilege for CONFIGURATION_EDIT, and monitor admin POST requests.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Duplicate-email registration handling in phpMyFAQ 4.0.7 through 4.0.13 (and 4.0-nightly-2025-10-03 and earlier) lets una
Insufficient Session Expiration in GitHub repository thorsten/phpmyfaq prior to 3.2.2. Rated critical severity (CVSS 9.8
Authentication Bypass by Capture-replay in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity (CVSS 9.8), t
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.8. Rated critical severity (CVSS 9.8), th
Unauthenticated SQL injection in phpMyFAQ before 4.1.2 allows remote attackers to extract credentials, admin tokens, and
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.ratings.php. Rated high severity (CVS
In phpMyFaq before 2.9.9, there is CSRF in admin/ajax.config.php. Rated high severity (CVSS 8.8), this vulnerability is
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) for modifying a glossary. Rated high severity (CVSS
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php. Rated high severity (CVSS 8
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
EUVD-2026-103313
GHSA-mm6v-fm3q-x3xw
NVD
CVE.org
EPSS
VulDB
Exploit-DB