CVE-2026-24420
published 2026-01-24CVE-2026-24420: phpMyFAQ is an open source FAQ web application. Versions 4.0.16 and below allow an authenticated user without the dlattachment permission to download FAQ…
PriorityP339medium6.5CVSS 3.1
AVNACLPRLUINSUCHINAN
EPSS
0.42%
33.7th percentile
phpMyFAQ is an open source FAQ web application. Versions 4.0.16 and below allow an authenticated user without the dlattachment permission to download FAQ attachments due to a incomprehensive permissions check. The presence of a right key is improperly validated as proof of authorization in attachment.php. Additionally, the group and user permission logic contains a flawed conditional expression that may allow unauthorized access. This issue has been fixed in version
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| phpmyfaq | phpmyfaq | < 4.0.17 | 4.0.17 |
| phpmyfaq | phpmyfaq | >= 0 < 4.0.17 | 4.0.17 |
| thorsten | phpmyfaq | < 4.0.17 | 4.0.17 |
| thorsten | phpmyfaq | >= 0 < 4.0.17 | 4.0.17 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
phpMyFAQ: Attachment download allowed without dlattachment right (broken access control)
ghsa·2026-01-23
CVE-2026-24420 [MEDIUM] CWE-284 phpMyFAQ: Attachment download allowed without dlattachment right (broken access control)
phpMyFAQ: Attachment download allowed without dlattachment right (broken access control)
### Summary
A logged‑in user without the dlattachment right can download FAQ attachments. This is due to a permissive permission check in attachment.php that treats the mere presence of a right key as authorization and a flawed group/user logic expression.
### Details
In attachment.php, the access decision uses:
```($groupPermission || ($groupPermission && $userPermission)) && isset($permission['dlattachment'])```
isset() returns true even when the right value is false, and the logic simplifies to $groupPermission for some permission modes. As a result, a user without dlattachment can still access the attachment.
### PoC
Precondition: A non‑admin user exists; an attachment is associated to a FAQ rec
OSV
phpMyFAQ: Attachment download allowed without dlattachment right (broken access control)
osv·2026-01-23
CVE-2026-24420 [MEDIUM] phpMyFAQ: Attachment download allowed without dlattachment right (broken access control)
phpMyFAQ: Attachment download allowed without dlattachment right (broken access control)
### Summary
A logged‑in user without the dlattachment right can download FAQ attachments. This is due to a permissive permission check in attachment.php that treats the mere presence of a right key as authorization and a flawed group/user logic expression.
### Details
In attachment.php, the access decision uses:
```($groupPermission || ($groupPermission && $userPermission)) && isset($permission['dlattachment'])```
isset() returns true even when the right value is false, and the logic simplifies to $groupPermission for some permission modes. As a result, a user without dlattachment can still access the attachment.
### PoC
Precondition: A non‑admin user exists; an attachment is associated to a FAQ rec
No detection rules found.
No public exploits indexed.
2026-01-24
Published