Security Resilience

CVE-2023-5866

Phpmyfaq ≤ 3.2.1

Public PoC
Published
31 October 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 5.7
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
EPSS Score 0.0033 27th percentile
Risk Priority 44 floored blend · peak EPSS

CVSS 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

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

T1040 Network Sniffing Credential Access
Adversaries may passively sniff network traffic to capture information about an environment, including authentication material passed over the network.
T1539 Steal Web Session Cookie Credential Access
An adversary may steal web application or service session cookies and use them to gain access to web applications or Internet services as an authenticated user without needing credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-1759Same product: Phpmyfaq Phpmyfaq
CVE-2024-27300Same product: Phpmyfaq Phpmyfaq
CVE-2023-1755Same product: Phpmyfaq Phpmyfaq
CVE-2023-6890Same product: Phpmyfaq Phpmyfaq
CVE-2023-2428Same product: Phpmyfaq Phpmyfaq
CVE-2024-56199Same product: Phpmyfaq Phpmyfaq
CVE-2023-2427Same product: Phpmyfaq Phpmyfaq
CVE-2024-24574Same product: Phpmyfaq Phpmyfaq
CVE-2023-1761Same product: Phpmyfaq Phpmyfaq
CVE-2023-1757Same product: Phpmyfaq Phpmyfaq

Affected Assets

phpmyfaq
phpmyfaq
≤ 3.2.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • 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.

addresses: CWE-614

Forces the Secure flag on session cookies, preventing their transmission over unauthenticated HTTP channels.

addresses: CWE-614

Enforcing confidentiality on transmitted sensitive cookies requires the Secure attribute, preventing exposure on insecure channels.

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.

PR.DS-02 mostly match
blocks

Setting the Secure attribute is a direct mechanism for protecting sensitive session data in transit over HTTPS.

PR.PS-01 mostly match
blocks

Enforcing hardened configuration baselines includes requiring the Secure flag on sensitive cookies.

PR.PS-06 mostly match
blocks

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.

finds

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.

prevents

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.

blocks

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.

prevents

Secure coding practices directly prevent missing the Secure attribute on sensitive cookies, though the control covers many other coding issues.

prevents

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.

finds

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.

References