CVE-2023-5866
Phpmyfaq ≤ 3.2.1
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2023-5866 is a medium-severity Sensitive Cookie in HTTPS Session Without 'Secure' Attribute (CWE-614) vulnerability in Phpmyfaq. Its CVSS base score is 5.7 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Network Sniffing (T1040); ranked at the 27th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-2623
Vulnerability Data
Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in GitHub repository thorsten/phpmyfaq prior to 3.2.1.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V3.3.1
Likely Mitigating Controls
Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Setting the Secure attribute is a direct mechanism for protecting sensitive session data in transit over HTTPS.
Enforcing hardened configuration baselines includes requiring the Secure flag on sensitive cookies.
Secure SDLC practices explicitly require correct use of security attributes such as the cookie Secure flag.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
A.8.29's combined programme of static analysis, dynamic testing, and penetration testing directly observes the missing Secure attribute in cookies during development and acceptance testing, but the weakness is a configuration detail that can be missed in test environments that do not perfectly mirror production HTTPS settings.
Training developers on web application security covers the Secure cookie attribute as a known practice, reducing instances where the flag is omitted from unawareness, but it remains a granular implementation detail that trained developers still forget or overlook, so only a minority of instances are prevented.
A.8.20's network-level encryption and traffic controls (e.g., forcing HTTPS via firewall rules on controlled networks) can mask the vulnerability during a portion of transit, but the weakness is in the application's cookie configuration and remains exploitable when traffic leaves the controlled network or when the application itself does not enforce HTTPS — the same scope reasoning the owner applied to A.8.20 vs CWE-523.
Secure coding practices directly prevent missing the Secure attribute on sensitive cookies, though the control covers many other coding issues.
A.8.30 carries its effect through the secure design, coding and testing practices (8.25-8.29) its contract requires of the supplier, so it reduces ordinary software coding defects like a missing Secure cookie flag the way those practices do, but the contracted practices are fallible and a nameable remainder of instances still arises.
A.8.8's reach is DISCLOSURE; CWE-614 is primarily a first-party code defect (missing Secure flag on cookies set in application code), and only a minority of instances surface as vendor advisories — the observed CVEs show the class does get disclosed sometimes, but most first-party cookie-handling code never appears in any advisory, so the disclosed share is a minority.